From 8768487990e0d61fe01cf0377c211b811861c81e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 28 Sep 2026 02:22:19 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- ...ogram.AccountClient.GetAccountApiKeys.g.cs | 10 +-- ...gram.AccountClient.GetAccountInvoices.g.cs | 10 +-- ...deogram.AccountClient.GetAccountUsage.g.cs | 12 ++-- ...toModelClient.PostGenerateImageV2Auto.g.cs | 10 +-- ...deogram.AutoModelClient.PostToolRemix.g.cs | 10 +-- .../Ideogram.AutoSDKHttpResponse.g.cs | 4 +- ...gram.BatchClient.GetMaybeBatchResults.g.cs | 12 ++-- .../Ideogram.BatchClient.PostBatch.g.cs | 10 +-- ...Ideogram.DatasetsClient.CreateDataset.g.cs | 10 +-- .../Ideogram.DatasetsClient.GetDataset.g.cs | 12 ++-- .../Ideogram.DatasetsClient.ListDatasets.g.cs | 10 +-- ...gram.DatasetsClient.TrainDatasetModel.g.cs | 12 ++-- ...am.DatasetsClient.UploadDatasetAssets.g.cs | 36 +++++------ ...gnClient.PostLayerizeDesignIdeogramV3.g.cs | 10 +-- ...am.EditWorkflowClient.PostAdLocalizer.g.cs | 10 +-- ...gram.EditWorkflowClient.PostAdResizer.g.cs | 10 +-- ...m.EditWorkflowClient.PostAdVariations.g.cs | 10 +-- ...gram.EditWorkflowClient.PostColorways.g.cs | 10 +-- ...EditWorkflowClient.PostGhostMannequin.g.cs | 10 +-- ...ogram.EditWorkflowClient.PostLookbook.g.cs | 10 +-- ...m.EditWorkflowClient.PostMaterialSwap.g.cs | 10 +-- ...tWorkflowClient.PostModelPoseVariants.g.cs | 10 +-- ...gram.EditWorkflowClient.PostModelSwap.g.cs | 10 +-- ...gram.EditWorkflowClient.PostPackshots.g.cs | 10 +-- ...tWorkflowClient.PostPreciseMaskedEdit.g.cs | 10 +-- ...tWorkflowClient.PostSkechersStyleEdit.g.cs | 10 +-- ...EditWorkflowClient.PostSketchToRender.g.cs | 10 +-- ...ogram.EditWorkflowClient.PostSoleSwap.g.cs | 10 +-- ...ditWorkflowClient.PostSwanSLogoDesign.g.cs | 10 +-- ...itWorkflowClient.PostSwanSLogoInstall.g.cs | 10 +-- ...am.EditWorkflowClient.PostSwapProduct.g.cs | 10 +-- ...m.EditWorkflowClient.PostVirtualTryOn.g.cs | 10 +-- ...Ideogram.GenerateClient.GetGeneration.g.cs | 12 ++-- ...Ideogram.GenerateClient.PostEditImage.g.cs | 30 ++++----- ...m.GenerateClient.PostGenerateDesignV3.g.cs | 10 +-- ...m.GenerateClient.PostGenerateDesignV4.g.cs | 10 +-- ...ateClient.PostGenerateDesignV4AsBytes.g.cs | 20 +++--- ...rateClient.PostGenerateDesignV4AsText.g.cs | 10 +-- ...erateClient.PostGenerateDesignV4Async.g.cs | 12 ++-- ...gram.GenerateClient.PostGenerateImage.g.cs | 10 +-- ...GenerateClient.PostGenerateImageErnie.g.cs | 10 +-- ...ateClient.PostGenerateImageErnieAsync.g.cs | 12 ++-- ...ateClient.PostGenerateImageFlux2Klein.g.cs | 10 +-- ...ient.PostGenerateImageFlux2KleinAsync.g.cs | 12 ++-- ...lient.PostGenerateImageFlux2KleinBase.g.cs | 10 +-- ....PostGenerateImageFlux2KleinBaseAsync.g.cs | 12 ++-- ...ateClient.PostGenerateImagePImageHigh.g.cs | 10 +-- ...lient.PostGenerateImagePImageIdeogram.g.cs | 10 +-- ....PostGenerateImagePImageIdeogramAsync.g.cs | 10 +-- ...rateClient.PostGenerateImagePImageLow.g.cs | 10 +-- ...eClient.PostGenerateImagePImageMedium.g.cs | 10 +-- ...Client.PostGenerateImagePImageVeryLow.g.cs | 10 +-- ...am.GenerateClient.PostGenerateImageV3.g.cs | 10 +-- ...Client.PostGenerateImageV3Transparent.g.cs | 10 +-- ...am.GenerateClient.PostGenerateImageV4.g.cs | 10 +-- ...m.GenerateClient.PostGenerateImageV45.g.cs | 10 +-- ...erateClient.PostGenerateImageV45Async.g.cs | 12 ++-- ...nerateClient.PostGenerateImageV4Async.g.cs | 10 +-- ...lient.PostGenerateImageV4CfgDistilled.g.cs | 10 +-- ....PostGenerateImageV4CfgDistilledAsync.g.cs | 12 ++-- ...GenerateClient.PostGenerateImageV4Fp8.g.cs | 10 +-- ...nerateClient.PostGenerateImageV4Im2Im.g.cs | 30 ++++----- ...eClient.PostGenerateImageV4Im2ImAsync.g.cs | 36 +++++------ ...erateClient.PostGenerateImageV4Stable.g.cs | 10 +-- ...Client.PostGenerateImageV4Transparent.g.cs | 10 +-- ...t.PostGenerateImageV4TransparentAsync.g.cs | 10 +-- ...enerateClient.PostGenerateImageZImage.g.cs | 10 +-- ...teClient.PostGenerateImageZImageAsync.g.cs | 12 ++-- ...ram.GenerateClient.PostInpaintImageV3.g.cs | 30 ++++----- ...m.GenerateClient.PostLayerizeDesignV3.g.cs | 30 ++++----- ...gram.GenerateClient.PostLayerizeLogos.g.cs | 30 ++++----- ...ram.GenerateClient.PostLayerizeTextV3.g.cs | 30 ++++----- ...ogram.GenerateClient.PostReframeImage.g.cs | 30 ++++----- ...ram.GenerateClient.PostReframeImageV3.g.cs | 30 ++++----- ...deogram.GenerateClient.PostRemixImage.g.cs | 30 ++++----- ...ogram.GenerateClient.PostRemixImageV3.g.cs | 30 ++++----- ...ogram.GenerateClient.PostRemixImageV4.g.cs | 30 ++++----- ....GenerateClient.PostRemixImageV4Async.g.cs | 30 ++++----- ...m.GenerateClient.PostRemoveBackground.g.cs | 30 ++++----- ...ogram.GenerateClient.PostRemoveObject.g.cs | 30 ++++----- ...enerateClient.PostReplaceBackgroundV3.g.cs | 30 ++++----- ...m.GenerateClient.PostResizeImageAsync.g.cs | 10 +-- .../Ideogram.GenerateClient.PostSnapMask.g.cs | 50 +++++++-------- .../Ideogram.GenerateClient.PostTryOnV3.g.cs | 30 ++++----- ...ogram.GenerateClient.PostUpscaleImage.g.cs | 30 ++++----- ...eogram.GenerateClient.PostV1EditImage.g.cs | 10 +-- ...am.GenerateClient.PostV1EditLiteImage.g.cs | 30 ++++----- ...ibeClient.PostDescribeImageIdeogramV3.g.cs | 10 +-- ...ibeClient.PostDescribeImageIdeogramV4.g.cs | 10 +-- ...teClient.PostGenerateImageV2GptImage2.g.cs | 10 +-- ...nt.PostGenerateImageV2GptImage25Flare.g.cs | 10 +-- ...PostGenerateImageV2GptImage25Sunburst.g.cs | 10 +-- ...eClient.PostGenerateImageV2Ideogram45.g.cs | 10 +-- ...eClient.PostGenerateImageV2IdeogramV2.g.cs | 10 +-- ...Client.PostGenerateImageV2IdeogramV2A.g.cs | 10 +-- ...eClient.PostGenerateImageV2IdeogramV3.g.cs | 10 +-- ...ostGenerateImageV2IdeogramV3Character.g.cs | 10 +-- ...tGenerateImageV2IdeogramV3CustomModel.g.cs | 10 +-- ...tGenerateImageV2IdeogramV3Transparent.g.cs | 10 +-- ...eClient.PostGenerateImageV2IdeogramV4.g.cs | 10 +-- ...tGenerateImageV2IdeogramV4CustomModel.g.cs | 10 +-- ...tGenerateImageV2IdeogramV4Transparent.g.cs | 10 +-- ...Client.PostGenerateImageV2NanoBanana2.g.cs | 10 +-- ...ient.PostGenerateImageV2NanoBananaPro.g.cs | 10 +-- ...ent.PostGenerateImageV2PImageIdeogram.g.cs | 10 +-- ...erateClient.PostGenerateImageV2ZImage.g.cs | 10 +-- ...ntClient.PostInpaintImageV2IdeogramV3.g.cs | 10 +-- ...PostInpaintImageV2IdeogramV3Character.g.cs | 10 +-- ...stInpaintImageV2IdeogramV3CustomModel.g.cs | 10 +-- ...ient.PostPreciseEditImageV2Ideogram45.g.cs | 10 +-- ...eogram.ImagesReframeClient.IdeogramV3.g.cs | 10 +-- ...ogram.ImagesReframeClient.NanoBanana2.g.cs | 10 +-- ...emixClient.PostRemixImageV2IdeogramV3.g.cs | 10 +-- ...t.PostRemixImageV2IdeogramV3Character.g.cs | 10 +-- ...PostRemixImageV2IdeogramV3CustomModel.g.cs | 10 +-- ...emixClient.PostRemixImageV2IdeogramV4.g.cs | 10 +-- ...eClient.PostUpscaleImageNanoBananaPro.g.cs | 10 +-- ...aleClient.PostUpscaleImageTopazBloom2.g.cs | 10 +-- ...eClient.PostUpscaleImageTopazRedefine.g.cs | 10 +-- ...lient.PostUpscaleImageTopazStandardV2.g.cs | 10 +-- ...lient.PostUpscaleImageTopazTextRefine.g.cs | 10 +-- ...eClient.PostUpscaleImageTopazWonder35.g.cs | 10 +-- ...onsClient.GetIntegrationAssetDelivery.g.cs | 24 +++---- ...am.IntegrationsClient.GetIntegrations.g.cs | 10 +-- ...onsClient.PostIntegrationAssetsSearch.g.cs | 12 ++-- ...rnalTestingClient.PostInternalTesting.g.cs | 10 +-- ...s.ColorPaletteWithPresetNameOrMembers.g.cs | 4 +- ...onverters.DatasetCoverAssetIdentifier.g.cs | 2 +- ...onverters.GenerationResponseDataInner.g.cs | 8 +-- ...m.JsonConverters.IdeogramColorPalette.g.cs | 4 +- ...rters.PostGenerateDesignV4200Response.g.cs | 4 +- ...eogram.JsonConverters.V4PromptElement.g.cs | 4 +- ...m.ManageClient.AddOrganizationMembers.g.cs | 12 ++-- ...ManageClient.CancelOrganizationInvite.g.cs | 12 ++-- .../Ideogram.ManageClient.CreateApiKey.g.cs | 10 +-- .../Ideogram.ManageClient.CreateApiKeyV2.g.cs | 12 ++-- ...deogram.ManageClient.CreateApiPayment.g.cs | 12 ++-- ...geClient.DeactivateOrganizationApiKey.g.cs | 12 ++-- ...ogram.ManageClient.DeleteSingleApiKey.g.cs | 12 ++-- ...ManageClient.DemoteOrganizationAdmins.g.cs | 12 ++-- ...gram.ManageClient.GetApiCreditSummary.g.cs | 12 ++-- .../Ideogram.ManageClient.GetApiKeys.g.cs | 10 +-- .../Ideogram.ManageClient.GetApiKeysV2.g.cs | 12 ++-- ...ent.GetApiOrganizationUserSuggestions.g.cs | 12 ++-- .../Ideogram.ManageClient.GetApiProfiles.g.cs | 10 +-- ...ManageClient.GetApiStripeSubscription.g.cs | 12 ++-- ...ogram.ManageClient.GetApiSubscription.g.cs | 12 ++-- .../Ideogram.ManageClient.GetApiTerms.g.cs | 10 +-- ...geClient.GetOrganizationBillingPortal.g.cs | 12 ++-- ...m.ManageClient.GetOrganizationMembers.g.cs | 12 ++-- .../Ideogram.ManageClient.GetUsageInfo.g.cs | 16 ++--- .../Ideogram.ManageClient.GetUserCredits.g.cs | 14 ++-- ...m.ManageClient.GetUserSpendCommitInfo.g.cs | 12 ++-- ...ManageClient.ListOrganizationInvoices.g.cs | 12 ++-- ...ram.ManageClient.PostAddCreditsForApi.g.cs | 12 ++-- ...gram.ManageClient.PostApiSubscription.g.cs | 12 ++-- .../Ideogram.ManageClient.PostApiTerms.g.cs | 10 +-- ...anageClient.PromoteOrganizationAdmins.g.cs | 12 ++-- ...m.ManageClient.ReactivateSubscription.g.cs | 10 +-- ...anageClient.RemoveOrganizationMembers.g.cs | 12 ++-- ...ManageClient.ResendOrganizationInvite.g.cs | 12 ++-- ...lient.UpdateOrganizationApiProperties.g.cs | 12 ++-- ...ogram.ManageClient.UpdateSingleApiKey.g.cs | 12 ++-- ...sClient.GetMiniAppMarketingProjection.g.cs | 10 +-- ...iniAppsClient.GetStalePreviewMiniApps.g.cs | 12 ++-- ...deogram.MiniAppsClient.PublishMiniApp.g.cs | 10 +-- ....MiniAppsClient.PublishPreviewMiniApp.g.cs | 10 +-- ...ogram.MiniAppsClient.UnpublishMiniApp.g.cs | 12 ++-- ...iniAppsClient.UnpublishPreviewMiniApp.g.cs | 12 ++-- ...s.ColorPaletteWithPresetNameOrMembers.g.cs | 32 +++++----- ...am.Models.DatasetCoverAssetIdentifier.g.cs | 16 ++--- ...am.Models.GenerationResponseDataInner.g.cs | 64 +++++++++---------- .../Ideogram.Models.IdeogramColorPalette.g.cs | 32 +++++----- ...odels.PostGenerateDesignV4200Response.g.cs | 32 +++++----- .../Ideogram.Models.V4PromptElement.g.cs | 32 +++++----- .../Ideogram.ModelsClient.GetCustomModel.g.cs | 12 ++-- ...deogram.ModelsClient.ListCustomModels.g.cs | 10 +-- .../Ideogram.ModelsClient.TrainModelV3.g.cs | 10 +-- ...ram.ModelsClient.TrainModelV3Advanced.g.cs | 10 +-- .../Ideogram.ModelsClient.TrainModelV4.g.cs | 10 +-- ...ram.ModelsClient.TrainModelV4Advanced.g.cs | 10 +-- ...alClient.PostRemoveObjectFromV2Assets.g.cs | 10 +-- ...Ideogram.PromptClient.PostMagicPrompt.g.cs | 10 +-- ...eogram.PromptClient.PostMagicPromptV4.g.cs | 10 +-- ...ProvenanceClient.PostProvenanceVerify.g.cs | 30 ++++----- .../Ideogram.ToolClient.RemoveBackground.g.cs | 10 +-- ...Ideogram.ToolClient.ReplaceBackground.g.cs | 10 +-- ...oolClient.ReplaceBackgroundIdeogramV3.g.cs | 10 +-- .../Ideogram.ToolsClient.PostUpscale.g.cs | 10 +-- ...ostEditVideoMinimaxH3ReferenceToVideo.g.cs | 10 +-- ...deoEditClient.PostEditVideoSeedDance2.g.cs | 10 +-- ...erateVideoKlingV3StandardImageToVideo.g.cs | 10 +-- ...nerateVideoKlingV3StandardTextToVideo.g.cs | 10 +-- ...ostGenerateVideoMinimaxH3ImageToVideo.g.cs | 10 +-- ...PostGenerateVideoMinimaxH3TextToVideo.g.cs | 10 +-- ...tGenerateVideoSeedDance25ImageToVideo.g.cs | 10 +-- ...erateVideoSeedDance25ReferenceToVideo.g.cs | 10 +-- ...stGenerateVideoSeedDance25TextToVideo.g.cs | 10 +-- ...stGenerateVideoSeedDance2ImageToVideo.g.cs | 10 +-- ...nerateVideoSeedDance2ReferenceToVideo.g.cs | 10 +-- ...ostGenerateVideoSeedDance2TextToVideo.g.cs | 10 +-- ...deoGenerateClient.PostProduct360Video.g.cs | 10 +-- .../Ideogram.VisionClient.PostDescribe.g.cs | 30 ++++----- .../Ideogram.VisionClient.PostDescribeV4.g.cs | 30 ++++----- ....WebhooksClient.GetWebhookSigningJwks.g.cs | 10 +-- 205 files changed, 1392 insertions(+), 1392 deletions(-) diff --git a/src/libs/Ideogram/Generated/Ideogram.AccountClient.GetAccountApiKeys.g.cs b/src/libs/Ideogram/Generated/Ideogram.AccountClient.GetAccountApiKeys.g.cs index 5a8cfe04..79c654cb 100644 --- a/src/libs/Ideogram/Generated/Ideogram.AccountClient.GetAccountApiKeys.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.AccountClient.GetAccountApiKeys.g.cs @@ -170,7 +170,7 @@ partial void ProcessGetAccountApiKeysResponseContent( pathTemplate: "\"/v2/account/api-keys\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -204,7 +204,7 @@ partial void ProcessGetAccountApiKeysResponseContent( pathTemplate: "\"/v2/account/api-keys\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -245,7 +245,7 @@ partial void ProcessGetAccountApiKeysResponseContent( pathTemplate: "\"/v2/account/api-keys\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -293,7 +293,7 @@ partial void ProcessGetAccountApiKeysResponseContent( pathTemplate: "\"/v2/account/api-keys\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -315,7 +315,7 @@ partial void ProcessGetAccountApiKeysResponseContent( pathTemplate: "\"/v2/account/api-keys\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.AccountClient.GetAccountInvoices.g.cs b/src/libs/Ideogram/Generated/Ideogram.AccountClient.GetAccountInvoices.g.cs index b5cc30be..22185fa1 100644 --- a/src/libs/Ideogram/Generated/Ideogram.AccountClient.GetAccountInvoices.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.AccountClient.GetAccountInvoices.g.cs @@ -168,7 +168,7 @@ partial void ProcessGetAccountInvoicesResponseContent( pathTemplate: "\"/v2/account/invoices\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -202,7 +202,7 @@ partial void ProcessGetAccountInvoicesResponseContent( pathTemplate: "\"/v2/account/invoices\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -243,7 +243,7 @@ partial void ProcessGetAccountInvoicesResponseContent( pathTemplate: "\"/v2/account/invoices\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -291,7 +291,7 @@ partial void ProcessGetAccountInvoicesResponseContent( pathTemplate: "\"/v2/account/invoices\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -313,7 +313,7 @@ partial void ProcessGetAccountInvoicesResponseContent( pathTemplate: "\"/v2/account/invoices\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.AccountClient.GetAccountUsage.g.cs b/src/libs/Ideogram/Generated/Ideogram.AccountClient.GetAccountUsage.g.cs index 695f3260..148682f9 100644 --- a/src/libs/Ideogram/Generated/Ideogram.AccountClient.GetAccountUsage.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.AccountClient.GetAccountUsage.g.cs @@ -219,7 +219,7 @@ partial void ProcessGetAccountUsageResponseContent( PrepareGetAccountUsageRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - startTime: startTime!, + startTime: startTime, endTime: endTime, bucketWidth: bucketWidth, sources: sources); @@ -244,7 +244,7 @@ partial void ProcessGetAccountUsageResponseContent( pathTemplate: "\"/v2/account/usage\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -278,7 +278,7 @@ partial void ProcessGetAccountUsageResponseContent( pathTemplate: "\"/v2/account/usage\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -319,7 +319,7 @@ partial void ProcessGetAccountUsageResponseContent( pathTemplate: "\"/v2/account/usage\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -367,7 +367,7 @@ partial void ProcessGetAccountUsageResponseContent( pathTemplate: "\"/v2/account/usage\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -389,7 +389,7 @@ partial void ProcessGetAccountUsageResponseContent( pathTemplate: "\"/v2/account/usage\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.AutoModelClient.PostGenerateImageV2Auto.g.cs b/src/libs/Ideogram/Generated/Ideogram.AutoModelClient.PostGenerateImageV2Auto.g.cs index d384ecf2..cc26a292 100644 --- a/src/libs/Ideogram/Generated/Ideogram.AutoModelClient.PostGenerateImageV2Auto.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.AutoModelClient.PostGenerateImageV2Auto.g.cs @@ -353,7 +353,7 @@ partial void ProcessPostGenerateImageV2AutoResponseContent( pathTemplate: "\"/v2/image/generate/auto\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -387,7 +387,7 @@ partial void ProcessPostGenerateImageV2AutoResponseContent( pathTemplate: "\"/v2/image/generate/auto\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -428,7 +428,7 @@ partial void ProcessPostGenerateImageV2AutoResponseContent( pathTemplate: "\"/v2/image/generate/auto\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -476,7 +476,7 @@ partial void ProcessPostGenerateImageV2AutoResponseContent( pathTemplate: "\"/v2/image/generate/auto\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -498,7 +498,7 @@ partial void ProcessPostGenerateImageV2AutoResponseContent( pathTemplate: "\"/v2/image/generate/auto\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.AutoModelClient.PostToolRemix.g.cs b/src/libs/Ideogram/Generated/Ideogram.AutoModelClient.PostToolRemix.g.cs index f44cb8a1..74cb4c7d 100644 --- a/src/libs/Ideogram/Generated/Ideogram.AutoModelClient.PostToolRemix.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.AutoModelClient.PostToolRemix.g.cs @@ -461,7 +461,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/remix/auto\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -495,7 +495,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/remix/auto\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -536,7 +536,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/remix/auto\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -584,7 +584,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/remix/auto\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -606,7 +606,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/remix/auto\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.AutoSDKHttpResponse.g.cs b/src/libs/Ideogram/Generated/Ideogram.AutoSDKHttpResponse.g.cs index f86d9832..d76f50f8 100644 --- a/src/libs/Ideogram/Generated/Ideogram.AutoSDKHttpResponse.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.AutoSDKHttpResponse.g.cs @@ -164,9 +164,9 @@ public static class AutoSDKConditionalRequests { send = send ?? throw new global::System.ArgumentNullException(nameof(send)); requestOptions = CloneRequestOptions(requestOptions); - if (!string.IsNullOrWhiteSpace(entityTag)) + if (entityTag is { } nonEmptyEntityTag && !string.IsNullOrWhiteSpace(nonEmptyEntityTag)) { - requestOptions.Headers["If-None-Match"] = entityTag!; + requestOptions.Headers["If-None-Match"] = nonEmptyEntityTag; } try diff --git a/src/libs/Ideogram/Generated/Ideogram.BatchClient.GetMaybeBatchResults.g.cs b/src/libs/Ideogram/Generated/Ideogram.BatchClient.GetMaybeBatchResults.g.cs index f5d6cca6..28fc99ca 100644 --- a/src/libs/Ideogram/Generated/Ideogram.BatchClient.GetMaybeBatchResults.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.BatchClient.GetMaybeBatchResults.g.cs @@ -147,7 +147,7 @@ partial void ProcessGetMaybeBatchResultsResponseContent( PrepareGetMaybeBatchResultsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - jobId: jobId!); + jobId: jobId); return __httpRequest; } @@ -169,7 +169,7 @@ partial void ProcessGetMaybeBatchResultsResponseContent( pathTemplate: "$\"/internal/batch/get-maybe-batch-results/{jobId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -203,7 +203,7 @@ partial void ProcessGetMaybeBatchResultsResponseContent( pathTemplate: "$\"/internal/batch/get-maybe-batch-results/{jobId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -244,7 +244,7 @@ partial void ProcessGetMaybeBatchResultsResponseContent( pathTemplate: "$\"/internal/batch/get-maybe-batch-results/{jobId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -292,7 +292,7 @@ partial void ProcessGetMaybeBatchResultsResponseContent( pathTemplate: "$\"/internal/batch/get-maybe-batch-results/{jobId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -314,7 +314,7 @@ partial void ProcessGetMaybeBatchResultsResponseContent( pathTemplate: "$\"/internal/batch/get-maybe-batch-results/{jobId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.BatchClient.PostBatch.g.cs b/src/libs/Ideogram/Generated/Ideogram.BatchClient.PostBatch.g.cs index 58b2e2c4..03620020 100644 --- a/src/libs/Ideogram/Generated/Ideogram.BatchClient.PostBatch.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.BatchClient.PostBatch.g.cs @@ -182,7 +182,7 @@ partial void ProcessPostBatchResponseContent( pathTemplate: "\"/internal/batch\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -216,7 +216,7 @@ partial void ProcessPostBatchResponseContent( pathTemplate: "\"/internal/batch\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -257,7 +257,7 @@ partial void ProcessPostBatchResponseContent( pathTemplate: "\"/internal/batch\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -305,7 +305,7 @@ partial void ProcessPostBatchResponseContent( pathTemplate: "\"/internal/batch\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -327,7 +327,7 @@ partial void ProcessPostBatchResponseContent( pathTemplate: "\"/internal/batch\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.DatasetsClient.CreateDataset.g.cs b/src/libs/Ideogram/Generated/Ideogram.DatasetsClient.CreateDataset.g.cs index b5d8ad31..00a1a27f 100644 --- a/src/libs/Ideogram/Generated/Ideogram.DatasetsClient.CreateDataset.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.DatasetsClient.CreateDataset.g.cs @@ -180,7 +180,7 @@ partial void ProcessCreateDatasetResponseContent( pathTemplate: "\"/datasets\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -214,7 +214,7 @@ partial void ProcessCreateDatasetResponseContent( pathTemplate: "\"/datasets\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -255,7 +255,7 @@ partial void ProcessCreateDatasetResponseContent( pathTemplate: "\"/datasets\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -303,7 +303,7 @@ partial void ProcessCreateDatasetResponseContent( pathTemplate: "\"/datasets\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -325,7 +325,7 @@ partial void ProcessCreateDatasetResponseContent( pathTemplate: "\"/datasets\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.DatasetsClient.GetDataset.g.cs b/src/libs/Ideogram/Generated/Ideogram.DatasetsClient.GetDataset.g.cs index c01edb50..2810dc41 100644 --- a/src/libs/Ideogram/Generated/Ideogram.DatasetsClient.GetDataset.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.DatasetsClient.GetDataset.g.cs @@ -147,7 +147,7 @@ partial void ProcessGetDatasetResponseContent( PrepareGetDatasetRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - datasetId: datasetId!); + datasetId: datasetId); return __httpRequest; } @@ -169,7 +169,7 @@ partial void ProcessGetDatasetResponseContent( pathTemplate: "$\"/datasets/{datasetId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -203,7 +203,7 @@ partial void ProcessGetDatasetResponseContent( pathTemplate: "$\"/datasets/{datasetId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -244,7 +244,7 @@ partial void ProcessGetDatasetResponseContent( pathTemplate: "$\"/datasets/{datasetId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -292,7 +292,7 @@ partial void ProcessGetDatasetResponseContent( pathTemplate: "$\"/datasets/{datasetId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -314,7 +314,7 @@ partial void ProcessGetDatasetResponseContent( pathTemplate: "$\"/datasets/{datasetId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.DatasetsClient.ListDatasets.g.cs b/src/libs/Ideogram/Generated/Ideogram.DatasetsClient.ListDatasets.g.cs index 6b3bd413..ea15f97a 100644 --- a/src/libs/Ideogram/Generated/Ideogram.DatasetsClient.ListDatasets.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.DatasetsClient.ListDatasets.g.cs @@ -172,7 +172,7 @@ partial void ProcessListDatasetsResponseContent( pathTemplate: "\"/datasets\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -206,7 +206,7 @@ partial void ProcessListDatasetsResponseContent( pathTemplate: "\"/datasets\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -247,7 +247,7 @@ partial void ProcessListDatasetsResponseContent( pathTemplate: "\"/datasets\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -295,7 +295,7 @@ partial void ProcessListDatasetsResponseContent( pathTemplate: "\"/datasets\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -317,7 +317,7 @@ partial void ProcessListDatasetsResponseContent( pathTemplate: "\"/datasets\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.DatasetsClient.TrainDatasetModel.g.cs b/src/libs/Ideogram/Generated/Ideogram.DatasetsClient.TrainDatasetModel.g.cs index 47ddea8c..3e493bb9 100644 --- a/src/libs/Ideogram/Generated/Ideogram.DatasetsClient.TrainDatasetModel.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.DatasetsClient.TrainDatasetModel.g.cs @@ -166,7 +166,7 @@ partial void ProcessTrainDatasetModelResponseContent( PrepareTrainDatasetModelRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - datasetId: datasetId!, + datasetId: datasetId, request: request); return __httpRequest; @@ -189,7 +189,7 @@ partial void ProcessTrainDatasetModelResponseContent( pathTemplate: "$\"/datasets/{datasetId}/train_model\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -223,7 +223,7 @@ partial void ProcessTrainDatasetModelResponseContent( pathTemplate: "$\"/datasets/{datasetId}/train_model\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -264,7 +264,7 @@ partial void ProcessTrainDatasetModelResponseContent( pathTemplate: "$\"/datasets/{datasetId}/train_model\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -312,7 +312,7 @@ partial void ProcessTrainDatasetModelResponseContent( pathTemplate: "$\"/datasets/{datasetId}/train_model\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -334,7 +334,7 @@ partial void ProcessTrainDatasetModelResponseContent( pathTemplate: "$\"/datasets/{datasetId}/train_model\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.DatasetsClient.UploadDatasetAssets.g.cs b/src/libs/Ideogram/Generated/Ideogram.DatasetsClient.UploadDatasetAssets.g.cs index 4fd0590b..6621584b 100644 --- a/src/libs/Ideogram/Generated/Ideogram.DatasetsClient.UploadDatasetAssets.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.DatasetsClient.UploadDatasetAssets.g.cs @@ -178,7 +178,7 @@ partial void ProcessUploadDatasetAssetsResponseContent( PrepareUploadDatasetAssetsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - datasetId: datasetId!, + datasetId: datasetId, request: request); return __httpRequest; @@ -201,7 +201,7 @@ partial void ProcessUploadDatasetAssetsResponseContent( pathTemplate: "$\"/datasets/{datasetId}/upload_assets\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -235,7 +235,7 @@ partial void ProcessUploadDatasetAssetsResponseContent( pathTemplate: "$\"/datasets/{datasetId}/upload_assets\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -276,7 +276,7 @@ partial void ProcessUploadDatasetAssetsResponseContent( pathTemplate: "$\"/datasets/{datasetId}/upload_assets\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -324,7 +324,7 @@ partial void ProcessUploadDatasetAssetsResponseContent( pathTemplate: "$\"/datasets/{datasetId}/upload_assets\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -346,7 +346,7 @@ partial void ProcessUploadDatasetAssetsResponseContent( pathTemplate: "$\"/datasets/{datasetId}/upload_assets\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -729,7 +729,7 @@ __fileNameFiles is null PrepareUploadDatasetAssetsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - datasetId: datasetId!, + datasetId: datasetId, request: request); return __httpRequest; @@ -752,7 +752,7 @@ __fileNameFiles is null pathTemplate: "$\"/datasets/{datasetId}/upload_assets\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -786,7 +786,7 @@ __fileNameFiles is null pathTemplate: "$\"/datasets/{datasetId}/upload_assets\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -827,7 +827,7 @@ __fileNameFiles is null pathTemplate: "$\"/datasets/{datasetId}/upload_assets\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -875,7 +875,7 @@ __fileNameFiles is null pathTemplate: "$\"/datasets/{datasetId}/upload_assets\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -897,7 +897,7 @@ __fileNameFiles is null pathTemplate: "$\"/datasets/{datasetId}/upload_assets\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1243,7 +1243,7 @@ __fileNameFiles is null PrepareUploadDatasetAssetsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - datasetId: datasetId!, + datasetId: datasetId, request: request); return __httpRequest; @@ -1266,7 +1266,7 @@ __fileNameFiles is null pathTemplate: "$\"/datasets/{datasetId}/upload_assets\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -1300,7 +1300,7 @@ __fileNameFiles is null pathTemplate: "$\"/datasets/{datasetId}/upload_assets\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -1341,7 +1341,7 @@ __fileNameFiles is null pathTemplate: "$\"/datasets/{datasetId}/upload_assets\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1389,7 +1389,7 @@ __fileNameFiles is null pathTemplate: "$\"/datasets/{datasetId}/upload_assets\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1411,7 +1411,7 @@ __fileNameFiles is null pathTemplate: "$\"/datasets/{datasetId}/upload_assets\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.DesignClient.PostLayerizeDesignIdeogramV3.g.cs b/src/libs/Ideogram/Generated/Ideogram.DesignClient.PostLayerizeDesignIdeogramV3.g.cs index e3e25114..10fb22d7 100644 --- a/src/libs/Ideogram/Generated/Ideogram.DesignClient.PostLayerizeDesignIdeogramV3.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.DesignClient.PostLayerizeDesignIdeogramV3.g.cs @@ -345,7 +345,7 @@ request.Imagename is null pathTemplate: "\"/v2/design/layerize/ideogram-3\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -379,7 +379,7 @@ request.Imagename is null pathTemplate: "\"/v2/design/layerize/ideogram-3\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -420,7 +420,7 @@ request.Imagename is null pathTemplate: "\"/v2/design/layerize/ideogram-3\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -468,7 +468,7 @@ request.Imagename is null pathTemplate: "\"/v2/design/layerize/ideogram-3\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -490,7 +490,7 @@ request.Imagename is null pathTemplate: "\"/v2/design/layerize/ideogram-3\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostAdLocalizer.g.cs b/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostAdLocalizer.g.cs index f2a9a0c4..213c65f5 100644 --- a/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostAdLocalizer.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostAdLocalizer.g.cs @@ -347,7 +347,7 @@ request.Imagename is null pathTemplate: "\"/v2/tool/ad-localizer\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -381,7 +381,7 @@ request.Imagename is null pathTemplate: "\"/v2/tool/ad-localizer\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -422,7 +422,7 @@ request.Imagename is null pathTemplate: "\"/v2/tool/ad-localizer\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -470,7 +470,7 @@ request.Imagename is null pathTemplate: "\"/v2/tool/ad-localizer\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -492,7 +492,7 @@ request.Imagename is null pathTemplate: "\"/v2/tool/ad-localizer\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostAdResizer.g.cs b/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostAdResizer.g.cs index dfb8feb1..e1a74c33 100644 --- a/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostAdResizer.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostAdResizer.g.cs @@ -363,7 +363,7 @@ request.Imagename is null pathTemplate: "\"/v2/tool/ad-resizer\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -397,7 +397,7 @@ request.Imagename is null pathTemplate: "\"/v2/tool/ad-resizer\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -438,7 +438,7 @@ request.Imagename is null pathTemplate: "\"/v2/tool/ad-resizer\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -486,7 +486,7 @@ request.Imagename is null pathTemplate: "\"/v2/tool/ad-resizer\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -508,7 +508,7 @@ request.Imagename is null pathTemplate: "\"/v2/tool/ad-resizer\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostAdVariations.g.cs b/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostAdVariations.g.cs index 9d05ecea..c145ae78 100644 --- a/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostAdVariations.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostAdVariations.g.cs @@ -303,7 +303,7 @@ request.Imagename is null pathTemplate: "\"/v2/tool/ad-variations\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -337,7 +337,7 @@ request.Imagename is null pathTemplate: "\"/v2/tool/ad-variations\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -378,7 +378,7 @@ request.Imagename is null pathTemplate: "\"/v2/tool/ad-variations\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -426,7 +426,7 @@ request.Imagename is null pathTemplate: "\"/v2/tool/ad-variations\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -448,7 +448,7 @@ request.Imagename is null pathTemplate: "\"/v2/tool/ad-variations\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostColorways.g.cs b/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostColorways.g.cs index 0974ca78..a09644aa 100644 --- a/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostColorways.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostColorways.g.cs @@ -345,7 +345,7 @@ request.Imagename is null pathTemplate: "\"/v2/tool/colorways\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -379,7 +379,7 @@ request.Imagename is null pathTemplate: "\"/v2/tool/colorways\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -420,7 +420,7 @@ request.Imagename is null pathTemplate: "\"/v2/tool/colorways\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -468,7 +468,7 @@ request.Imagename is null pathTemplate: "\"/v2/tool/colorways\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -490,7 +490,7 @@ request.Imagename is null pathTemplate: "\"/v2/tool/colorways\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostGhostMannequin.g.cs b/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostGhostMannequin.g.cs index e06615a8..67665ddc 100644 --- a/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostGhostMannequin.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostGhostMannequin.g.cs @@ -611,7 +611,7 @@ request.BottomImagename is null pathTemplate: "\"/v2/tool/ghost-mannequin\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -645,7 +645,7 @@ request.BottomImagename is null pathTemplate: "\"/v2/tool/ghost-mannequin\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -686,7 +686,7 @@ request.BottomImagename is null pathTemplate: "\"/v2/tool/ghost-mannequin\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -734,7 +734,7 @@ request.BottomImagename is null pathTemplate: "\"/v2/tool/ghost-mannequin\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -756,7 +756,7 @@ request.BottomImagename is null pathTemplate: "\"/v2/tool/ghost-mannequin\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostLookbook.g.cs b/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostLookbook.g.cs index 9a5d0f36..907ea9b0 100644 --- a/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostLookbook.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostLookbook.g.cs @@ -190,7 +190,7 @@ partial void ProcessPostLookbookResponseContent( pathTemplate: "\"/v2/workflow/lookbook\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -224,7 +224,7 @@ partial void ProcessPostLookbookResponseContent( pathTemplate: "\"/v2/workflow/lookbook\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -265,7 +265,7 @@ partial void ProcessPostLookbookResponseContent( pathTemplate: "\"/v2/workflow/lookbook\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -313,7 +313,7 @@ partial void ProcessPostLookbookResponseContent( pathTemplate: "\"/v2/workflow/lookbook\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -335,7 +335,7 @@ partial void ProcessPostLookbookResponseContent( pathTemplate: "\"/v2/workflow/lookbook\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostMaterialSwap.g.cs b/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostMaterialSwap.g.cs index 405af288..d6c252e6 100644 --- a/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostMaterialSwap.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostMaterialSwap.g.cs @@ -369,7 +369,7 @@ request.Imagename is null pathTemplate: "\"/v2/tool/material-swap\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -403,7 +403,7 @@ request.Imagename is null pathTemplate: "\"/v2/tool/material-swap\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -444,7 +444,7 @@ request.Imagename is null pathTemplate: "\"/v2/tool/material-swap\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -492,7 +492,7 @@ request.Imagename is null pathTemplate: "\"/v2/tool/material-swap\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -514,7 +514,7 @@ request.Imagename is null pathTemplate: "\"/v2/tool/material-swap\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostModelPoseVariants.g.cs b/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostModelPoseVariants.g.cs index 7acf0ea6..58a5a4bb 100644 --- a/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostModelPoseVariants.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostModelPoseVariants.g.cs @@ -309,7 +309,7 @@ request.SourceImagename is null pathTemplate: "\"/v2/tool/model-pose-variants\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -343,7 +343,7 @@ request.SourceImagename is null pathTemplate: "\"/v2/tool/model-pose-variants\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -384,7 +384,7 @@ request.SourceImagename is null pathTemplate: "\"/v2/tool/model-pose-variants\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -432,7 +432,7 @@ request.SourceImagename is null pathTemplate: "\"/v2/tool/model-pose-variants\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -454,7 +454,7 @@ request.SourceImagename is null pathTemplate: "\"/v2/tool/model-pose-variants\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostModelSwap.g.cs b/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostModelSwap.g.cs index 92d9d5c9..a04c41cc 100644 --- a/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostModelSwap.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostModelSwap.g.cs @@ -305,7 +305,7 @@ request.SourceImagename is null pathTemplate: "\"/v2/tool/model-swap\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -339,7 +339,7 @@ request.SourceImagename is null pathTemplate: "\"/v2/tool/model-swap\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -380,7 +380,7 @@ request.SourceImagename is null pathTemplate: "\"/v2/tool/model-swap\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -428,7 +428,7 @@ request.SourceImagename is null pathTemplate: "\"/v2/tool/model-swap\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -450,7 +450,7 @@ request.SourceImagename is null pathTemplate: "\"/v2/tool/model-swap\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostPackshots.g.cs b/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostPackshots.g.cs index 290ffe8e..f83a6868 100644 --- a/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostPackshots.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostPackshots.g.cs @@ -192,7 +192,7 @@ partial void ProcessPostPackshotsResponseContent( pathTemplate: "\"/v2/tool/packshots\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -226,7 +226,7 @@ partial void ProcessPostPackshotsResponseContent( pathTemplate: "\"/v2/tool/packshots\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -267,7 +267,7 @@ partial void ProcessPostPackshotsResponseContent( pathTemplate: "\"/v2/tool/packshots\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -315,7 +315,7 @@ partial void ProcessPostPackshotsResponseContent( pathTemplate: "\"/v2/tool/packshots\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -337,7 +337,7 @@ partial void ProcessPostPackshotsResponseContent( pathTemplate: "\"/v2/tool/packshots\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostPreciseMaskedEdit.g.cs b/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostPreciseMaskedEdit.g.cs index 68dce3b3..fe61d36c 100644 --- a/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostPreciseMaskedEdit.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostPreciseMaskedEdit.g.cs @@ -327,7 +327,7 @@ request.SourceImagename is null pathTemplate: "\"/v2/workflow/precise-masked-edit\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -361,7 +361,7 @@ request.SourceImagename is null pathTemplate: "\"/v2/workflow/precise-masked-edit\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -402,7 +402,7 @@ request.SourceImagename is null pathTemplate: "\"/v2/workflow/precise-masked-edit\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -450,7 +450,7 @@ request.SourceImagename is null pathTemplate: "\"/v2/workflow/precise-masked-edit\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -472,7 +472,7 @@ request.SourceImagename is null pathTemplate: "\"/v2/workflow/precise-masked-edit\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostSkechersStyleEdit.g.cs b/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostSkechersStyleEdit.g.cs index a8e4158b..16f456cf 100644 --- a/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostSkechersStyleEdit.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostSkechersStyleEdit.g.cs @@ -190,7 +190,7 @@ partial void ProcessPostSkechersStyleEditResponseContent( pathTemplate: "\"/v2/tool/skechers-style-editor\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -224,7 +224,7 @@ partial void ProcessPostSkechersStyleEditResponseContent( pathTemplate: "\"/v2/tool/skechers-style-editor\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -265,7 +265,7 @@ partial void ProcessPostSkechersStyleEditResponseContent( pathTemplate: "\"/v2/tool/skechers-style-editor\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -313,7 +313,7 @@ partial void ProcessPostSkechersStyleEditResponseContent( pathTemplate: "\"/v2/tool/skechers-style-editor\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -335,7 +335,7 @@ partial void ProcessPostSkechersStyleEditResponseContent( pathTemplate: "\"/v2/tool/skechers-style-editor\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostSketchToRender.g.cs b/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostSketchToRender.g.cs index 13586b12..014e21df 100644 --- a/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostSketchToRender.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostSketchToRender.g.cs @@ -297,7 +297,7 @@ request.SketchImagename is null pathTemplate: "\"/v2/tool/sketch-to-render\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -331,7 +331,7 @@ request.SketchImagename is null pathTemplate: "\"/v2/tool/sketch-to-render\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -372,7 +372,7 @@ request.SketchImagename is null pathTemplate: "\"/v2/tool/sketch-to-render\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -420,7 +420,7 @@ request.SketchImagename is null pathTemplate: "\"/v2/tool/sketch-to-render\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -442,7 +442,7 @@ request.SketchImagename is null pathTemplate: "\"/v2/tool/sketch-to-render\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostSoleSwap.g.cs b/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostSoleSwap.g.cs index d2a9de38..7317b99f 100644 --- a/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostSoleSwap.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostSoleSwap.g.cs @@ -188,7 +188,7 @@ partial void ProcessPostSoleSwapResponseContent( pathTemplate: "\"/v2/tool/sole-swap\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -222,7 +222,7 @@ partial void ProcessPostSoleSwapResponseContent( pathTemplate: "\"/v2/tool/sole-swap\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -263,7 +263,7 @@ partial void ProcessPostSoleSwapResponseContent( pathTemplate: "\"/v2/tool/sole-swap\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -311,7 +311,7 @@ partial void ProcessPostSoleSwapResponseContent( pathTemplate: "\"/v2/tool/sole-swap\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -333,7 +333,7 @@ partial void ProcessPostSoleSwapResponseContent( pathTemplate: "\"/v2/tool/sole-swap\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostSwanSLogoDesign.g.cs b/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostSwanSLogoDesign.g.cs index f4604570..7c4deb3f 100644 --- a/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostSwanSLogoDesign.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostSwanSLogoDesign.g.cs @@ -180,7 +180,7 @@ partial void ProcessPostSwanSLogoDesignResponseContent( pathTemplate: "\"/v2/tool/swan-s-logo-design\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -214,7 +214,7 @@ partial void ProcessPostSwanSLogoDesignResponseContent( pathTemplate: "\"/v2/tool/swan-s-logo-design\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -255,7 +255,7 @@ partial void ProcessPostSwanSLogoDesignResponseContent( pathTemplate: "\"/v2/tool/swan-s-logo-design\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -303,7 +303,7 @@ partial void ProcessPostSwanSLogoDesignResponseContent( pathTemplate: "\"/v2/tool/swan-s-logo-design\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -325,7 +325,7 @@ partial void ProcessPostSwanSLogoDesignResponseContent( pathTemplate: "\"/v2/tool/swan-s-logo-design\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostSwanSLogoInstall.g.cs b/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostSwanSLogoInstall.g.cs index 7d8c0245..d32ac4b8 100644 --- a/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostSwanSLogoInstall.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostSwanSLogoInstall.g.cs @@ -180,7 +180,7 @@ partial void ProcessPostSwanSLogoInstallResponseContent( pathTemplate: "\"/v2/tool/swan-s-logo-install\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -214,7 +214,7 @@ partial void ProcessPostSwanSLogoInstallResponseContent( pathTemplate: "\"/v2/tool/swan-s-logo-install\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -255,7 +255,7 @@ partial void ProcessPostSwanSLogoInstallResponseContent( pathTemplate: "\"/v2/tool/swan-s-logo-install\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -303,7 +303,7 @@ partial void ProcessPostSwanSLogoInstallResponseContent( pathTemplate: "\"/v2/tool/swan-s-logo-install\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -325,7 +325,7 @@ partial void ProcessPostSwanSLogoInstallResponseContent( pathTemplate: "\"/v2/tool/swan-s-logo-install\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostSwapProduct.g.cs b/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostSwapProduct.g.cs index f861e498..8f01d3a5 100644 --- a/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostSwapProduct.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostSwapProduct.g.cs @@ -182,7 +182,7 @@ partial void ProcessPostSwapProductResponseContent( pathTemplate: "\"/v2/tool/swap-product\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -216,7 +216,7 @@ partial void ProcessPostSwapProductResponseContent( pathTemplate: "\"/v2/tool/swap-product\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -257,7 +257,7 @@ partial void ProcessPostSwapProductResponseContent( pathTemplate: "\"/v2/tool/swap-product\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -305,7 +305,7 @@ partial void ProcessPostSwapProductResponseContent( pathTemplate: "\"/v2/tool/swap-product\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -327,7 +327,7 @@ partial void ProcessPostSwapProductResponseContent( pathTemplate: "\"/v2/tool/swap-product\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostVirtualTryOn.g.cs b/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostVirtualTryOn.g.cs index ca2104f7..a494f01e 100644 --- a/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostVirtualTryOn.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.EditWorkflowClient.PostVirtualTryOn.g.cs @@ -309,7 +309,7 @@ request.PersonImagename is null pathTemplate: "\"/v2/workflow/virtual-try-on\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -343,7 +343,7 @@ request.PersonImagename is null pathTemplate: "\"/v2/workflow/virtual-try-on\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -384,7 +384,7 @@ request.PersonImagename is null pathTemplate: "\"/v2/workflow/virtual-try-on\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -432,7 +432,7 @@ request.PersonImagename is null pathTemplate: "\"/v2/workflow/virtual-try-on\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -454,7 +454,7 @@ request.PersonImagename is null pathTemplate: "\"/v2/workflow/virtual-try-on\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.GetGeneration.g.cs b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.GetGeneration.g.cs index 9dbfaba5..9e55a8b0 100644 --- a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.GetGeneration.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.GetGeneration.g.cs @@ -147,7 +147,7 @@ partial void ProcessGetGenerationResponseContent( PrepareGetGenerationRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - generationId: generationId!); + generationId: generationId); return __httpRequest; } @@ -169,7 +169,7 @@ partial void ProcessGetGenerationResponseContent( pathTemplate: "$\"/v1/generations/{generationId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -203,7 +203,7 @@ partial void ProcessGetGenerationResponseContent( pathTemplate: "$\"/v1/generations/{generationId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -244,7 +244,7 @@ partial void ProcessGetGenerationResponseContent( pathTemplate: "$\"/v1/generations/{generationId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -292,7 +292,7 @@ partial void ProcessGetGenerationResponseContent( pathTemplate: "$\"/v1/generations/{generationId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -314,7 +314,7 @@ partial void ProcessGetGenerationResponseContent( pathTemplate: "$\"/v1/generations/{generationId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostEditImage.g.cs b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostEditImage.g.cs index 24229486..dfb8bc55 100644 --- a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostEditImage.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostEditImage.g.cs @@ -309,7 +309,7 @@ request.Maskname is null pathTemplate: "\"/edit\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -343,7 +343,7 @@ request.Maskname is null pathTemplate: "\"/edit\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -384,7 +384,7 @@ request.Maskname is null pathTemplate: "\"/edit\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -432,7 +432,7 @@ request.Maskname is null pathTemplate: "\"/edit\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -454,7 +454,7 @@ request.Maskname is null pathTemplate: "\"/edit\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1086,7 +1086,7 @@ request.Maskname is null pathTemplate: "\"/edit\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -1120,7 +1120,7 @@ request.Maskname is null pathTemplate: "\"/edit\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -1161,7 +1161,7 @@ request.Maskname is null pathTemplate: "\"/edit\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1209,7 +1209,7 @@ request.Maskname is null pathTemplate: "\"/edit\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1231,7 +1231,7 @@ request.Maskname is null pathTemplate: "\"/edit\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1769,7 +1769,7 @@ request.Maskname is null pathTemplate: "\"/edit\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -1803,7 +1803,7 @@ request.Maskname is null pathTemplate: "\"/edit\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -1844,7 +1844,7 @@ request.Maskname is null pathTemplate: "\"/edit\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1892,7 +1892,7 @@ request.Maskname is null pathTemplate: "\"/edit\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1914,7 +1914,7 @@ request.Maskname is null pathTemplate: "\"/edit\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateDesignV3.g.cs b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateDesignV3.g.cs index 768aa746..2136fe33 100644 --- a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateDesignV3.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateDesignV3.g.cs @@ -527,7 +527,7 @@ request.FontFileSmallname is null pathTemplate: "\"/v1/ideogram-v3/generate-design\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -561,7 +561,7 @@ request.FontFileSmallname is null pathTemplate: "\"/v1/ideogram-v3/generate-design\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -602,7 +602,7 @@ request.FontFileSmallname is null pathTemplate: "\"/v1/ideogram-v3/generate-design\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -650,7 +650,7 @@ request.FontFileSmallname is null pathTemplate: "\"/v1/ideogram-v3/generate-design\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -672,7 +672,7 @@ request.FontFileSmallname is null pathTemplate: "\"/v1/ideogram-v3/generate-design\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateDesignV4.g.cs b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateDesignV4.g.cs index 53c3aacb..537d5c29 100644 --- a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateDesignV4.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateDesignV4.g.cs @@ -281,7 +281,7 @@ partial void ProcessPostGenerateDesignV4ResponseContent( pathTemplate: "\"/v1/ideogram-v4/generate-design\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -315,7 +315,7 @@ partial void ProcessPostGenerateDesignV4ResponseContent( pathTemplate: "\"/v1/ideogram-v4/generate-design\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -356,7 +356,7 @@ partial void ProcessPostGenerateDesignV4ResponseContent( pathTemplate: "\"/v1/ideogram-v4/generate-design\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -404,7 +404,7 @@ partial void ProcessPostGenerateDesignV4ResponseContent( pathTemplate: "\"/v1/ideogram-v4/generate-design\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -426,7 +426,7 @@ partial void ProcessPostGenerateDesignV4ResponseContent( pathTemplate: "\"/v1/ideogram-v4/generate-design\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateDesignV4AsBytes.g.cs b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateDesignV4AsBytes.g.cs index 90e133f2..c126da31 100644 --- a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateDesignV4AsBytes.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateDesignV4AsBytes.g.cs @@ -281,7 +281,7 @@ partial void ProcessPostGenerateDesignV4AsBytesResponseContent( pathTemplate: "\"/v1/ideogram-v4/generate-design\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -315,7 +315,7 @@ partial void ProcessPostGenerateDesignV4AsBytesResponseContent( pathTemplate: "\"/v1/ideogram-v4/generate-design\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -356,7 +356,7 @@ partial void ProcessPostGenerateDesignV4AsBytesResponseContent( pathTemplate: "\"/v1/ideogram-v4/generate-design\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -404,7 +404,7 @@ partial void ProcessPostGenerateDesignV4AsBytesResponseContent( pathTemplate: "\"/v1/ideogram-v4/generate-design\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -426,7 +426,7 @@ partial void ProcessPostGenerateDesignV4AsBytesResponseContent( pathTemplate: "\"/v1/ideogram-v4/generate-design\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -837,7 +837,7 @@ partial void ProcessPostGenerateDesignV4AsBytesResponseContent( pathTemplate: "\"/v1/ideogram-v4/generate-design\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -871,7 +871,7 @@ partial void ProcessPostGenerateDesignV4AsBytesResponseContent( pathTemplate: "\"/v1/ideogram-v4/generate-design\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -912,7 +912,7 @@ partial void ProcessPostGenerateDesignV4AsBytesResponseContent( pathTemplate: "\"/v1/ideogram-v4/generate-design\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -960,7 +960,7 @@ partial void ProcessPostGenerateDesignV4AsBytesResponseContent( pathTemplate: "\"/v1/ideogram-v4/generate-design\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -982,7 +982,7 @@ partial void ProcessPostGenerateDesignV4AsBytesResponseContent( pathTemplate: "\"/v1/ideogram-v4/generate-design\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateDesignV4AsText.g.cs b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateDesignV4AsText.g.cs index f365fa64..40645023 100644 --- a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateDesignV4AsText.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateDesignV4AsText.g.cs @@ -281,7 +281,7 @@ partial void ProcessPostGenerateDesignV4AsTextResponseContent( pathTemplate: "\"/v1/ideogram-v4/generate-design\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -315,7 +315,7 @@ partial void ProcessPostGenerateDesignV4AsTextResponseContent( pathTemplate: "\"/v1/ideogram-v4/generate-design\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -356,7 +356,7 @@ partial void ProcessPostGenerateDesignV4AsTextResponseContent( pathTemplate: "\"/v1/ideogram-v4/generate-design\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -404,7 +404,7 @@ partial void ProcessPostGenerateDesignV4AsTextResponseContent( pathTemplate: "\"/v1/ideogram-v4/generate-design\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -426,7 +426,7 @@ partial void ProcessPostGenerateDesignV4AsTextResponseContent( pathTemplate: "\"/v1/ideogram-v4/generate-design\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateDesignV4Async.g.cs b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateDesignV4Async.g.cs index 620e0c3b..f680aef6 100644 --- a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateDesignV4Async.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateDesignV4Async.g.cs @@ -286,7 +286,7 @@ partial void ProcessPostGenerateDesignV4AsyncResponseContent( PreparePostGenerateDesignV4AsyncRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - webhookUrl: webhookUrl!, + webhookUrl: webhookUrl, request: request); return __httpRequest; @@ -309,7 +309,7 @@ partial void ProcessPostGenerateDesignV4AsyncResponseContent( pathTemplate: "\"/v1/ideogram-v4/async/generate-design\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -343,7 +343,7 @@ partial void ProcessPostGenerateDesignV4AsyncResponseContent( pathTemplate: "\"/v1/ideogram-v4/async/generate-design\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -384,7 +384,7 @@ partial void ProcessPostGenerateDesignV4AsyncResponseContent( pathTemplate: "\"/v1/ideogram-v4/async/generate-design\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -432,7 +432,7 @@ partial void ProcessPostGenerateDesignV4AsyncResponseContent( pathTemplate: "\"/v1/ideogram-v4/async/generate-design\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -454,7 +454,7 @@ partial void ProcessPostGenerateDesignV4AsyncResponseContent( pathTemplate: "\"/v1/ideogram-v4/async/generate-design\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImage.g.cs b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImage.g.cs index d690c92d..791a74dc 100644 --- a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImage.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImage.g.cs @@ -182,7 +182,7 @@ partial void ProcessPostGenerateImageResponseContent( pathTemplate: "\"/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -216,7 +216,7 @@ partial void ProcessPostGenerateImageResponseContent( pathTemplate: "\"/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -257,7 +257,7 @@ partial void ProcessPostGenerateImageResponseContent( pathTemplate: "\"/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -305,7 +305,7 @@ partial void ProcessPostGenerateImageResponseContent( pathTemplate: "\"/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -327,7 +327,7 @@ partial void ProcessPostGenerateImageResponseContent( pathTemplate: "\"/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageErnie.g.cs b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageErnie.g.cs index 99fd7806..b49c79f1 100644 --- a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageErnie.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageErnie.g.cs @@ -247,7 +247,7 @@ partial void ProcessPostGenerateImageErnieResponseContent( pathTemplate: "\"/v1/ernie/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -281,7 +281,7 @@ partial void ProcessPostGenerateImageErnieResponseContent( pathTemplate: "\"/v1/ernie/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -322,7 +322,7 @@ partial void ProcessPostGenerateImageErnieResponseContent( pathTemplate: "\"/v1/ernie/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -370,7 +370,7 @@ partial void ProcessPostGenerateImageErnieResponseContent( pathTemplate: "\"/v1/ernie/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -392,7 +392,7 @@ partial void ProcessPostGenerateImageErnieResponseContent( pathTemplate: "\"/v1/ernie/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageErnieAsync.g.cs b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageErnieAsync.g.cs index 8b5971bc..70388c69 100644 --- a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageErnieAsync.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageErnieAsync.g.cs @@ -258,7 +258,7 @@ partial void ProcessPostGenerateImageErnieAsyncResponseContent( PreparePostGenerateImageErnieAsyncRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - webhookUrl: webhookUrl!, + webhookUrl: webhookUrl, request: request); return __httpRequest; @@ -281,7 +281,7 @@ partial void ProcessPostGenerateImageErnieAsyncResponseContent( pathTemplate: "\"/v1/ernie/async/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -315,7 +315,7 @@ partial void ProcessPostGenerateImageErnieAsyncResponseContent( pathTemplate: "\"/v1/ernie/async/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -356,7 +356,7 @@ partial void ProcessPostGenerateImageErnieAsyncResponseContent( pathTemplate: "\"/v1/ernie/async/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -404,7 +404,7 @@ partial void ProcessPostGenerateImageErnieAsyncResponseContent( pathTemplate: "\"/v1/ernie/async/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -426,7 +426,7 @@ partial void ProcessPostGenerateImageErnieAsyncResponseContent( pathTemplate: "\"/v1/ernie/async/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageFlux2Klein.g.cs b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageFlux2Klein.g.cs index 0f4799f3..d55c496d 100644 --- a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageFlux2Klein.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageFlux2Klein.g.cs @@ -247,7 +247,7 @@ partial void ProcessPostGenerateImageFlux2KleinResponseContent( pathTemplate: "\"/v1/flux-2-klein/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -281,7 +281,7 @@ partial void ProcessPostGenerateImageFlux2KleinResponseContent( pathTemplate: "\"/v1/flux-2-klein/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -322,7 +322,7 @@ partial void ProcessPostGenerateImageFlux2KleinResponseContent( pathTemplate: "\"/v1/flux-2-klein/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -370,7 +370,7 @@ partial void ProcessPostGenerateImageFlux2KleinResponseContent( pathTemplate: "\"/v1/flux-2-klein/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -392,7 +392,7 @@ partial void ProcessPostGenerateImageFlux2KleinResponseContent( pathTemplate: "\"/v1/flux-2-klein/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageFlux2KleinAsync.g.cs b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageFlux2KleinAsync.g.cs index 23accaea..74369630 100644 --- a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageFlux2KleinAsync.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageFlux2KleinAsync.g.cs @@ -256,7 +256,7 @@ partial void ProcessPostGenerateImageFlux2KleinAsyncResponseContent( PreparePostGenerateImageFlux2KleinAsyncRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - webhookUrl: webhookUrl!, + webhookUrl: webhookUrl, request: request); return __httpRequest; @@ -279,7 +279,7 @@ partial void ProcessPostGenerateImageFlux2KleinAsyncResponseContent( pathTemplate: "\"/v1/flux-2-klein/async/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -313,7 +313,7 @@ partial void ProcessPostGenerateImageFlux2KleinAsyncResponseContent( pathTemplate: "\"/v1/flux-2-klein/async/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -354,7 +354,7 @@ partial void ProcessPostGenerateImageFlux2KleinAsyncResponseContent( pathTemplate: "\"/v1/flux-2-klein/async/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -402,7 +402,7 @@ partial void ProcessPostGenerateImageFlux2KleinAsyncResponseContent( pathTemplate: "\"/v1/flux-2-klein/async/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -424,7 +424,7 @@ partial void ProcessPostGenerateImageFlux2KleinAsyncResponseContent( pathTemplate: "\"/v1/flux-2-klein/async/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageFlux2KleinBase.g.cs b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageFlux2KleinBase.g.cs index 8adffd83..68fa3df1 100644 --- a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageFlux2KleinBase.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageFlux2KleinBase.g.cs @@ -247,7 +247,7 @@ partial void ProcessPostGenerateImageFlux2KleinBaseResponseContent( pathTemplate: "\"/v1/flux-2-klein-base/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -281,7 +281,7 @@ partial void ProcessPostGenerateImageFlux2KleinBaseResponseContent( pathTemplate: "\"/v1/flux-2-klein-base/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -322,7 +322,7 @@ partial void ProcessPostGenerateImageFlux2KleinBaseResponseContent( pathTemplate: "\"/v1/flux-2-klein-base/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -370,7 +370,7 @@ partial void ProcessPostGenerateImageFlux2KleinBaseResponseContent( pathTemplate: "\"/v1/flux-2-klein-base/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -392,7 +392,7 @@ partial void ProcessPostGenerateImageFlux2KleinBaseResponseContent( pathTemplate: "\"/v1/flux-2-klein-base/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageFlux2KleinBaseAsync.g.cs b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageFlux2KleinBaseAsync.g.cs index 8d10817d..7d820750 100644 --- a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageFlux2KleinBaseAsync.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageFlux2KleinBaseAsync.g.cs @@ -256,7 +256,7 @@ partial void ProcessPostGenerateImageFlux2KleinBaseAsyncResponseContent( PreparePostGenerateImageFlux2KleinBaseAsyncRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - webhookUrl: webhookUrl!, + webhookUrl: webhookUrl, request: request); return __httpRequest; @@ -279,7 +279,7 @@ partial void ProcessPostGenerateImageFlux2KleinBaseAsyncResponseContent( pathTemplate: "\"/v1/flux-2-klein-base/async/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -313,7 +313,7 @@ partial void ProcessPostGenerateImageFlux2KleinBaseAsyncResponseContent( pathTemplate: "\"/v1/flux-2-klein-base/async/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -354,7 +354,7 @@ partial void ProcessPostGenerateImageFlux2KleinBaseAsyncResponseContent( pathTemplate: "\"/v1/flux-2-klein-base/async/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -402,7 +402,7 @@ partial void ProcessPostGenerateImageFlux2KleinBaseAsyncResponseContent( pathTemplate: "\"/v1/flux-2-klein-base/async/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -424,7 +424,7 @@ partial void ProcessPostGenerateImageFlux2KleinBaseAsyncResponseContent( pathTemplate: "\"/v1/flux-2-klein-base/async/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImagePImageHigh.g.cs b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImagePImageHigh.g.cs index b2c60673..4a115a9c 100644 --- a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImagePImageHigh.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImagePImageHigh.g.cs @@ -231,7 +231,7 @@ partial void ProcessPostGenerateImagePImageHighResponseContent( pathTemplate: "\"/v1/p-image-ideogram/high/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -265,7 +265,7 @@ partial void ProcessPostGenerateImagePImageHighResponseContent( pathTemplate: "\"/v1/p-image-ideogram/high/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -306,7 +306,7 @@ partial void ProcessPostGenerateImagePImageHighResponseContent( pathTemplate: "\"/v1/p-image-ideogram/high/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -354,7 +354,7 @@ partial void ProcessPostGenerateImagePImageHighResponseContent( pathTemplate: "\"/v1/p-image-ideogram/high/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -376,7 +376,7 @@ partial void ProcessPostGenerateImagePImageHighResponseContent( pathTemplate: "\"/v1/p-image-ideogram/high/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImagePImageIdeogram.g.cs b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImagePImageIdeogram.g.cs index 5dab3254..38a19a3a 100644 --- a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImagePImageIdeogram.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImagePImageIdeogram.g.cs @@ -261,7 +261,7 @@ partial void ProcessPostGenerateImagePImageIdeogramResponseContent( pathTemplate: "\"/v1/text-to-image/p-image-ideogram\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -295,7 +295,7 @@ partial void ProcessPostGenerateImagePImageIdeogramResponseContent( pathTemplate: "\"/v1/text-to-image/p-image-ideogram\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -336,7 +336,7 @@ partial void ProcessPostGenerateImagePImageIdeogramResponseContent( pathTemplate: "\"/v1/text-to-image/p-image-ideogram\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -384,7 +384,7 @@ partial void ProcessPostGenerateImagePImageIdeogramResponseContent( pathTemplate: "\"/v1/text-to-image/p-image-ideogram\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -406,7 +406,7 @@ partial void ProcessPostGenerateImagePImageIdeogramResponseContent( pathTemplate: "\"/v1/text-to-image/p-image-ideogram\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImagePImageIdeogramAsync.g.cs b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImagePImageIdeogramAsync.g.cs index 3cf0f346..96d866fb 100644 --- a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImagePImageIdeogramAsync.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImagePImageIdeogramAsync.g.cs @@ -299,7 +299,7 @@ partial void ProcessPostGenerateImagePImageIdeogramAsyncResponseContent( pathTemplate: "\"/v1/async/text-to-image/p-image-ideogram\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -333,7 +333,7 @@ partial void ProcessPostGenerateImagePImageIdeogramAsyncResponseContent( pathTemplate: "\"/v1/async/text-to-image/p-image-ideogram\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -374,7 +374,7 @@ partial void ProcessPostGenerateImagePImageIdeogramAsyncResponseContent( pathTemplate: "\"/v1/async/text-to-image/p-image-ideogram\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -422,7 +422,7 @@ partial void ProcessPostGenerateImagePImageIdeogramAsyncResponseContent( pathTemplate: "\"/v1/async/text-to-image/p-image-ideogram\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -444,7 +444,7 @@ partial void ProcessPostGenerateImagePImageIdeogramAsyncResponseContent( pathTemplate: "\"/v1/async/text-to-image/p-image-ideogram\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImagePImageLow.g.cs b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImagePImageLow.g.cs index b8cce4a5..f24e5d85 100644 --- a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImagePImageLow.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImagePImageLow.g.cs @@ -231,7 +231,7 @@ partial void ProcessPostGenerateImagePImageLowResponseContent( pathTemplate: "\"/v1/p-image-ideogram/low/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -265,7 +265,7 @@ partial void ProcessPostGenerateImagePImageLowResponseContent( pathTemplate: "\"/v1/p-image-ideogram/low/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -306,7 +306,7 @@ partial void ProcessPostGenerateImagePImageLowResponseContent( pathTemplate: "\"/v1/p-image-ideogram/low/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -354,7 +354,7 @@ partial void ProcessPostGenerateImagePImageLowResponseContent( pathTemplate: "\"/v1/p-image-ideogram/low/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -376,7 +376,7 @@ partial void ProcessPostGenerateImagePImageLowResponseContent( pathTemplate: "\"/v1/p-image-ideogram/low/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImagePImageMedium.g.cs b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImagePImageMedium.g.cs index 1c3e50bd..d65179fc 100644 --- a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImagePImageMedium.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImagePImageMedium.g.cs @@ -231,7 +231,7 @@ partial void ProcessPostGenerateImagePImageMediumResponseContent( pathTemplate: "\"/v1/p-image-ideogram/medium/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -265,7 +265,7 @@ partial void ProcessPostGenerateImagePImageMediumResponseContent( pathTemplate: "\"/v1/p-image-ideogram/medium/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -306,7 +306,7 @@ partial void ProcessPostGenerateImagePImageMediumResponseContent( pathTemplate: "\"/v1/p-image-ideogram/medium/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -354,7 +354,7 @@ partial void ProcessPostGenerateImagePImageMediumResponseContent( pathTemplate: "\"/v1/p-image-ideogram/medium/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -376,7 +376,7 @@ partial void ProcessPostGenerateImagePImageMediumResponseContent( pathTemplate: "\"/v1/p-image-ideogram/medium/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImagePImageVeryLow.g.cs b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImagePImageVeryLow.g.cs index 37a1a2e6..216286bf 100644 --- a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImagePImageVeryLow.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImagePImageVeryLow.g.cs @@ -231,7 +231,7 @@ partial void ProcessPostGenerateImagePImageVeryLowResponseContent( pathTemplate: "\"/v1/p-image-ideogram/very-low/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -265,7 +265,7 @@ partial void ProcessPostGenerateImagePImageVeryLowResponseContent( pathTemplate: "\"/v1/p-image-ideogram/very-low/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -306,7 +306,7 @@ partial void ProcessPostGenerateImagePImageVeryLowResponseContent( pathTemplate: "\"/v1/p-image-ideogram/very-low/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -354,7 +354,7 @@ partial void ProcessPostGenerateImagePImageVeryLowResponseContent( pathTemplate: "\"/v1/p-image-ideogram/very-low/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -376,7 +376,7 @@ partial void ProcessPostGenerateImagePImageVeryLowResponseContent( pathTemplate: "\"/v1/p-image-ideogram/very-low/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageV3.g.cs b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageV3.g.cs index eaa60f07..997f5439 100644 --- a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageV3.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageV3.g.cs @@ -351,7 +351,7 @@ partial void ProcessPostGenerateImageV3ResponseContent( pathTemplate: "\"/v1/ideogram-v3/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -385,7 +385,7 @@ partial void ProcessPostGenerateImageV3ResponseContent( pathTemplate: "\"/v1/ideogram-v3/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -426,7 +426,7 @@ partial void ProcessPostGenerateImageV3ResponseContent( pathTemplate: "\"/v1/ideogram-v3/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -474,7 +474,7 @@ partial void ProcessPostGenerateImageV3ResponseContent( pathTemplate: "\"/v1/ideogram-v3/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -496,7 +496,7 @@ partial void ProcessPostGenerateImageV3ResponseContent( pathTemplate: "\"/v1/ideogram-v3/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageV3Transparent.g.cs b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageV3Transparent.g.cs index 0a679534..8e6d0489 100644 --- a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageV3Transparent.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageV3Transparent.g.cs @@ -275,7 +275,7 @@ partial void ProcessPostGenerateImageV3TransparentResponseContent( pathTemplate: "\"/v1/ideogram-v3/generate-transparent\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -309,7 +309,7 @@ partial void ProcessPostGenerateImageV3TransparentResponseContent( pathTemplate: "\"/v1/ideogram-v3/generate-transparent\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -350,7 +350,7 @@ partial void ProcessPostGenerateImageV3TransparentResponseContent( pathTemplate: "\"/v1/ideogram-v3/generate-transparent\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -398,7 +398,7 @@ partial void ProcessPostGenerateImageV3TransparentResponseContent( pathTemplate: "\"/v1/ideogram-v3/generate-transparent\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -420,7 +420,7 @@ partial void ProcessPostGenerateImageV3TransparentResponseContent( pathTemplate: "\"/v1/ideogram-v3/generate-transparent\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageV4.g.cs b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageV4.g.cs index a33d6d49..16ad1e48 100644 --- a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageV4.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageV4.g.cs @@ -245,7 +245,7 @@ partial void ProcessPostGenerateImageV4ResponseContent( pathTemplate: "\"/v1/ideogram-v4/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -279,7 +279,7 @@ partial void ProcessPostGenerateImageV4ResponseContent( pathTemplate: "\"/v1/ideogram-v4/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -320,7 +320,7 @@ partial void ProcessPostGenerateImageV4ResponseContent( pathTemplate: "\"/v1/ideogram-v4/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -368,7 +368,7 @@ partial void ProcessPostGenerateImageV4ResponseContent( pathTemplate: "\"/v1/ideogram-v4/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -390,7 +390,7 @@ partial void ProcessPostGenerateImageV4ResponseContent( pathTemplate: "\"/v1/ideogram-v4/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageV45.g.cs b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageV45.g.cs index 4607f2c7..cfcf5d3c 100644 --- a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageV45.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageV45.g.cs @@ -245,7 +245,7 @@ partial void ProcessPostGenerateImageV45ResponseContent( pathTemplate: "\"/v1/ideogram-v45/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -279,7 +279,7 @@ partial void ProcessPostGenerateImageV45ResponseContent( pathTemplate: "\"/v1/ideogram-v45/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -320,7 +320,7 @@ partial void ProcessPostGenerateImageV45ResponseContent( pathTemplate: "\"/v1/ideogram-v45/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -368,7 +368,7 @@ partial void ProcessPostGenerateImageV45ResponseContent( pathTemplate: "\"/v1/ideogram-v45/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -390,7 +390,7 @@ partial void ProcessPostGenerateImageV45ResponseContent( pathTemplate: "\"/v1/ideogram-v45/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageV45Async.g.cs b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageV45Async.g.cs index 3218c9f8..9982d07c 100644 --- a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageV45Async.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageV45Async.g.cs @@ -260,7 +260,7 @@ partial void ProcessPostGenerateImageV45AsyncResponseContent( PreparePostGenerateImageV45AsyncRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - webhookUrl: webhookUrl!, + webhookUrl: webhookUrl, request: request); return __httpRequest; @@ -283,7 +283,7 @@ partial void ProcessPostGenerateImageV45AsyncResponseContent( pathTemplate: "\"/v1/ideogram-v45/async/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -317,7 +317,7 @@ partial void ProcessPostGenerateImageV45AsyncResponseContent( pathTemplate: "\"/v1/ideogram-v45/async/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -358,7 +358,7 @@ partial void ProcessPostGenerateImageV45AsyncResponseContent( pathTemplate: "\"/v1/ideogram-v45/async/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -406,7 +406,7 @@ partial void ProcessPostGenerateImageV45AsyncResponseContent( pathTemplate: "\"/v1/ideogram-v45/async/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -428,7 +428,7 @@ partial void ProcessPostGenerateImageV45AsyncResponseContent( pathTemplate: "\"/v1/ideogram-v45/async/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageV4Async.g.cs b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageV4Async.g.cs index d92e43ce..180cb1f3 100644 --- a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageV4Async.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageV4Async.g.cs @@ -285,7 +285,7 @@ partial void ProcessPostGenerateImageV4AsyncResponseContent( pathTemplate: "\"/v1/ideogram-v4/async/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -319,7 +319,7 @@ partial void ProcessPostGenerateImageV4AsyncResponseContent( pathTemplate: "\"/v1/ideogram-v4/async/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -360,7 +360,7 @@ partial void ProcessPostGenerateImageV4AsyncResponseContent( pathTemplate: "\"/v1/ideogram-v4/async/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -408,7 +408,7 @@ partial void ProcessPostGenerateImageV4AsyncResponseContent( pathTemplate: "\"/v1/ideogram-v4/async/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -430,7 +430,7 @@ partial void ProcessPostGenerateImageV4AsyncResponseContent( pathTemplate: "\"/v1/ideogram-v4/async/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageV4CfgDistilled.g.cs b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageV4CfgDistilled.g.cs index 02fd88c9..91ee0045 100644 --- a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageV4CfgDistilled.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageV4CfgDistilled.g.cs @@ -239,7 +239,7 @@ partial void ProcessPostGenerateImageV4CfgDistilledResponseContent( pathTemplate: "\"/v1/ideogram-v4-cfg-distilled/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -273,7 +273,7 @@ partial void ProcessPostGenerateImageV4CfgDistilledResponseContent( pathTemplate: "\"/v1/ideogram-v4-cfg-distilled/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -314,7 +314,7 @@ partial void ProcessPostGenerateImageV4CfgDistilledResponseContent( pathTemplate: "\"/v1/ideogram-v4-cfg-distilled/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -362,7 +362,7 @@ partial void ProcessPostGenerateImageV4CfgDistilledResponseContent( pathTemplate: "\"/v1/ideogram-v4-cfg-distilled/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -384,7 +384,7 @@ partial void ProcessPostGenerateImageV4CfgDistilledResponseContent( pathTemplate: "\"/v1/ideogram-v4-cfg-distilled/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageV4CfgDistilledAsync.g.cs b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageV4CfgDistilledAsync.g.cs index e850df86..87046842 100644 --- a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageV4CfgDistilledAsync.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageV4CfgDistilledAsync.g.cs @@ -254,7 +254,7 @@ partial void ProcessPostGenerateImageV4CfgDistilledAsyncResponseContent( PreparePostGenerateImageV4CfgDistilledAsyncRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - webhookUrl: webhookUrl!, + webhookUrl: webhookUrl, request: request); return __httpRequest; @@ -277,7 +277,7 @@ partial void ProcessPostGenerateImageV4CfgDistilledAsyncResponseContent( pathTemplate: "\"/v1/ideogram-v4-cfg-distilled/async/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -311,7 +311,7 @@ partial void ProcessPostGenerateImageV4CfgDistilledAsyncResponseContent( pathTemplate: "\"/v1/ideogram-v4-cfg-distilled/async/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -352,7 +352,7 @@ partial void ProcessPostGenerateImageV4CfgDistilledAsyncResponseContent( pathTemplate: "\"/v1/ideogram-v4-cfg-distilled/async/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -400,7 +400,7 @@ partial void ProcessPostGenerateImageV4CfgDistilledAsyncResponseContent( pathTemplate: "\"/v1/ideogram-v4-cfg-distilled/async/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -422,7 +422,7 @@ partial void ProcessPostGenerateImageV4CfgDistilledAsyncResponseContent( pathTemplate: "\"/v1/ideogram-v4-cfg-distilled/async/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageV4Fp8.g.cs b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageV4Fp8.g.cs index 191684bb..bd9421f7 100644 --- a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageV4Fp8.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageV4Fp8.g.cs @@ -241,7 +241,7 @@ partial void ProcessPostGenerateImageV4Fp8ResponseContent( pathTemplate: "\"/v1/ideogram-v4-fp8/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -275,7 +275,7 @@ partial void ProcessPostGenerateImageV4Fp8ResponseContent( pathTemplate: "\"/v1/ideogram-v4-fp8/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -316,7 +316,7 @@ partial void ProcessPostGenerateImageV4Fp8ResponseContent( pathTemplate: "\"/v1/ideogram-v4-fp8/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -364,7 +364,7 @@ partial void ProcessPostGenerateImageV4Fp8ResponseContent( pathTemplate: "\"/v1/ideogram-v4-fp8/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -386,7 +386,7 @@ partial void ProcessPostGenerateImageV4Fp8ResponseContent( pathTemplate: "\"/v1/ideogram-v4-fp8/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageV4Im2Im.g.cs b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageV4Im2Im.g.cs index cbd058c4..39c926be 100644 --- a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageV4Im2Im.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageV4Im2Im.g.cs @@ -293,7 +293,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v4/image-to-image\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -327,7 +327,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v4/image-to-image\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -368,7 +368,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v4/image-to-image\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -416,7 +416,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v4/image-to-image\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -438,7 +438,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v4/image-to-image\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1081,7 +1081,7 @@ __fileNameAdditionalImages is null pathTemplate: "\"/v1/ideogram-v4/image-to-image\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -1115,7 +1115,7 @@ __fileNameAdditionalImages is null pathTemplate: "\"/v1/ideogram-v4/image-to-image\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -1156,7 +1156,7 @@ __fileNameAdditionalImages is null pathTemplate: "\"/v1/ideogram-v4/image-to-image\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1204,7 +1204,7 @@ __fileNameAdditionalImages is null pathTemplate: "\"/v1/ideogram-v4/image-to-image\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1226,7 +1226,7 @@ __fileNameAdditionalImages is null pathTemplate: "\"/v1/ideogram-v4/image-to-image\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1781,7 +1781,7 @@ __fileNameAdditionalImages is null pathTemplate: "\"/v1/ideogram-v4/image-to-image\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -1815,7 +1815,7 @@ __fileNameAdditionalImages is null pathTemplate: "\"/v1/ideogram-v4/image-to-image\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -1856,7 +1856,7 @@ __fileNameAdditionalImages is null pathTemplate: "\"/v1/ideogram-v4/image-to-image\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1904,7 +1904,7 @@ __fileNameAdditionalImages is null pathTemplate: "\"/v1/ideogram-v4/image-to-image\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1926,7 +1926,7 @@ __fileNameAdditionalImages is null pathTemplate: "\"/v1/ideogram-v4/image-to-image\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageV4Im2ImAsync.g.cs b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageV4Im2ImAsync.g.cs index c85d6a14..6c0372c4 100644 --- a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageV4Im2ImAsync.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageV4Im2ImAsync.g.cs @@ -304,7 +304,7 @@ request.Imagename is null PreparePostGenerateImageV4Im2ImAsyncRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - webhookUrl: webhookUrl!, + webhookUrl: webhookUrl, request: request); return __httpRequest; @@ -327,7 +327,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v4/async/image-to-image\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -361,7 +361,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v4/async/image-to-image\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -402,7 +402,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v4/async/image-to-image\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -450,7 +450,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v4/async/image-to-image\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -472,7 +472,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v4/async/image-to-image\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1124,7 +1124,7 @@ __fileNameAdditionalImages is null PreparePostGenerateImageV4Im2ImAsyncRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - webhookUrl: webhookUrl!, + webhookUrl: webhookUrl, request: request); return __httpRequest; @@ -1147,7 +1147,7 @@ __fileNameAdditionalImages is null pathTemplate: "\"/v1/ideogram-v4/async/image-to-image\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -1181,7 +1181,7 @@ __fileNameAdditionalImages is null pathTemplate: "\"/v1/ideogram-v4/async/image-to-image\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -1222,7 +1222,7 @@ __fileNameAdditionalImages is null pathTemplate: "\"/v1/ideogram-v4/async/image-to-image\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1270,7 +1270,7 @@ __fileNameAdditionalImages is null pathTemplate: "\"/v1/ideogram-v4/async/image-to-image\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1292,7 +1292,7 @@ __fileNameAdditionalImages is null pathTemplate: "\"/v1/ideogram-v4/async/image-to-image\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1842,7 +1842,7 @@ __fileNameAdditionalImages is null PreparePostGenerateImageV4Im2ImAsyncRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - webhookUrl: webhookUrl!, + webhookUrl: webhookUrl, request: request); return __httpRequest; @@ -1865,7 +1865,7 @@ __fileNameAdditionalImages is null pathTemplate: "\"/v1/ideogram-v4/async/image-to-image\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -1899,7 +1899,7 @@ __fileNameAdditionalImages is null pathTemplate: "\"/v1/ideogram-v4/async/image-to-image\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -1940,7 +1940,7 @@ __fileNameAdditionalImages is null pathTemplate: "\"/v1/ideogram-v4/async/image-to-image\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1988,7 +1988,7 @@ __fileNameAdditionalImages is null pathTemplate: "\"/v1/ideogram-v4/async/image-to-image\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -2010,7 +2010,7 @@ __fileNameAdditionalImages is null pathTemplate: "\"/v1/ideogram-v4/async/image-to-image\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageV4Stable.g.cs b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageV4Stable.g.cs index 75d09c0e..00f89dc1 100644 --- a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageV4Stable.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageV4Stable.g.cs @@ -229,7 +229,7 @@ partial void ProcessPostGenerateImageV4StableResponseContent( pathTemplate: "\"/v1/ideogram-v4/generate/stable\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -263,7 +263,7 @@ partial void ProcessPostGenerateImageV4StableResponseContent( pathTemplate: "\"/v1/ideogram-v4/generate/stable\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -304,7 +304,7 @@ partial void ProcessPostGenerateImageV4StableResponseContent( pathTemplate: "\"/v1/ideogram-v4/generate/stable\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -352,7 +352,7 @@ partial void ProcessPostGenerateImageV4StableResponseContent( pathTemplate: "\"/v1/ideogram-v4/generate/stable\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -374,7 +374,7 @@ partial void ProcessPostGenerateImageV4StableResponseContent( pathTemplate: "\"/v1/ideogram-v4/generate/stable\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageV4Transparent.g.cs b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageV4Transparent.g.cs index 3044b930..46616a6a 100644 --- a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageV4Transparent.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageV4Transparent.g.cs @@ -263,7 +263,7 @@ partial void ProcessPostGenerateImageV4TransparentResponseContent( pathTemplate: "\"/v1/ideogram-v4/generate-transparent\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -297,7 +297,7 @@ partial void ProcessPostGenerateImageV4TransparentResponseContent( pathTemplate: "\"/v1/ideogram-v4/generate-transparent\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -338,7 +338,7 @@ partial void ProcessPostGenerateImageV4TransparentResponseContent( pathTemplate: "\"/v1/ideogram-v4/generate-transparent\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -386,7 +386,7 @@ partial void ProcessPostGenerateImageV4TransparentResponseContent( pathTemplate: "\"/v1/ideogram-v4/generate-transparent\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -408,7 +408,7 @@ partial void ProcessPostGenerateImageV4TransparentResponseContent( pathTemplate: "\"/v1/ideogram-v4/generate-transparent\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageV4TransparentAsync.g.cs b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageV4TransparentAsync.g.cs index 0e5cfa63..ee9f35b1 100644 --- a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageV4TransparentAsync.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageV4TransparentAsync.g.cs @@ -291,7 +291,7 @@ partial void ProcessPostGenerateImageV4TransparentAsyncResponseContent( pathTemplate: "\"/v1/ideogram-v4/async/generate-transparent\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -325,7 +325,7 @@ partial void ProcessPostGenerateImageV4TransparentAsyncResponseContent( pathTemplate: "\"/v1/ideogram-v4/async/generate-transparent\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -366,7 +366,7 @@ partial void ProcessPostGenerateImageV4TransparentAsyncResponseContent( pathTemplate: "\"/v1/ideogram-v4/async/generate-transparent\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -414,7 +414,7 @@ partial void ProcessPostGenerateImageV4TransparentAsyncResponseContent( pathTemplate: "\"/v1/ideogram-v4/async/generate-transparent\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -436,7 +436,7 @@ partial void ProcessPostGenerateImageV4TransparentAsyncResponseContent( pathTemplate: "\"/v1/ideogram-v4/async/generate-transparent\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageZImage.g.cs b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageZImage.g.cs index 087da47b..a9f0373d 100644 --- a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageZImage.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageZImage.g.cs @@ -247,7 +247,7 @@ partial void ProcessPostGenerateImageZImageResponseContent( pathTemplate: "\"/v1/z-image/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -281,7 +281,7 @@ partial void ProcessPostGenerateImageZImageResponseContent( pathTemplate: "\"/v1/z-image/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -322,7 +322,7 @@ partial void ProcessPostGenerateImageZImageResponseContent( pathTemplate: "\"/v1/z-image/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -370,7 +370,7 @@ partial void ProcessPostGenerateImageZImageResponseContent( pathTemplate: "\"/v1/z-image/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -392,7 +392,7 @@ partial void ProcessPostGenerateImageZImageResponseContent( pathTemplate: "\"/v1/z-image/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageZImageAsync.g.cs b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageZImageAsync.g.cs index 237d43fa..50e1bd64 100644 --- a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageZImageAsync.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostGenerateImageZImageAsync.g.cs @@ -256,7 +256,7 @@ partial void ProcessPostGenerateImageZImageAsyncResponseContent( PreparePostGenerateImageZImageAsyncRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - webhookUrl: webhookUrl!, + webhookUrl: webhookUrl, request: request); return __httpRequest; @@ -279,7 +279,7 @@ partial void ProcessPostGenerateImageZImageAsyncResponseContent( pathTemplate: "\"/v1/z-image/async/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -313,7 +313,7 @@ partial void ProcessPostGenerateImageZImageAsyncResponseContent( pathTemplate: "\"/v1/z-image/async/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -354,7 +354,7 @@ partial void ProcessPostGenerateImageZImageAsyncResponseContent( pathTemplate: "\"/v1/z-image/async/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -402,7 +402,7 @@ partial void ProcessPostGenerateImageZImageAsyncResponseContent( pathTemplate: "\"/v1/z-image/async/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -424,7 +424,7 @@ partial void ProcessPostGenerateImageZImageAsyncResponseContent( pathTemplate: "\"/v1/z-image/async/generate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostInpaintImageV3.g.cs b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostInpaintImageV3.g.cs index 00043c3e..471f0342 100644 --- a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostInpaintImageV3.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostInpaintImageV3.g.cs @@ -399,7 +399,7 @@ request.Maskname is null pathTemplate: "\"/v1/ideogram-v3/inpaint\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -433,7 +433,7 @@ request.Maskname is null pathTemplate: "\"/v1/ideogram-v3/inpaint\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -474,7 +474,7 @@ request.Maskname is null pathTemplate: "\"/v1/ideogram-v3/inpaint\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -522,7 +522,7 @@ request.Maskname is null pathTemplate: "\"/v1/ideogram-v3/inpaint\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -544,7 +544,7 @@ request.Maskname is null pathTemplate: "\"/v1/ideogram-v3/inpaint\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1452,7 +1452,7 @@ __fileNameCharacterReferenceImagesMask is null pathTemplate: "\"/v1/ideogram-v3/inpaint\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -1486,7 +1486,7 @@ __fileNameCharacterReferenceImagesMask is null pathTemplate: "\"/v1/ideogram-v3/inpaint\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -1527,7 +1527,7 @@ __fileNameCharacterReferenceImagesMask is null pathTemplate: "\"/v1/ideogram-v3/inpaint\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1575,7 +1575,7 @@ __fileNameCharacterReferenceImagesMask is null pathTemplate: "\"/v1/ideogram-v3/inpaint\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1597,7 +1597,7 @@ __fileNameCharacterReferenceImagesMask is null pathTemplate: "\"/v1/ideogram-v3/inpaint\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -2372,7 +2372,7 @@ __fileNameCharacterReferenceImagesMask is null pathTemplate: "\"/v1/ideogram-v3/inpaint\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -2406,7 +2406,7 @@ __fileNameCharacterReferenceImagesMask is null pathTemplate: "\"/v1/ideogram-v3/inpaint\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -2447,7 +2447,7 @@ __fileNameCharacterReferenceImagesMask is null pathTemplate: "\"/v1/ideogram-v3/inpaint\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -2495,7 +2495,7 @@ __fileNameCharacterReferenceImagesMask is null pathTemplate: "\"/v1/ideogram-v3/inpaint\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -2517,7 +2517,7 @@ __fileNameCharacterReferenceImagesMask is null pathTemplate: "\"/v1/ideogram-v3/inpaint\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostLayerizeDesignV3.g.cs b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostLayerizeDesignV3.g.cs index 84be2eb6..42677e83 100644 --- a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostLayerizeDesignV3.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostLayerizeDesignV3.g.cs @@ -457,7 +457,7 @@ request.FontFileSmallname is null pathTemplate: "\"/v1/ideogram-v3/layerize-design\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -491,7 +491,7 @@ request.FontFileSmallname is null pathTemplate: "\"/v1/ideogram-v3/layerize-design\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -532,7 +532,7 @@ request.FontFileSmallname is null pathTemplate: "\"/v1/ideogram-v3/layerize-design\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -580,7 +580,7 @@ request.FontFileSmallname is null pathTemplate: "\"/v1/ideogram-v3/layerize-design\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -602,7 +602,7 @@ request.FontFileSmallname is null pathTemplate: "\"/v1/ideogram-v3/layerize-design\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1430,7 +1430,7 @@ __fileNameReferenceAssetImages is null pathTemplate: "\"/v1/ideogram-v3/layerize-design\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -1464,7 +1464,7 @@ __fileNameReferenceAssetImages is null pathTemplate: "\"/v1/ideogram-v3/layerize-design\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -1505,7 +1505,7 @@ __fileNameReferenceAssetImages is null pathTemplate: "\"/v1/ideogram-v3/layerize-design\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1553,7 +1553,7 @@ __fileNameReferenceAssetImages is null pathTemplate: "\"/v1/ideogram-v3/layerize-design\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1575,7 +1575,7 @@ __fileNameReferenceAssetImages is null pathTemplate: "\"/v1/ideogram-v3/layerize-design\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -2284,7 +2284,7 @@ __fileNameReferenceAssetImages is null pathTemplate: "\"/v1/ideogram-v3/layerize-design\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -2318,7 +2318,7 @@ __fileNameReferenceAssetImages is null pathTemplate: "\"/v1/ideogram-v3/layerize-design\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -2359,7 +2359,7 @@ __fileNameReferenceAssetImages is null pathTemplate: "\"/v1/ideogram-v3/layerize-design\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -2407,7 +2407,7 @@ __fileNameReferenceAssetImages is null pathTemplate: "\"/v1/ideogram-v3/layerize-design\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -2429,7 +2429,7 @@ __fileNameReferenceAssetImages is null pathTemplate: "\"/v1/ideogram-v3/layerize-design\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostLayerizeLogos.g.cs b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostLayerizeLogos.g.cs index e480a0e8..92336dff 100644 --- a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostLayerizeLogos.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostLayerizeLogos.g.cs @@ -234,7 +234,7 @@ request.DesignImagename is null pathTemplate: "\"/v1/layerize-logos\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -268,7 +268,7 @@ request.DesignImagename is null pathTemplate: "\"/v1/layerize-logos\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -309,7 +309,7 @@ request.DesignImagename is null pathTemplate: "\"/v1/layerize-logos\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -357,7 +357,7 @@ request.DesignImagename is null pathTemplate: "\"/v1/layerize-logos\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -379,7 +379,7 @@ request.DesignImagename is null pathTemplate: "\"/v1/layerize-logos\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -815,7 +815,7 @@ __fileNameReferenceImages is null pathTemplate: "\"/v1/layerize-logos\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -849,7 +849,7 @@ __fileNameReferenceImages is null pathTemplate: "\"/v1/layerize-logos\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -890,7 +890,7 @@ __fileNameReferenceImages is null pathTemplate: "\"/v1/layerize-logos\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -938,7 +938,7 @@ __fileNameReferenceImages is null pathTemplate: "\"/v1/layerize-logos\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -960,7 +960,7 @@ __fileNameReferenceImages is null pathTemplate: "\"/v1/layerize-logos\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1347,7 +1347,7 @@ __fileNameReferenceImages is null pathTemplate: "\"/v1/layerize-logos\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -1381,7 +1381,7 @@ __fileNameReferenceImages is null pathTemplate: "\"/v1/layerize-logos\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -1422,7 +1422,7 @@ __fileNameReferenceImages is null pathTemplate: "\"/v1/layerize-logos\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1470,7 +1470,7 @@ __fileNameReferenceImages is null pathTemplate: "\"/v1/layerize-logos\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1492,7 +1492,7 @@ __fileNameReferenceImages is null pathTemplate: "\"/v1/layerize-logos\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostLayerizeTextV3.g.cs b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostLayerizeTextV3.g.cs index 0ff9536c..e50cf881 100644 --- a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostLayerizeTextV3.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostLayerizeTextV3.g.cs @@ -257,7 +257,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v3/layerize-text\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -291,7 +291,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v3/layerize-text\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -332,7 +332,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v3/layerize-text\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -380,7 +380,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v3/layerize-text\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -402,7 +402,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v3/layerize-text\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -908,7 +908,7 @@ __fileNameFontCandidateFiles is null pathTemplate: "\"/v1/ideogram-v3/layerize-text\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -942,7 +942,7 @@ __fileNameFontCandidateFiles is null pathTemplate: "\"/v1/ideogram-v3/layerize-text\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -983,7 +983,7 @@ __fileNameFontCandidateFiles is null pathTemplate: "\"/v1/ideogram-v3/layerize-text\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1031,7 +1031,7 @@ __fileNameFontCandidateFiles is null pathTemplate: "\"/v1/ideogram-v3/layerize-text\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1053,7 +1053,7 @@ __fileNameFontCandidateFiles is null pathTemplate: "\"/v1/ideogram-v3/layerize-text\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1501,7 +1501,7 @@ __fileNameFontCandidateFiles is null pathTemplate: "\"/v1/ideogram-v3/layerize-text\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -1535,7 +1535,7 @@ __fileNameFontCandidateFiles is null pathTemplate: "\"/v1/ideogram-v3/layerize-text\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -1576,7 +1576,7 @@ __fileNameFontCandidateFiles is null pathTemplate: "\"/v1/ideogram-v3/layerize-text\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1624,7 +1624,7 @@ __fileNameFontCandidateFiles is null pathTemplate: "\"/v1/ideogram-v3/layerize-text\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1646,7 +1646,7 @@ __fileNameFontCandidateFiles is null pathTemplate: "\"/v1/ideogram-v3/layerize-text\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostReframeImage.g.cs b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostReframeImage.g.cs index dd2b5fd2..27962f3c 100644 --- a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostReframeImage.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostReframeImage.g.cs @@ -251,7 +251,7 @@ request.ImageFilename is null pathTemplate: "\"/reframe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -285,7 +285,7 @@ request.ImageFilename is null pathTemplate: "\"/reframe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -326,7 +326,7 @@ request.ImageFilename is null pathTemplate: "\"/reframe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -374,7 +374,7 @@ request.ImageFilename is null pathTemplate: "\"/reframe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -396,7 +396,7 @@ request.ImageFilename is null pathTemplate: "\"/reframe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -927,7 +927,7 @@ request.ImageFilename is null pathTemplate: "\"/reframe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -961,7 +961,7 @@ request.ImageFilename is null pathTemplate: "\"/reframe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -1002,7 +1002,7 @@ request.ImageFilename is null pathTemplate: "\"/reframe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1050,7 +1050,7 @@ request.ImageFilename is null pathTemplate: "\"/reframe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1072,7 +1072,7 @@ request.ImageFilename is null pathTemplate: "\"/reframe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1532,7 +1532,7 @@ request.ImageFilename is null pathTemplate: "\"/reframe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -1566,7 +1566,7 @@ request.ImageFilename is null pathTemplate: "\"/reframe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -1607,7 +1607,7 @@ request.ImageFilename is null pathTemplate: "\"/reframe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1655,7 +1655,7 @@ request.ImageFilename is null pathTemplate: "\"/reframe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1677,7 +1677,7 @@ request.ImageFilename is null pathTemplate: "\"/reframe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostReframeImageV3.g.cs b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostReframeImageV3.g.cs index f00c92f0..b247f38d 100644 --- a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostReframeImageV3.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostReframeImageV3.g.cs @@ -289,7 +289,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v3/reframe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -323,7 +323,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v3/reframe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -364,7 +364,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v3/reframe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -412,7 +412,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v3/reframe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -434,7 +434,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v3/reframe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1069,7 +1069,7 @@ __fileNameStyleReferenceImages is null pathTemplate: "\"/v1/ideogram-v3/reframe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -1103,7 +1103,7 @@ __fileNameStyleReferenceImages is null pathTemplate: "\"/v1/ideogram-v3/reframe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -1144,7 +1144,7 @@ __fileNameStyleReferenceImages is null pathTemplate: "\"/v1/ideogram-v3/reframe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1192,7 +1192,7 @@ __fileNameStyleReferenceImages is null pathTemplate: "\"/v1/ideogram-v3/reframe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1214,7 +1214,7 @@ __fileNameStyleReferenceImages is null pathTemplate: "\"/v1/ideogram-v3/reframe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1763,7 +1763,7 @@ __fileNameStyleReferenceImages is null pathTemplate: "\"/v1/ideogram-v3/reframe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -1797,7 +1797,7 @@ __fileNameStyleReferenceImages is null pathTemplate: "\"/v1/ideogram-v3/reframe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -1838,7 +1838,7 @@ __fileNameStyleReferenceImages is null pathTemplate: "\"/v1/ideogram-v3/reframe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1886,7 +1886,7 @@ __fileNameStyleReferenceImages is null pathTemplate: "\"/v1/ideogram-v3/reframe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1908,7 +1908,7 @@ __fileNameStyleReferenceImages is null pathTemplate: "\"/v1/ideogram-v3/reframe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostRemixImage.g.cs b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostRemixImage.g.cs index f3250918..7ff047ae 100644 --- a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostRemixImage.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostRemixImage.g.cs @@ -226,7 +226,7 @@ request.ImageFilename is null pathTemplate: "\"/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -260,7 +260,7 @@ request.ImageFilename is null pathTemplate: "\"/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -301,7 +301,7 @@ request.ImageFilename is null pathTemplate: "\"/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -349,7 +349,7 @@ request.ImageFilename is null pathTemplate: "\"/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -371,7 +371,7 @@ request.ImageFilename is null pathTemplate: "\"/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -827,7 +827,7 @@ request.ImageFilename is null pathTemplate: "\"/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -861,7 +861,7 @@ request.ImageFilename is null pathTemplate: "\"/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -902,7 +902,7 @@ request.ImageFilename is null pathTemplate: "\"/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -950,7 +950,7 @@ request.ImageFilename is null pathTemplate: "\"/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -972,7 +972,7 @@ request.ImageFilename is null pathTemplate: "\"/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1380,7 +1380,7 @@ request.ImageFilename is null pathTemplate: "\"/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -1414,7 +1414,7 @@ request.ImageFilename is null pathTemplate: "\"/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -1455,7 +1455,7 @@ request.ImageFilename is null pathTemplate: "\"/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1503,7 +1503,7 @@ request.ImageFilename is null pathTemplate: "\"/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1525,7 +1525,7 @@ request.ImageFilename is null pathTemplate: "\"/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostRemixImageV3.g.cs b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostRemixImageV3.g.cs index b893c018..24c5038e 100644 --- a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostRemixImageV3.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostRemixImageV3.g.cs @@ -393,7 +393,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v3/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -427,7 +427,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v3/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -468,7 +468,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v3/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -516,7 +516,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v3/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -538,7 +538,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v3/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1467,7 +1467,7 @@ __fileNameCharacterReferenceImagesMask is null pathTemplate: "\"/v1/ideogram-v3/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -1501,7 +1501,7 @@ __fileNameCharacterReferenceImagesMask is null pathTemplate: "\"/v1/ideogram-v3/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -1542,7 +1542,7 @@ __fileNameCharacterReferenceImagesMask is null pathTemplate: "\"/v1/ideogram-v3/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1590,7 +1590,7 @@ __fileNameCharacterReferenceImagesMask is null pathTemplate: "\"/v1/ideogram-v3/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1612,7 +1612,7 @@ __fileNameCharacterReferenceImagesMask is null pathTemplate: "\"/v1/ideogram-v3/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -2394,7 +2394,7 @@ __fileNameCharacterReferenceImagesMask is null pathTemplate: "\"/v1/ideogram-v3/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -2428,7 +2428,7 @@ __fileNameCharacterReferenceImagesMask is null pathTemplate: "\"/v1/ideogram-v3/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -2469,7 +2469,7 @@ __fileNameCharacterReferenceImagesMask is null pathTemplate: "\"/v1/ideogram-v3/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -2517,7 +2517,7 @@ __fileNameCharacterReferenceImagesMask is null pathTemplate: "\"/v1/ideogram-v3/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -2539,7 +2539,7 @@ __fileNameCharacterReferenceImagesMask is null pathTemplate: "\"/v1/ideogram-v3/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostRemixImageV4.g.cs b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostRemixImageV4.g.cs index 3e272d83..6e67fd33 100644 --- a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostRemixImageV4.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostRemixImageV4.g.cs @@ -259,7 +259,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v4/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -293,7 +293,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v4/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -334,7 +334,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v4/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -382,7 +382,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v4/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -404,7 +404,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v4/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -949,7 +949,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v4/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -983,7 +983,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v4/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -1024,7 +1024,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v4/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1072,7 +1072,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v4/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1094,7 +1094,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v4/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1563,7 +1563,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v4/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -1597,7 +1597,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v4/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -1638,7 +1638,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v4/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1686,7 +1686,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v4/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1708,7 +1708,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v4/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostRemixImageV4Async.g.cs b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostRemixImageV4Async.g.cs index 862d1fde..33d8ce43 100644 --- a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostRemixImageV4Async.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostRemixImageV4Async.g.cs @@ -291,7 +291,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v4/async/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -325,7 +325,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v4/async/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -366,7 +366,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v4/async/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -414,7 +414,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v4/async/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -436,7 +436,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v4/async/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1011,7 +1011,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v4/async/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -1045,7 +1045,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v4/async/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -1086,7 +1086,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v4/async/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1134,7 +1134,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v4/async/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1156,7 +1156,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v4/async/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1642,7 +1642,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v4/async/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -1676,7 +1676,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v4/async/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -1717,7 +1717,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v4/async/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1765,7 +1765,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v4/async/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1787,7 +1787,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v4/async/remix\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostRemoveBackground.g.cs b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostRemoveBackground.g.cs index 996c0e64..1f9ab252 100644 --- a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostRemoveBackground.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostRemoveBackground.g.cs @@ -224,7 +224,7 @@ request.Imagename is null pathTemplate: "\"/v1/remove-background\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -258,7 +258,7 @@ request.Imagename is null pathTemplate: "\"/v1/remove-background\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -299,7 +299,7 @@ request.Imagename is null pathTemplate: "\"/v1/remove-background\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -347,7 +347,7 @@ request.Imagename is null pathTemplate: "\"/v1/remove-background\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -369,7 +369,7 @@ request.Imagename is null pathTemplate: "\"/v1/remove-background\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -811,7 +811,7 @@ request.Imagename is null pathTemplate: "\"/v1/remove-background\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -845,7 +845,7 @@ request.Imagename is null pathTemplate: "\"/v1/remove-background\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -886,7 +886,7 @@ request.Imagename is null pathTemplate: "\"/v1/remove-background\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -934,7 +934,7 @@ request.Imagename is null pathTemplate: "\"/v1/remove-background\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -956,7 +956,7 @@ request.Imagename is null pathTemplate: "\"/v1/remove-background\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1355,7 +1355,7 @@ request.Imagename is null pathTemplate: "\"/v1/remove-background\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -1389,7 +1389,7 @@ request.Imagename is null pathTemplate: "\"/v1/remove-background\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -1430,7 +1430,7 @@ request.Imagename is null pathTemplate: "\"/v1/remove-background\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1478,7 +1478,7 @@ request.Imagename is null pathTemplate: "\"/v1/remove-background\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1500,7 +1500,7 @@ request.Imagename is null pathTemplate: "\"/v1/remove-background\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostRemoveObject.g.cs b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostRemoveObject.g.cs index 7cd3563c..0c65eeb8 100644 --- a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostRemoveObject.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostRemoveObject.g.cs @@ -287,7 +287,7 @@ request.Maskname is null pathTemplate: "\"/v1/remove-object\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -321,7 +321,7 @@ request.Maskname is null pathTemplate: "\"/v1/remove-object\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -362,7 +362,7 @@ request.Maskname is null pathTemplate: "\"/v1/remove-object\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -410,7 +410,7 @@ request.Maskname is null pathTemplate: "\"/v1/remove-object\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -432,7 +432,7 @@ request.Maskname is null pathTemplate: "\"/v1/remove-object\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1000,7 +1000,7 @@ request.Maskname is null pathTemplate: "\"/v1/remove-object\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -1034,7 +1034,7 @@ request.Maskname is null pathTemplate: "\"/v1/remove-object\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -1075,7 +1075,7 @@ request.Maskname is null pathTemplate: "\"/v1/remove-object\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1123,7 +1123,7 @@ request.Maskname is null pathTemplate: "\"/v1/remove-object\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1145,7 +1145,7 @@ request.Maskname is null pathTemplate: "\"/v1/remove-object\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1643,7 +1643,7 @@ request.Maskname is null pathTemplate: "\"/v1/remove-object\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -1677,7 +1677,7 @@ request.Maskname is null pathTemplate: "\"/v1/remove-object\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -1718,7 +1718,7 @@ request.Maskname is null pathTemplate: "\"/v1/remove-object\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1766,7 +1766,7 @@ request.Maskname is null pathTemplate: "\"/v1/remove-object\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1788,7 +1788,7 @@ request.Maskname is null pathTemplate: "\"/v1/remove-object\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostReplaceBackgroundV3.g.cs b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostReplaceBackgroundV3.g.cs index a420bccc..f6644667 100644 --- a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostReplaceBackgroundV3.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostReplaceBackgroundV3.g.cs @@ -309,7 +309,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v3/replace-background\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -343,7 +343,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v3/replace-background\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -384,7 +384,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v3/replace-background\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -432,7 +432,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v3/replace-background\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -454,7 +454,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v3/replace-background\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1131,7 +1131,7 @@ __fileNameStyleReferenceImages is null pathTemplate: "\"/v1/ideogram-v3/replace-background\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -1165,7 +1165,7 @@ __fileNameStyleReferenceImages is null pathTemplate: "\"/v1/ideogram-v3/replace-background\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -1206,7 +1206,7 @@ __fileNameStyleReferenceImages is null pathTemplate: "\"/v1/ideogram-v3/replace-background\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1254,7 +1254,7 @@ __fileNameStyleReferenceImages is null pathTemplate: "\"/v1/ideogram-v3/replace-background\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1276,7 +1276,7 @@ __fileNameStyleReferenceImages is null pathTemplate: "\"/v1/ideogram-v3/replace-background\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1854,7 +1854,7 @@ __fileNameStyleReferenceImages is null pathTemplate: "\"/v1/ideogram-v3/replace-background\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -1888,7 +1888,7 @@ __fileNameStyleReferenceImages is null pathTemplate: "\"/v1/ideogram-v3/replace-background\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -1929,7 +1929,7 @@ __fileNameStyleReferenceImages is null pathTemplate: "\"/v1/ideogram-v3/replace-background\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1977,7 +1977,7 @@ __fileNameStyleReferenceImages is null pathTemplate: "\"/v1/ideogram-v3/replace-background\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1999,7 +1999,7 @@ __fileNameStyleReferenceImages is null pathTemplate: "\"/v1/ideogram-v3/replace-background\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostResizeImageAsync.g.cs b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostResizeImageAsync.g.cs index 639391cf..c831b19b 100644 --- a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostResizeImageAsync.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostResizeImageAsync.g.cs @@ -323,7 +323,7 @@ request.Imagename is null pathTemplate: "\"/v1/async/ad-resizer\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -357,7 +357,7 @@ request.Imagename is null pathTemplate: "\"/v1/async/ad-resizer\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -398,7 +398,7 @@ request.Imagename is null pathTemplate: "\"/v1/async/ad-resizer\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -446,7 +446,7 @@ request.Imagename is null pathTemplate: "\"/v1/async/ad-resizer\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -468,7 +468,7 @@ request.Imagename is null pathTemplate: "\"/v1/async/ad-resizer\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostSnapMask.g.cs b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostSnapMask.g.cs index 9ace1b22..0c087a12 100644 --- a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostSnapMask.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostSnapMask.g.cs @@ -254,7 +254,7 @@ request.Maskname is null pathTemplate: "\"/v1/snap-mask\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -288,7 +288,7 @@ request.Maskname is null pathTemplate: "\"/v1/snap-mask\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -329,7 +329,7 @@ request.Maskname is null pathTemplate: "\"/v1/snap-mask\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -377,7 +377,7 @@ request.Maskname is null pathTemplate: "\"/v1/snap-mask\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -399,7 +399,7 @@ request.Maskname is null pathTemplate: "\"/v1/snap-mask\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -748,7 +748,7 @@ request.Maskname is null pathTemplate: "\"/v1/snap-mask\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -782,7 +782,7 @@ request.Maskname is null pathTemplate: "\"/v1/snap-mask\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -823,7 +823,7 @@ request.Maskname is null pathTemplate: "\"/v1/snap-mask\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -871,7 +871,7 @@ request.Maskname is null pathTemplate: "\"/v1/snap-mask\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -893,7 +893,7 @@ request.Maskname is null pathTemplate: "\"/v1/snap-mask\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1341,7 +1341,7 @@ request.Maskname is null pathTemplate: "\"/v1/snap-mask\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -1375,7 +1375,7 @@ request.Maskname is null pathTemplate: "\"/v1/snap-mask\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -1416,7 +1416,7 @@ request.Maskname is null pathTemplate: "\"/v1/snap-mask\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1464,7 +1464,7 @@ request.Maskname is null pathTemplate: "\"/v1/snap-mask\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1486,7 +1486,7 @@ request.Maskname is null pathTemplate: "\"/v1/snap-mask\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1885,7 +1885,7 @@ request.Maskname is null pathTemplate: "\"/v1/snap-mask\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -1919,7 +1919,7 @@ request.Maskname is null pathTemplate: "\"/v1/snap-mask\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -1960,7 +1960,7 @@ request.Maskname is null pathTemplate: "\"/v1/snap-mask\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -2008,7 +2008,7 @@ request.Maskname is null pathTemplate: "\"/v1/snap-mask\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -2030,7 +2030,7 @@ request.Maskname is null pathTemplate: "\"/v1/snap-mask\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -2400,7 +2400,7 @@ request.Maskname is null pathTemplate: "\"/v1/snap-mask\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -2434,7 +2434,7 @@ request.Maskname is null pathTemplate: "\"/v1/snap-mask\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -2475,7 +2475,7 @@ request.Maskname is null pathTemplate: "\"/v1/snap-mask\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -2523,7 +2523,7 @@ request.Maskname is null pathTemplate: "\"/v1/snap-mask\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -2545,7 +2545,7 @@ request.Maskname is null pathTemplate: "\"/v1/snap-mask\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostTryOnV3.g.cs b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostTryOnV3.g.cs index d1def87f..388a5725 100644 --- a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostTryOnV3.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostTryOnV3.g.cs @@ -302,7 +302,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v3/try-on\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -336,7 +336,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v3/try-on\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -377,7 +377,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v3/try-on\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -425,7 +425,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v3/try-on\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -447,7 +447,7 @@ request.Imagename is null pathTemplate: "\"/v1/ideogram-v3/try-on\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1112,7 +1112,7 @@ __fileNameProductReferenceImages is null pathTemplate: "\"/v1/ideogram-v3/try-on\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -1146,7 +1146,7 @@ __fileNameProductReferenceImages is null pathTemplate: "\"/v1/ideogram-v3/try-on\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -1187,7 +1187,7 @@ __fileNameProductReferenceImages is null pathTemplate: "\"/v1/ideogram-v3/try-on\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1235,7 +1235,7 @@ __fileNameProductReferenceImages is null pathTemplate: "\"/v1/ideogram-v3/try-on\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1257,7 +1257,7 @@ __fileNameProductReferenceImages is null pathTemplate: "\"/v1/ideogram-v3/try-on\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1825,7 +1825,7 @@ __fileNameProductReferenceImages is null pathTemplate: "\"/v1/ideogram-v3/try-on\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -1859,7 +1859,7 @@ __fileNameProductReferenceImages is null pathTemplate: "\"/v1/ideogram-v3/try-on\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -1900,7 +1900,7 @@ __fileNameProductReferenceImages is null pathTemplate: "\"/v1/ideogram-v3/try-on\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1948,7 +1948,7 @@ __fileNameProductReferenceImages is null pathTemplate: "\"/v1/ideogram-v3/try-on\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1970,7 +1970,7 @@ __fileNameProductReferenceImages is null pathTemplate: "\"/v1/ideogram-v3/try-on\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostUpscaleImage.g.cs b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostUpscaleImage.g.cs index 805a7d3b..c389d9fa 100644 --- a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostUpscaleImage.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostUpscaleImage.g.cs @@ -224,7 +224,7 @@ request.ImageFilename is null pathTemplate: "\"/upscale\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -258,7 +258,7 @@ request.ImageFilename is null pathTemplate: "\"/upscale\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -299,7 +299,7 @@ request.ImageFilename is null pathTemplate: "\"/upscale\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -347,7 +347,7 @@ request.ImageFilename is null pathTemplate: "\"/upscale\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -369,7 +369,7 @@ request.ImageFilename is null pathTemplate: "\"/upscale\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -821,7 +821,7 @@ request.ImageFilename is null pathTemplate: "\"/upscale\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -855,7 +855,7 @@ request.ImageFilename is null pathTemplate: "\"/upscale\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -896,7 +896,7 @@ request.ImageFilename is null pathTemplate: "\"/upscale\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -944,7 +944,7 @@ request.ImageFilename is null pathTemplate: "\"/upscale\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -966,7 +966,7 @@ request.ImageFilename is null pathTemplate: "\"/upscale\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1372,7 +1372,7 @@ request.ImageFilename is null pathTemplate: "\"/upscale\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -1406,7 +1406,7 @@ request.ImageFilename is null pathTemplate: "\"/upscale\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -1447,7 +1447,7 @@ request.ImageFilename is null pathTemplate: "\"/upscale\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1495,7 +1495,7 @@ request.ImageFilename is null pathTemplate: "\"/upscale\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1517,7 +1517,7 @@ request.ImageFilename is null pathTemplate: "\"/upscale\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostV1EditImage.g.cs b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostV1EditImage.g.cs index 39e8bf1c..8f5f45ba 100644 --- a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostV1EditImage.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostV1EditImage.g.cs @@ -271,7 +271,7 @@ partial void ProcessPostV1EditImageResponseContent( pathTemplate: "\"/v1/edit\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -305,7 +305,7 @@ partial void ProcessPostV1EditImageResponseContent( pathTemplate: "\"/v1/edit\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -346,7 +346,7 @@ partial void ProcessPostV1EditImageResponseContent( pathTemplate: "\"/v1/edit\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -394,7 +394,7 @@ partial void ProcessPostV1EditImageResponseContent( pathTemplate: "\"/v1/edit\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -416,7 +416,7 @@ partial void ProcessPostV1EditImageResponseContent( pathTemplate: "\"/v1/edit\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostV1EditLiteImage.g.cs b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostV1EditLiteImage.g.cs index a924476d..f0eee7f1 100644 --- a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostV1EditLiteImage.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostV1EditLiteImage.g.cs @@ -305,7 +305,7 @@ request.Imagename is null pathTemplate: "\"/v1/edit-lite\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -339,7 +339,7 @@ request.Imagename is null pathTemplate: "\"/v1/edit-lite\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -380,7 +380,7 @@ request.Imagename is null pathTemplate: "\"/v1/edit-lite\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -428,7 +428,7 @@ request.Imagename is null pathTemplate: "\"/v1/edit-lite\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -450,7 +450,7 @@ request.Imagename is null pathTemplate: "\"/v1/edit-lite\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1179,7 +1179,7 @@ __fileNameReferenceImages is null pathTemplate: "\"/v1/edit-lite\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -1213,7 +1213,7 @@ __fileNameReferenceImages is null pathTemplate: "\"/v1/edit-lite\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -1254,7 +1254,7 @@ __fileNameReferenceImages is null pathTemplate: "\"/v1/edit-lite\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1302,7 +1302,7 @@ __fileNameReferenceImages is null pathTemplate: "\"/v1/edit-lite\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1324,7 +1324,7 @@ __fileNameReferenceImages is null pathTemplate: "\"/v1/edit-lite\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1952,7 +1952,7 @@ __fileNameReferenceImages is null pathTemplate: "\"/v1/edit-lite\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -1986,7 +1986,7 @@ __fileNameReferenceImages is null pathTemplate: "\"/v1/edit-lite\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -2027,7 +2027,7 @@ __fileNameReferenceImages is null pathTemplate: "\"/v1/edit-lite\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -2075,7 +2075,7 @@ __fileNameReferenceImages is null pathTemplate: "\"/v1/edit-lite\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -2097,7 +2097,7 @@ __fileNameReferenceImages is null pathTemplate: "\"/v1/edit-lite\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ImageDescribeClient.PostDescribeImageIdeogramV3.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImageDescribeClient.PostDescribeImageIdeogramV3.g.cs index 82372192..4a16f2ec 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ImageDescribeClient.PostDescribeImageIdeogramV3.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ImageDescribeClient.PostDescribeImageIdeogramV3.g.cs @@ -243,7 +243,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/describe/ideogram-3\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -277,7 +277,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/describe/ideogram-3\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -318,7 +318,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/describe/ideogram-3\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -366,7 +366,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/describe/ideogram-3\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -388,7 +388,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/describe/ideogram-3\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ImageDescribeClient.PostDescribeImageIdeogramV4.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImageDescribeClient.PostDescribeImageIdeogramV4.g.cs index 18658e75..89246062 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ImageDescribeClient.PostDescribeImageIdeogramV4.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ImageDescribeClient.PostDescribeImageIdeogramV4.g.cs @@ -273,7 +273,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/describe/ideogram-4\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -307,7 +307,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/describe/ideogram-4\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -348,7 +348,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/describe/ideogram-4\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -396,7 +396,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/describe/ideogram-4\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -418,7 +418,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/describe/ideogram-4\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2GptImage2.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2GptImage2.g.cs index 07783550..c938d218 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2GptImage2.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2GptImage2.g.cs @@ -323,7 +323,7 @@ partial void ProcessPostGenerateImageV2GptImage2ResponseContent( pathTemplate: "\"/v2/image/generate/gpt-image-2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -357,7 +357,7 @@ partial void ProcessPostGenerateImageV2GptImage2ResponseContent( pathTemplate: "\"/v2/image/generate/gpt-image-2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -398,7 +398,7 @@ partial void ProcessPostGenerateImageV2GptImage2ResponseContent( pathTemplate: "\"/v2/image/generate/gpt-image-2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -446,7 +446,7 @@ partial void ProcessPostGenerateImageV2GptImage2ResponseContent( pathTemplate: "\"/v2/image/generate/gpt-image-2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -468,7 +468,7 @@ partial void ProcessPostGenerateImageV2GptImage2ResponseContent( pathTemplate: "\"/v2/image/generate/gpt-image-2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2GptImage25Flare.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2GptImage25Flare.g.cs index 8537abaa..5451d5ab 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2GptImage25Flare.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2GptImage25Flare.g.cs @@ -385,7 +385,7 @@ request.Maskname is null pathTemplate: "\"/v2/image/generate/gpt-image-2-5-flare\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -419,7 +419,7 @@ request.Maskname is null pathTemplate: "\"/v2/image/generate/gpt-image-2-5-flare\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -460,7 +460,7 @@ request.Maskname is null pathTemplate: "\"/v2/image/generate/gpt-image-2-5-flare\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -508,7 +508,7 @@ request.Maskname is null pathTemplate: "\"/v2/image/generate/gpt-image-2-5-flare\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -530,7 +530,7 @@ request.Maskname is null pathTemplate: "\"/v2/image/generate/gpt-image-2-5-flare\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2GptImage25Sunburst.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2GptImage25Sunburst.g.cs index d8045d80..48d91794 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2GptImage25Sunburst.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2GptImage25Sunburst.g.cs @@ -385,7 +385,7 @@ request.Maskname is null pathTemplate: "\"/v2/image/generate/gpt-image-2-5-sunburst\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -419,7 +419,7 @@ request.Maskname is null pathTemplate: "\"/v2/image/generate/gpt-image-2-5-sunburst\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -460,7 +460,7 @@ request.Maskname is null pathTemplate: "\"/v2/image/generate/gpt-image-2-5-sunburst\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -508,7 +508,7 @@ request.Maskname is null pathTemplate: "\"/v2/image/generate/gpt-image-2-5-sunburst\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -530,7 +530,7 @@ request.Maskname is null pathTemplate: "\"/v2/image/generate/gpt-image-2-5-sunburst\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2Ideogram45.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2Ideogram45.g.cs index ca5ef633..d58dbd8c 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2Ideogram45.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2Ideogram45.g.cs @@ -397,7 +397,7 @@ request.Maskname is null pathTemplate: "\"/v2/image/generate/ideogram-4-5\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -431,7 +431,7 @@ request.Maskname is null pathTemplate: "\"/v2/image/generate/ideogram-4-5\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -472,7 +472,7 @@ request.Maskname is null pathTemplate: "\"/v2/image/generate/ideogram-4-5\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -520,7 +520,7 @@ request.Maskname is null pathTemplate: "\"/v2/image/generate/ideogram-4-5\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -542,7 +542,7 @@ request.Maskname is null pathTemplate: "\"/v2/image/generate/ideogram-4-5\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2IdeogramV2.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2IdeogramV2.g.cs index a6f395be..69f3ae2e 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2IdeogramV2.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2IdeogramV2.g.cs @@ -216,7 +216,7 @@ partial void ProcessPostGenerateImageV2IdeogramV2ResponseContent( pathTemplate: "\"/v2/image/generate/ideogram-2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -250,7 +250,7 @@ partial void ProcessPostGenerateImageV2IdeogramV2ResponseContent( pathTemplate: "\"/v2/image/generate/ideogram-2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -291,7 +291,7 @@ partial void ProcessPostGenerateImageV2IdeogramV2ResponseContent( pathTemplate: "\"/v2/image/generate/ideogram-2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -339,7 +339,7 @@ partial void ProcessPostGenerateImageV2IdeogramV2ResponseContent( pathTemplate: "\"/v2/image/generate/ideogram-2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -361,7 +361,7 @@ partial void ProcessPostGenerateImageV2IdeogramV2ResponseContent( pathTemplate: "\"/v2/image/generate/ideogram-2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2IdeogramV2A.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2IdeogramV2A.g.cs index 3af959b5..cc41dad8 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2IdeogramV2A.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2IdeogramV2A.g.cs @@ -216,7 +216,7 @@ partial void ProcessPostGenerateImageV2IdeogramV2AResponseContent( pathTemplate: "\"/v2/image/generate/ideogram-2a\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -250,7 +250,7 @@ partial void ProcessPostGenerateImageV2IdeogramV2AResponseContent( pathTemplate: "\"/v2/image/generate/ideogram-2a\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -291,7 +291,7 @@ partial void ProcessPostGenerateImageV2IdeogramV2AResponseContent( pathTemplate: "\"/v2/image/generate/ideogram-2a\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -339,7 +339,7 @@ partial void ProcessPostGenerateImageV2IdeogramV2AResponseContent( pathTemplate: "\"/v2/image/generate/ideogram-2a\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -361,7 +361,7 @@ partial void ProcessPostGenerateImageV2IdeogramV2AResponseContent( pathTemplate: "\"/v2/image/generate/ideogram-2a\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2IdeogramV3.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2IdeogramV3.g.cs index d63f548d..aaaf99cd 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2IdeogramV3.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2IdeogramV3.g.cs @@ -397,7 +397,7 @@ partial void ProcessPostGenerateImageV2IdeogramV3ResponseContent( pathTemplate: "\"/v2/image/generate/ideogram-3\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -431,7 +431,7 @@ partial void ProcessPostGenerateImageV2IdeogramV3ResponseContent( pathTemplate: "\"/v2/image/generate/ideogram-3\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -472,7 +472,7 @@ partial void ProcessPostGenerateImageV2IdeogramV3ResponseContent( pathTemplate: "\"/v2/image/generate/ideogram-3\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -520,7 +520,7 @@ partial void ProcessPostGenerateImageV2IdeogramV3ResponseContent( pathTemplate: "\"/v2/image/generate/ideogram-3\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -542,7 +542,7 @@ partial void ProcessPostGenerateImageV2IdeogramV3ResponseContent( pathTemplate: "\"/v2/image/generate/ideogram-3\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2IdeogramV3Character.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2IdeogramV3Character.g.cs index c97af9fb..9eee149f 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2IdeogramV3Character.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2IdeogramV3Character.g.cs @@ -473,7 +473,7 @@ request.CharacterReferenceMaskname is null pathTemplate: "\"/v2/image/generate/ideogram-3-character\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -507,7 +507,7 @@ request.CharacterReferenceMaskname is null pathTemplate: "\"/v2/image/generate/ideogram-3-character\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -548,7 +548,7 @@ request.CharacterReferenceMaskname is null pathTemplate: "\"/v2/image/generate/ideogram-3-character\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -596,7 +596,7 @@ request.CharacterReferenceMaskname is null pathTemplate: "\"/v2/image/generate/ideogram-3-character\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -618,7 +618,7 @@ request.CharacterReferenceMaskname is null pathTemplate: "\"/v2/image/generate/ideogram-3-character\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2IdeogramV3CustomModel.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2IdeogramV3CustomModel.g.cs index 3c7ee4a1..485ae721 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2IdeogramV3CustomModel.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2IdeogramV3CustomModel.g.cs @@ -371,7 +371,7 @@ partial void ProcessPostGenerateImageV2IdeogramV3CustomModelResponseContent( pathTemplate: "\"/v2/image/generate/ideogram-3-custom-model\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -405,7 +405,7 @@ partial void ProcessPostGenerateImageV2IdeogramV3CustomModelResponseContent( pathTemplate: "\"/v2/image/generate/ideogram-3-custom-model\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -446,7 +446,7 @@ partial void ProcessPostGenerateImageV2IdeogramV3CustomModelResponseContent( pathTemplate: "\"/v2/image/generate/ideogram-3-custom-model\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -494,7 +494,7 @@ partial void ProcessPostGenerateImageV2IdeogramV3CustomModelResponseContent( pathTemplate: "\"/v2/image/generate/ideogram-3-custom-model\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -516,7 +516,7 @@ partial void ProcessPostGenerateImageV2IdeogramV3CustomModelResponseContent( pathTemplate: "\"/v2/image/generate/ideogram-3-custom-model\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2IdeogramV3Transparent.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2IdeogramV3Transparent.g.cs index 2aedd28e..5db27ec6 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2IdeogramV3Transparent.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2IdeogramV3Transparent.g.cs @@ -216,7 +216,7 @@ partial void ProcessPostGenerateImageV2IdeogramV3TransparentResponseContent( pathTemplate: "\"/v2/image/generate/ideogram-3-transparent\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -250,7 +250,7 @@ partial void ProcessPostGenerateImageV2IdeogramV3TransparentResponseContent( pathTemplate: "\"/v2/image/generate/ideogram-3-transparent\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -291,7 +291,7 @@ partial void ProcessPostGenerateImageV2IdeogramV3TransparentResponseContent( pathTemplate: "\"/v2/image/generate/ideogram-3-transparent\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -339,7 +339,7 @@ partial void ProcessPostGenerateImageV2IdeogramV3TransparentResponseContent( pathTemplate: "\"/v2/image/generate/ideogram-3-transparent\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -361,7 +361,7 @@ partial void ProcessPostGenerateImageV2IdeogramV3TransparentResponseContent( pathTemplate: "\"/v2/image/generate/ideogram-3-transparent\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2IdeogramV4.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2IdeogramV4.g.cs index 35cfcc32..c3a695d8 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2IdeogramV4.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2IdeogramV4.g.cs @@ -230,7 +230,7 @@ partial void ProcessPostGenerateImageV2IdeogramV4ResponseContent( pathTemplate: "\"/v2/image/generate/ideogram-4\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -264,7 +264,7 @@ partial void ProcessPostGenerateImageV2IdeogramV4ResponseContent( pathTemplate: "\"/v2/image/generate/ideogram-4\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -305,7 +305,7 @@ partial void ProcessPostGenerateImageV2IdeogramV4ResponseContent( pathTemplate: "\"/v2/image/generate/ideogram-4\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -353,7 +353,7 @@ partial void ProcessPostGenerateImageV2IdeogramV4ResponseContent( pathTemplate: "\"/v2/image/generate/ideogram-4\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -375,7 +375,7 @@ partial void ProcessPostGenerateImageV2IdeogramV4ResponseContent( pathTemplate: "\"/v2/image/generate/ideogram-4\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2IdeogramV4CustomModel.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2IdeogramV4CustomModel.g.cs index 0f8593b0..d3b19097 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2IdeogramV4CustomModel.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2IdeogramV4CustomModel.g.cs @@ -222,7 +222,7 @@ partial void ProcessPostGenerateImageV2IdeogramV4CustomModelResponseContent( pathTemplate: "\"/v2/image/generate/ideogram-4-custom-model\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -256,7 +256,7 @@ partial void ProcessPostGenerateImageV2IdeogramV4CustomModelResponseContent( pathTemplate: "\"/v2/image/generate/ideogram-4-custom-model\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -297,7 +297,7 @@ partial void ProcessPostGenerateImageV2IdeogramV4CustomModelResponseContent( pathTemplate: "\"/v2/image/generate/ideogram-4-custom-model\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -345,7 +345,7 @@ partial void ProcessPostGenerateImageV2IdeogramV4CustomModelResponseContent( pathTemplate: "\"/v2/image/generate/ideogram-4-custom-model\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -367,7 +367,7 @@ partial void ProcessPostGenerateImageV2IdeogramV4CustomModelResponseContent( pathTemplate: "\"/v2/image/generate/ideogram-4-custom-model\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2IdeogramV4Transparent.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2IdeogramV4Transparent.g.cs index 5ee62733..a032432d 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2IdeogramV4Transparent.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2IdeogramV4Transparent.g.cs @@ -234,7 +234,7 @@ partial void ProcessPostGenerateImageV2IdeogramV4TransparentResponseContent( pathTemplate: "\"/v2/image/generate/ideogram-4-transparent\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -268,7 +268,7 @@ partial void ProcessPostGenerateImageV2IdeogramV4TransparentResponseContent( pathTemplate: "\"/v2/image/generate/ideogram-4-transparent\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -309,7 +309,7 @@ partial void ProcessPostGenerateImageV2IdeogramV4TransparentResponseContent( pathTemplate: "\"/v2/image/generate/ideogram-4-transparent\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -357,7 +357,7 @@ partial void ProcessPostGenerateImageV2IdeogramV4TransparentResponseContent( pathTemplate: "\"/v2/image/generate/ideogram-4-transparent\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -379,7 +379,7 @@ partial void ProcessPostGenerateImageV2IdeogramV4TransparentResponseContent( pathTemplate: "\"/v2/image/generate/ideogram-4-transparent\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2NanoBanana2.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2NanoBanana2.g.cs index 9684502c..c839ff12 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2NanoBanana2.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2NanoBanana2.g.cs @@ -323,7 +323,7 @@ partial void ProcessPostGenerateImageV2NanoBanana2ResponseContent( pathTemplate: "\"/v2/image/generate/nano-banana-2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -357,7 +357,7 @@ partial void ProcessPostGenerateImageV2NanoBanana2ResponseContent( pathTemplate: "\"/v2/image/generate/nano-banana-2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -398,7 +398,7 @@ partial void ProcessPostGenerateImageV2NanoBanana2ResponseContent( pathTemplate: "\"/v2/image/generate/nano-banana-2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -446,7 +446,7 @@ partial void ProcessPostGenerateImageV2NanoBanana2ResponseContent( pathTemplate: "\"/v2/image/generate/nano-banana-2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -468,7 +468,7 @@ partial void ProcessPostGenerateImageV2NanoBanana2ResponseContent( pathTemplate: "\"/v2/image/generate/nano-banana-2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2NanoBananaPro.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2NanoBananaPro.g.cs index 8fb747e3..81343efe 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2NanoBananaPro.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2NanoBananaPro.g.cs @@ -323,7 +323,7 @@ partial void ProcessPostGenerateImageV2NanoBananaProResponseContent( pathTemplate: "\"/v2/image/generate/nano-banana-pro\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -357,7 +357,7 @@ partial void ProcessPostGenerateImageV2NanoBananaProResponseContent( pathTemplate: "\"/v2/image/generate/nano-banana-pro\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -398,7 +398,7 @@ partial void ProcessPostGenerateImageV2NanoBananaProResponseContent( pathTemplate: "\"/v2/image/generate/nano-banana-pro\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -446,7 +446,7 @@ partial void ProcessPostGenerateImageV2NanoBananaProResponseContent( pathTemplate: "\"/v2/image/generate/nano-banana-pro\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -468,7 +468,7 @@ partial void ProcessPostGenerateImageV2NanoBananaProResponseContent( pathTemplate: "\"/v2/image/generate/nano-banana-pro\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2PImageIdeogram.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2PImageIdeogram.g.cs index 78e35a4d..b22ce34b 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2PImageIdeogram.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2PImageIdeogram.g.cs @@ -218,7 +218,7 @@ partial void ProcessPostGenerateImageV2PImageIdeogramResponseContent( pathTemplate: "\"/v2/image/generate/p-image-ideogram\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -252,7 +252,7 @@ partial void ProcessPostGenerateImageV2PImageIdeogramResponseContent( pathTemplate: "\"/v2/image/generate/p-image-ideogram\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -293,7 +293,7 @@ partial void ProcessPostGenerateImageV2PImageIdeogramResponseContent( pathTemplate: "\"/v2/image/generate/p-image-ideogram\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -341,7 +341,7 @@ partial void ProcessPostGenerateImageV2PImageIdeogramResponseContent( pathTemplate: "\"/v2/image/generate/p-image-ideogram\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -363,7 +363,7 @@ partial void ProcessPostGenerateImageV2PImageIdeogramResponseContent( pathTemplate: "\"/v2/image/generate/p-image-ideogram\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2ZImage.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2ZImage.g.cs index 5f9cc6c0..adcc1e3d 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2ZImage.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2ZImage.g.cs @@ -214,7 +214,7 @@ partial void ProcessPostGenerateImageV2ZImageResponseContent( pathTemplate: "\"/v2/image/generate/z-image\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -248,7 +248,7 @@ partial void ProcessPostGenerateImageV2ZImageResponseContent( pathTemplate: "\"/v2/image/generate/z-image\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -289,7 +289,7 @@ partial void ProcessPostGenerateImageV2ZImageResponseContent( pathTemplate: "\"/v2/image/generate/z-image\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -337,7 +337,7 @@ partial void ProcessPostGenerateImageV2ZImageResponseContent( pathTemplate: "\"/v2/image/generate/z-image\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -359,7 +359,7 @@ partial void ProcessPostGenerateImageV2ZImageResponseContent( pathTemplate: "\"/v2/image/generate/z-image\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ImagesInpaintClient.PostInpaintImageV2IdeogramV3.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImagesInpaintClient.PostInpaintImageV2IdeogramV3.g.cs index 1a65d9bb..5cfc4680 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ImagesInpaintClient.PostInpaintImageV2IdeogramV3.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ImagesInpaintClient.PostInpaintImageV2IdeogramV3.g.cs @@ -483,7 +483,7 @@ request.Maskname is null pathTemplate: "\"/v2/image/inpaint/ideogram-3\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -517,7 +517,7 @@ request.Maskname is null pathTemplate: "\"/v2/image/inpaint/ideogram-3\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -558,7 +558,7 @@ request.Maskname is null pathTemplate: "\"/v2/image/inpaint/ideogram-3\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -606,7 +606,7 @@ request.Maskname is null pathTemplate: "\"/v2/image/inpaint/ideogram-3\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -628,7 +628,7 @@ request.Maskname is null pathTemplate: "\"/v2/image/inpaint/ideogram-3\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ImagesInpaintClient.PostInpaintImageV2IdeogramV3Character.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImagesInpaintClient.PostInpaintImageV2IdeogramV3Character.g.cs index a667f3f3..6b45b872 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ImagesInpaintClient.PostInpaintImageV2IdeogramV3Character.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ImagesInpaintClient.PostInpaintImageV2IdeogramV3Character.g.cs @@ -577,7 +577,7 @@ request.CharacterReferenceMaskname is null pathTemplate: "\"/v2/image/inpaint/ideogram-3-character\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -611,7 +611,7 @@ request.CharacterReferenceMaskname is null pathTemplate: "\"/v2/image/inpaint/ideogram-3-character\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -652,7 +652,7 @@ request.CharacterReferenceMaskname is null pathTemplate: "\"/v2/image/inpaint/ideogram-3-character\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -700,7 +700,7 @@ request.CharacterReferenceMaskname is null pathTemplate: "\"/v2/image/inpaint/ideogram-3-character\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -722,7 +722,7 @@ request.CharacterReferenceMaskname is null pathTemplate: "\"/v2/image/inpaint/ideogram-3-character\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ImagesInpaintClient.PostInpaintImageV2IdeogramV3CustomModel.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImagesInpaintClient.PostInpaintImageV2IdeogramV3CustomModel.g.cs index 44f7ee56..4c2e1950 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ImagesInpaintClient.PostInpaintImageV2IdeogramV3CustomModel.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ImagesInpaintClient.PostInpaintImageV2IdeogramV3CustomModel.g.cs @@ -453,7 +453,7 @@ request.Maskname is null pathTemplate: "\"/v2/image/inpaint/ideogram-3-custom-model\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -487,7 +487,7 @@ request.Maskname is null pathTemplate: "\"/v2/image/inpaint/ideogram-3-custom-model\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -528,7 +528,7 @@ request.Maskname is null pathTemplate: "\"/v2/image/inpaint/ideogram-3-custom-model\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -576,7 +576,7 @@ request.Maskname is null pathTemplate: "\"/v2/image/inpaint/ideogram-3-custom-model\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -598,7 +598,7 @@ request.Maskname is null pathTemplate: "\"/v2/image/inpaint/ideogram-3-custom-model\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ImagesPreciseEditClient.PostPreciseEditImageV2Ideogram45.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImagesPreciseEditClient.PostPreciseEditImageV2Ideogram45.g.cs index 4f4bc1c5..769dd895 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ImagesPreciseEditClient.PostPreciseEditImageV2Ideogram45.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ImagesPreciseEditClient.PostPreciseEditImageV2Ideogram45.g.cs @@ -447,7 +447,7 @@ request.Maskname is null pathTemplate: "\"/v2/image/precise-edit/ideogram-4-5\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -481,7 +481,7 @@ request.Maskname is null pathTemplate: "\"/v2/image/precise-edit/ideogram-4-5\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -522,7 +522,7 @@ request.Maskname is null pathTemplate: "\"/v2/image/precise-edit/ideogram-4-5\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -570,7 +570,7 @@ request.Maskname is null pathTemplate: "\"/v2/image/precise-edit/ideogram-4-5\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -592,7 +592,7 @@ request.Maskname is null pathTemplate: "\"/v2/image/precise-edit/ideogram-4-5\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ImagesReframeClient.IdeogramV3.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImagesReframeClient.IdeogramV3.g.cs index f015b1bf..a119a5d8 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ImagesReframeClient.IdeogramV3.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ImagesReframeClient.IdeogramV3.g.cs @@ -353,7 +353,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/reframe/ideogram-3\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -387,7 +387,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/reframe/ideogram-3\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -428,7 +428,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/reframe/ideogram-3\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -476,7 +476,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/reframe/ideogram-3\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -498,7 +498,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/reframe/ideogram-3\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ImagesReframeClient.NanoBanana2.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImagesReframeClient.NanoBanana2.g.cs index 53bd577c..e55097c7 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ImagesReframeClient.NanoBanana2.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ImagesReframeClient.NanoBanana2.g.cs @@ -285,7 +285,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/reframe/nano-banana-2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -319,7 +319,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/reframe/nano-banana-2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -360,7 +360,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/reframe/nano-banana-2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -408,7 +408,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/reframe/nano-banana-2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -430,7 +430,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/reframe/nano-banana-2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ImagesRemixClient.PostRemixImageV2IdeogramV3.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImagesRemixClient.PostRemixImageV2IdeogramV3.g.cs index 4010dbbd..8d6eb232 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ImagesRemixClient.PostRemixImageV2IdeogramV3.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ImagesRemixClient.PostRemixImageV2IdeogramV3.g.cs @@ -469,7 +469,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/remix/ideogram-3\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -503,7 +503,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/remix/ideogram-3\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -544,7 +544,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/remix/ideogram-3\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -592,7 +592,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/remix/ideogram-3\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -614,7 +614,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/remix/ideogram-3\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ImagesRemixClient.PostRemixImageV2IdeogramV3Character.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImagesRemixClient.PostRemixImageV2IdeogramV3Character.g.cs index 6f565e76..7644de26 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ImagesRemixClient.PostRemixImageV2IdeogramV3Character.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ImagesRemixClient.PostRemixImageV2IdeogramV3Character.g.cs @@ -547,7 +547,7 @@ request.CharacterReferenceMaskname is null pathTemplate: "\"/v2/image/remix/ideogram-3-character\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -581,7 +581,7 @@ request.CharacterReferenceMaskname is null pathTemplate: "\"/v2/image/remix/ideogram-3-character\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -622,7 +622,7 @@ request.CharacterReferenceMaskname is null pathTemplate: "\"/v2/image/remix/ideogram-3-character\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -670,7 +670,7 @@ request.CharacterReferenceMaskname is null pathTemplate: "\"/v2/image/remix/ideogram-3-character\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -692,7 +692,7 @@ request.CharacterReferenceMaskname is null pathTemplate: "\"/v2/image/remix/ideogram-3-character\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ImagesRemixClient.PostRemixImageV2IdeogramV3CustomModel.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImagesRemixClient.PostRemixImageV2IdeogramV3CustomModel.g.cs index 0239dff3..f3268ae0 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ImagesRemixClient.PostRemixImageV2IdeogramV3CustomModel.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ImagesRemixClient.PostRemixImageV2IdeogramV3CustomModel.g.cs @@ -445,7 +445,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/remix/ideogram-3-custom-model\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -479,7 +479,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/remix/ideogram-3-custom-model\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -520,7 +520,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/remix/ideogram-3-custom-model\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -568,7 +568,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/remix/ideogram-3-custom-model\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -590,7 +590,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/remix/ideogram-3-custom-model\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ImagesRemixClient.PostRemixImageV2IdeogramV4.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImagesRemixClient.PostRemixImageV2IdeogramV4.g.cs index b7df3563..68546150 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ImagesRemixClient.PostRemixImageV2IdeogramV4.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ImagesRemixClient.PostRemixImageV2IdeogramV4.g.cs @@ -363,7 +363,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/remix/ideogram-4\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -397,7 +397,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/remix/ideogram-4\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -438,7 +438,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/remix/ideogram-4\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -486,7 +486,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/remix/ideogram-4\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -508,7 +508,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/remix/ideogram-4\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ImagesUpscaleClient.PostUpscaleImageNanoBananaPro.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImagesUpscaleClient.PostUpscaleImageNanoBananaPro.g.cs index 2a823289..7d1664a9 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ImagesUpscaleClient.PostUpscaleImageNanoBananaPro.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ImagesUpscaleClient.PostUpscaleImageNanoBananaPro.g.cs @@ -339,7 +339,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/upscale/nano-banana-pro\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -373,7 +373,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/upscale/nano-banana-pro\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -414,7 +414,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/upscale/nano-banana-pro\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -462,7 +462,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/upscale/nano-banana-pro\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -484,7 +484,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/upscale/nano-banana-pro\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ImagesUpscaleClient.PostUpscaleImageTopazBloom2.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImagesUpscaleClient.PostUpscaleImageTopazBloom2.g.cs index dc9606c9..dcb7f7b0 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ImagesUpscaleClient.PostUpscaleImageTopazBloom2.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ImagesUpscaleClient.PostUpscaleImageTopazBloom2.g.cs @@ -353,7 +353,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/upscale/topaz-bloom-2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -387,7 +387,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/upscale/topaz-bloom-2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -428,7 +428,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/upscale/topaz-bloom-2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -476,7 +476,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/upscale/topaz-bloom-2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -498,7 +498,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/upscale/topaz-bloom-2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ImagesUpscaleClient.PostUpscaleImageTopazRedefine.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImagesUpscaleClient.PostUpscaleImageTopazRedefine.g.cs index 3ad445d0..90461bed 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ImagesUpscaleClient.PostUpscaleImageTopazRedefine.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ImagesUpscaleClient.PostUpscaleImageTopazRedefine.g.cs @@ -429,7 +429,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/upscale/topaz-redefine\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -463,7 +463,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/upscale/topaz-redefine\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -504,7 +504,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/upscale/topaz-redefine\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -552,7 +552,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/upscale/topaz-redefine\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -574,7 +574,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/upscale/topaz-redefine\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ImagesUpscaleClient.PostUpscaleImageTopazStandardV2.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImagesUpscaleClient.PostUpscaleImageTopazStandardV2.g.cs index 5a16d159..68d672eb 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ImagesUpscaleClient.PostUpscaleImageTopazStandardV2.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ImagesUpscaleClient.PostUpscaleImageTopazStandardV2.g.cs @@ -381,7 +381,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/upscale/topaz-standard-2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -415,7 +415,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/upscale/topaz-standard-2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -456,7 +456,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/upscale/topaz-standard-2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -504,7 +504,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/upscale/topaz-standard-2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -526,7 +526,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/upscale/topaz-standard-2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ImagesUpscaleClient.PostUpscaleImageTopazTextRefine.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImagesUpscaleClient.PostUpscaleImageTopazTextRefine.g.cs index 7876672d..26deb12c 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ImagesUpscaleClient.PostUpscaleImageTopazTextRefine.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ImagesUpscaleClient.PostUpscaleImageTopazTextRefine.g.cs @@ -389,7 +389,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/upscale/topaz-text-refine\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -423,7 +423,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/upscale/topaz-text-refine\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -464,7 +464,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/upscale/topaz-text-refine\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -512,7 +512,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/upscale/topaz-text-refine\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -534,7 +534,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/upscale/topaz-text-refine\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ImagesUpscaleClient.PostUpscaleImageTopazWonder35.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImagesUpscaleClient.PostUpscaleImageTopazWonder35.g.cs index 5580cf48..48c913b2 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ImagesUpscaleClient.PostUpscaleImageTopazWonder35.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ImagesUpscaleClient.PostUpscaleImageTopazWonder35.g.cs @@ -337,7 +337,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/upscale/topaz-wonder-3-5\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -371,7 +371,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/upscale/topaz-wonder-3-5\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -412,7 +412,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/upscale/topaz-wonder-3-5\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -460,7 +460,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/upscale/topaz-wonder-3-5\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -482,7 +482,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/upscale/topaz-wonder-3-5\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.IntegrationsClient.GetIntegrationAssetDelivery.g.cs b/src/libs/Ideogram/Generated/Ideogram.IntegrationsClient.GetIntegrationAssetDelivery.g.cs index c7f42ee8..0fb6d1e7 100644 --- a/src/libs/Ideogram/Generated/Ideogram.IntegrationsClient.GetIntegrationAssetDelivery.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.IntegrationsClient.GetIntegrationAssetDelivery.g.cs @@ -147,7 +147,7 @@ partial void ProcessGetIntegrationAssetDeliveryResponseContent( PrepareGetIntegrationAssetDeliveryRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - externalRef: externalRef!); + externalRef: externalRef); return __httpRequest; } @@ -169,7 +169,7 @@ partial void ProcessGetIntegrationAssetDeliveryResponseContent( pathTemplate: "$\"/integration-assets/{externalRef}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -203,7 +203,7 @@ partial void ProcessGetIntegrationAssetDeliveryResponseContent( pathTemplate: "$\"/integration-assets/{externalRef}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -244,7 +244,7 @@ partial void ProcessGetIntegrationAssetDeliveryResponseContent( pathTemplate: "$\"/integration-assets/{externalRef}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -292,7 +292,7 @@ partial void ProcessGetIntegrationAssetDeliveryResponseContent( pathTemplate: "$\"/integration-assets/{externalRef}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -314,7 +314,7 @@ partial void ProcessGetIntegrationAssetDeliveryResponseContent( pathTemplate: "$\"/integration-assets/{externalRef}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -573,7 +573,7 @@ partial void ProcessGetIntegrationAssetDeliveryResponseContent( PrepareGetIntegrationAssetDeliveryRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - externalRef: externalRef!); + externalRef: externalRef); return __httpRequest; } @@ -595,7 +595,7 @@ partial void ProcessGetIntegrationAssetDeliveryResponseContent( pathTemplate: "$\"/integration-assets/{externalRef}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -629,7 +629,7 @@ partial void ProcessGetIntegrationAssetDeliveryResponseContent( pathTemplate: "$\"/integration-assets/{externalRef}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -670,7 +670,7 @@ partial void ProcessGetIntegrationAssetDeliveryResponseContent( pathTemplate: "$\"/integration-assets/{externalRef}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -718,7 +718,7 @@ partial void ProcessGetIntegrationAssetDeliveryResponseContent( pathTemplate: "$\"/integration-assets/{externalRef}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -740,7 +740,7 @@ partial void ProcessGetIntegrationAssetDeliveryResponseContent( pathTemplate: "$\"/integration-assets/{externalRef}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.IntegrationsClient.GetIntegrations.g.cs b/src/libs/Ideogram/Generated/Ideogram.IntegrationsClient.GetIntegrations.g.cs index e62fa1fa..07eb486e 100644 --- a/src/libs/Ideogram/Generated/Ideogram.IntegrationsClient.GetIntegrations.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.IntegrationsClient.GetIntegrations.g.cs @@ -160,7 +160,7 @@ partial void ProcessGetIntegrationsResponseContent( pathTemplate: "\"/v2/integrations\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -194,7 +194,7 @@ partial void ProcessGetIntegrationsResponseContent( pathTemplate: "\"/v2/integrations\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -235,7 +235,7 @@ partial void ProcessGetIntegrationsResponseContent( pathTemplate: "\"/v2/integrations\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -283,7 +283,7 @@ partial void ProcessGetIntegrationsResponseContent( pathTemplate: "\"/v2/integrations\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -305,7 +305,7 @@ partial void ProcessGetIntegrationsResponseContent( pathTemplate: "\"/v2/integrations\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.IntegrationsClient.PostIntegrationAssetsSearch.g.cs b/src/libs/Ideogram/Generated/Ideogram.IntegrationsClient.PostIntegrationAssetsSearch.g.cs index 00e7ff1e..c6b91c83 100644 --- a/src/libs/Ideogram/Generated/Ideogram.IntegrationsClient.PostIntegrationAssetsSearch.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.IntegrationsClient.PostIntegrationAssetsSearch.g.cs @@ -168,7 +168,7 @@ partial void ProcessPostIntegrationAssetsSearchResponseContent( PreparePostIntegrationAssetsSearchRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - integrationType: integrationType!, + integrationType: integrationType, request: request); return __httpRequest; @@ -191,7 +191,7 @@ partial void ProcessPostIntegrationAssetsSearchResponseContent( pathTemplate: "$\"/v2/integrations/{(global::System.Uri.EscapeDataString(integrationType.ToValueString()))}/assets/search\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -225,7 +225,7 @@ partial void ProcessPostIntegrationAssetsSearchResponseContent( pathTemplate: "$\"/v2/integrations/{(global::System.Uri.EscapeDataString(integrationType.ToValueString()))}/assets/search\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -266,7 +266,7 @@ partial void ProcessPostIntegrationAssetsSearchResponseContent( pathTemplate: "$\"/v2/integrations/{(global::System.Uri.EscapeDataString(integrationType.ToValueString()))}/assets/search\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -314,7 +314,7 @@ partial void ProcessPostIntegrationAssetsSearchResponseContent( pathTemplate: "$\"/v2/integrations/{(global::System.Uri.EscapeDataString(integrationType.ToValueString()))}/assets/search\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -336,7 +336,7 @@ partial void ProcessPostIntegrationAssetsSearchResponseContent( pathTemplate: "$\"/v2/integrations/{(global::System.Uri.EscapeDataString(integrationType.ToValueString()))}/assets/search\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.InternalTestingClient.PostInternalTesting.g.cs b/src/libs/Ideogram/Generated/Ideogram.InternalTestingClient.PostInternalTesting.g.cs index 9f29228c..04924958 100644 --- a/src/libs/Ideogram/Generated/Ideogram.InternalTestingClient.PostInternalTesting.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.InternalTestingClient.PostInternalTesting.g.cs @@ -367,7 +367,7 @@ request.AnotherImageFilename is null pathTemplate: "\"/internal-testing\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -401,7 +401,7 @@ request.AnotherImageFilename is null pathTemplate: "\"/internal-testing\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -442,7 +442,7 @@ request.AnotherImageFilename is null pathTemplate: "\"/internal-testing\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -490,7 +490,7 @@ request.AnotherImageFilename is null pathTemplate: "\"/internal-testing\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -512,7 +512,7 @@ request.AnotherImageFilename is null pathTemplate: "\"/internal-testing\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.JsonConverters.ColorPaletteWithPresetNameOrMembers.g.cs b/src/libs/Ideogram/Generated/Ideogram.JsonConverters.ColorPaletteWithPresetNameOrMembers.g.cs index b0ccf082..609e7652 100644 --- a/src/libs/Ideogram/Generated/Ideogram.JsonConverters.ColorPaletteWithPresetNameOrMembers.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.JsonConverters.ColorPaletteWithPresetNameOrMembers.g.cs @@ -128,13 +128,13 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Ideogram.ColorPaletteWithPresetName), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Ideogram.ColorPaletteWithPresetName).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.ColorPaletteWithPresetName!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickColorPaletteWithPresetName(), typeInfo); } else if (value.IsColorPaletteWithMembers) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Ideogram.ColorPaletteWithMembers), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Ideogram.ColorPaletteWithMembers).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.ColorPaletteWithMembers!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickColorPaletteWithMembers(), typeInfo); } } } diff --git a/src/libs/Ideogram/Generated/Ideogram.JsonConverters.DatasetCoverAssetIdentifier.g.cs b/src/libs/Ideogram/Generated/Ideogram.JsonConverters.DatasetCoverAssetIdentifier.g.cs index d8f36cce..b0372023 100644 --- a/src/libs/Ideogram/Generated/Ideogram.JsonConverters.DatasetCoverAssetIdentifier.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.JsonConverters.DatasetCoverAssetIdentifier.g.cs @@ -54,7 +54,7 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Ideogram.AssetIdentifier), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Ideogram.AssetIdentifier).Name}"); - var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.AssetIdentifier!, typeInfo); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickAssetIdentifier(), typeInfo); if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) { throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); diff --git a/src/libs/Ideogram/Generated/Ideogram.JsonConverters.GenerationResponseDataInner.g.cs b/src/libs/Ideogram/Generated/Ideogram.JsonConverters.GenerationResponseDataInner.g.cs index 66246c98..418ee793 100644 --- a/src/libs/Ideogram/Generated/Ideogram.JsonConverters.GenerationResponseDataInner.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.JsonConverters.GenerationResponseDataInner.g.cs @@ -77,25 +77,25 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Ideogram.ImageObjectWithoutPromptOrSeed), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Ideogram.ImageObjectWithoutPromptOrSeed).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.ImageWithoutPromptOrSeed!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickImageWithoutPromptOrSeed(), typeInfo); } else if (value.IsImageGeneration) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Ideogram.ImageGenerationObject), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Ideogram.ImageGenerationObject).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.ImageGeneration!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickImageGeneration(), typeInfo); } else if (value.IsVideoGeneration) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Ideogram.VideoObject), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Ideogram.VideoObject).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.VideoGeneration!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickVideoGeneration(), typeInfo); } else if (value.IsLayerizedImage) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Ideogram.LayerizedImageObject), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Ideogram.LayerizedImageObject).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.LayerizedImage!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickLayerizedImage(), typeInfo); } } } diff --git a/src/libs/Ideogram/Generated/Ideogram.JsonConverters.IdeogramColorPalette.g.cs b/src/libs/Ideogram/Generated/Ideogram.JsonConverters.IdeogramColorPalette.g.cs index 48ef58be..58d3d3ef 100644 --- a/src/libs/Ideogram/Generated/Ideogram.JsonConverters.IdeogramColorPalette.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.JsonConverters.IdeogramColorPalette.g.cs @@ -128,13 +128,13 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Ideogram.IdeogramColorPaletteWithPresetName), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Ideogram.IdeogramColorPaletteWithPresetName).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.IdeogramColorPaletteWithPresetName!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickIdeogramColorPaletteWithPresetName(), typeInfo); } else if (value.IsColorPaletteWithMembers) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Ideogram.ColorPaletteWithMembers), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Ideogram.ColorPaletteWithMembers).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.ColorPaletteWithMembers!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickColorPaletteWithMembers(), typeInfo); } } } diff --git a/src/libs/Ideogram/Generated/Ideogram.JsonConverters.PostGenerateDesignV4200Response.g.cs b/src/libs/Ideogram/Generated/Ideogram.JsonConverters.PostGenerateDesignV4200Response.g.cs index bd42d4d2..a90486bd 100644 --- a/src/libs/Ideogram/Generated/Ideogram.JsonConverters.PostGenerateDesignV4200Response.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.JsonConverters.PostGenerateDesignV4200Response.g.cs @@ -59,13 +59,13 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Ideogram.LayeredImageGenerationResponseV3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Ideogram.LayeredImageGenerationResponseV3).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Layered!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickLayered(), typeInfo); } else if (value.IsUrl) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Ideogram.ImageGenerationResponseV4Layout), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Ideogram.ImageGenerationResponseV4Layout).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Url!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickUrl(), typeInfo); } } } diff --git a/src/libs/Ideogram/Generated/Ideogram.JsonConverters.V4PromptElement.g.cs b/src/libs/Ideogram/Generated/Ideogram.JsonConverters.V4PromptElement.g.cs index a211de93..d2f78496 100644 --- a/src/libs/Ideogram/Generated/Ideogram.JsonConverters.V4PromptElement.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.JsonConverters.V4PromptElement.g.cs @@ -59,13 +59,13 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Ideogram.V4ObjPromptElement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Ideogram.V4ObjPromptElement).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Obj!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickObj(), typeInfo); } else if (value.IsText) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Ideogram.V4TextPromptElement), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Ideogram.V4TextPromptElement).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Text!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickText(), typeInfo); } } } diff --git a/src/libs/Ideogram/Generated/Ideogram.ManageClient.AddOrganizationMembers.g.cs b/src/libs/Ideogram/Generated/Ideogram.ManageClient.AddOrganizationMembers.g.cs index b42896a3..7d2c45a4 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ManageClient.AddOrganizationMembers.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ManageClient.AddOrganizationMembers.g.cs @@ -167,7 +167,7 @@ partial void ProcessAddOrganizationMembersResponseContent( PrepareAddOrganizationMembersRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - organizationId: organizationId!, + organizationId: organizationId, request: request); return __httpRequest; @@ -190,7 +190,7 @@ partial void ProcessAddOrganizationMembersResponseContent( pathTemplate: "\"/manage/api/organization/add_members\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -224,7 +224,7 @@ partial void ProcessAddOrganizationMembersResponseContent( pathTemplate: "\"/manage/api/organization/add_members\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -265,7 +265,7 @@ partial void ProcessAddOrganizationMembersResponseContent( pathTemplate: "\"/manage/api/organization/add_members\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -313,7 +313,7 @@ partial void ProcessAddOrganizationMembersResponseContent( pathTemplate: "\"/manage/api/organization/add_members\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -335,7 +335,7 @@ partial void ProcessAddOrganizationMembersResponseContent( pathTemplate: "\"/manage/api/organization/add_members\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ManageClient.CancelOrganizationInvite.g.cs b/src/libs/Ideogram/Generated/Ideogram.ManageClient.CancelOrganizationInvite.g.cs index d5c8750e..23d47679 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ManageClient.CancelOrganizationInvite.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ManageClient.CancelOrganizationInvite.g.cs @@ -167,7 +167,7 @@ partial void ProcessCancelOrganizationInviteResponseContent( PrepareCancelOrganizationInviteRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - organizationId: organizationId!, + organizationId: organizationId, request: request); return __httpRequest; @@ -190,7 +190,7 @@ partial void ProcessCancelOrganizationInviteResponseContent( pathTemplate: "\"/manage/api/organization/cancel_invite\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -224,7 +224,7 @@ partial void ProcessCancelOrganizationInviteResponseContent( pathTemplate: "\"/manage/api/organization/cancel_invite\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -265,7 +265,7 @@ partial void ProcessCancelOrganizationInviteResponseContent( pathTemplate: "\"/manage/api/organization/cancel_invite\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -313,7 +313,7 @@ partial void ProcessCancelOrganizationInviteResponseContent( pathTemplate: "\"/manage/api/organization/cancel_invite\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -335,7 +335,7 @@ partial void ProcessCancelOrganizationInviteResponseContent( pathTemplate: "\"/manage/api/organization/cancel_invite\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ManageClient.CreateApiKey.g.cs b/src/libs/Ideogram/Generated/Ideogram.ManageClient.CreateApiKey.g.cs index 7e51f39e..2e2e19e8 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ManageClient.CreateApiKey.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ManageClient.CreateApiKey.g.cs @@ -178,7 +178,7 @@ partial void ProcessCreateApiKeyResponseContent( pathTemplate: "\"/manage/api/api_keys\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -212,7 +212,7 @@ partial void ProcessCreateApiKeyResponseContent( pathTemplate: "\"/manage/api/api_keys\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -253,7 +253,7 @@ partial void ProcessCreateApiKeyResponseContent( pathTemplate: "\"/manage/api/api_keys\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -301,7 +301,7 @@ partial void ProcessCreateApiKeyResponseContent( pathTemplate: "\"/manage/api/api_keys\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -323,7 +323,7 @@ partial void ProcessCreateApiKeyResponseContent( pathTemplate: "\"/manage/api/api_keys\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ManageClient.CreateApiKeyV2.g.cs b/src/libs/Ideogram/Generated/Ideogram.ManageClient.CreateApiKeyV2.g.cs index b537e100..ff41aef5 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ManageClient.CreateApiKeyV2.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ManageClient.CreateApiKeyV2.g.cs @@ -167,7 +167,7 @@ partial void ProcessCreateApiKeyV2ResponseContent( PrepareCreateApiKeyV2Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, - organizationId: organizationId!, + organizationId: organizationId, request: request); return __httpRequest; @@ -190,7 +190,7 @@ partial void ProcessCreateApiKeyV2ResponseContent( pathTemplate: "\"/manage/api/api_keys_v2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -224,7 +224,7 @@ partial void ProcessCreateApiKeyV2ResponseContent( pathTemplate: "\"/manage/api/api_keys_v2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -265,7 +265,7 @@ partial void ProcessCreateApiKeyV2ResponseContent( pathTemplate: "\"/manage/api/api_keys_v2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -313,7 +313,7 @@ partial void ProcessCreateApiKeyV2ResponseContent( pathTemplate: "\"/manage/api/api_keys_v2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -335,7 +335,7 @@ partial void ProcessCreateApiKeyV2ResponseContent( pathTemplate: "\"/manage/api/api_keys_v2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ManageClient.CreateApiPayment.g.cs b/src/libs/Ideogram/Generated/Ideogram.ManageClient.CreateApiPayment.g.cs index 33756fac..d7350532 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ManageClient.CreateApiPayment.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ManageClient.CreateApiPayment.g.cs @@ -162,7 +162,7 @@ partial void ProcessCreateApiPaymentResponseContent( PrepareCreateApiPaymentRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - organizationId: organizationId!); + organizationId: organizationId); return __httpRequest; } @@ -184,7 +184,7 @@ partial void ProcessCreateApiPaymentResponseContent( pathTemplate: "\"/manage/api/payment\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -218,7 +218,7 @@ partial void ProcessCreateApiPaymentResponseContent( pathTemplate: "\"/manage/api/payment\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -259,7 +259,7 @@ partial void ProcessCreateApiPaymentResponseContent( pathTemplate: "\"/manage/api/payment\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -307,7 +307,7 @@ partial void ProcessCreateApiPaymentResponseContent( pathTemplate: "\"/manage/api/payment\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -329,7 +329,7 @@ partial void ProcessCreateApiPaymentResponseContent( pathTemplate: "\"/manage/api/payment\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ManageClient.DeactivateOrganizationApiKey.g.cs b/src/libs/Ideogram/Generated/Ideogram.ManageClient.DeactivateOrganizationApiKey.g.cs index 4ecfd037..5c63be9b 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ManageClient.DeactivateOrganizationApiKey.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ManageClient.DeactivateOrganizationApiKey.g.cs @@ -141,7 +141,7 @@ await DeactivateOrganizationApiKeyAsResponseAsync( PrepareDeactivateOrganizationApiKeyRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - apiKeyId: apiKeyId!); + apiKeyId: apiKeyId); return __httpRequest; } @@ -163,7 +163,7 @@ await DeactivateOrganizationApiKeyAsResponseAsync( pathTemplate: "\"/manage/api/organization/deactivate_api_key\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -197,7 +197,7 @@ await DeactivateOrganizationApiKeyAsResponseAsync( pathTemplate: "\"/manage/api/organization/deactivate_api_key\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -238,7 +238,7 @@ await DeactivateOrganizationApiKeyAsResponseAsync( pathTemplate: "\"/manage/api/organization/deactivate_api_key\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -286,7 +286,7 @@ await DeactivateOrganizationApiKeyAsResponseAsync( pathTemplate: "\"/manage/api/organization/deactivate_api_key\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -308,7 +308,7 @@ await DeactivateOrganizationApiKeyAsResponseAsync( pathTemplate: "\"/manage/api/organization/deactivate_api_key\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ManageClient.DeleteSingleApiKey.g.cs b/src/libs/Ideogram/Generated/Ideogram.ManageClient.DeleteSingleApiKey.g.cs index 7f4a913a..8c753721 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ManageClient.DeleteSingleApiKey.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ManageClient.DeleteSingleApiKey.g.cs @@ -138,7 +138,7 @@ await DeleteSingleApiKeyAsResponseAsync( PrepareDeleteSingleApiKeyRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - apiKeyId: apiKeyId!); + apiKeyId: apiKeyId); return __httpRequest; } @@ -160,7 +160,7 @@ await DeleteSingleApiKeyAsResponseAsync( pathTemplate: "$\"/manage/api/api_keys/{apiKeyId}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -194,7 +194,7 @@ await DeleteSingleApiKeyAsResponseAsync( pathTemplate: "$\"/manage/api/api_keys/{apiKeyId}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -235,7 +235,7 @@ await DeleteSingleApiKeyAsResponseAsync( pathTemplate: "$\"/manage/api/api_keys/{apiKeyId}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -283,7 +283,7 @@ await DeleteSingleApiKeyAsResponseAsync( pathTemplate: "$\"/manage/api/api_keys/{apiKeyId}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -305,7 +305,7 @@ await DeleteSingleApiKeyAsResponseAsync( pathTemplate: "$\"/manage/api/api_keys/{apiKeyId}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ManageClient.DemoteOrganizationAdmins.g.cs b/src/libs/Ideogram/Generated/Ideogram.ManageClient.DemoteOrganizationAdmins.g.cs index 2b3a4276..e437bdc1 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ManageClient.DemoteOrganizationAdmins.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ManageClient.DemoteOrganizationAdmins.g.cs @@ -167,7 +167,7 @@ partial void ProcessDemoteOrganizationAdminsResponseContent( PrepareDemoteOrganizationAdminsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - organizationId: organizationId!, + organizationId: organizationId, request: request); return __httpRequest; @@ -190,7 +190,7 @@ partial void ProcessDemoteOrganizationAdminsResponseContent( pathTemplate: "\"/manage/api/organization/demote_admins\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -224,7 +224,7 @@ partial void ProcessDemoteOrganizationAdminsResponseContent( pathTemplate: "\"/manage/api/organization/demote_admins\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -265,7 +265,7 @@ partial void ProcessDemoteOrganizationAdminsResponseContent( pathTemplate: "\"/manage/api/organization/demote_admins\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -313,7 +313,7 @@ partial void ProcessDemoteOrganizationAdminsResponseContent( pathTemplate: "\"/manage/api/organization/demote_admins\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -335,7 +335,7 @@ partial void ProcessDemoteOrganizationAdminsResponseContent( pathTemplate: "\"/manage/api/organization/demote_admins\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ManageClient.GetApiCreditSummary.g.cs b/src/libs/Ideogram/Generated/Ideogram.ManageClient.GetApiCreditSummary.g.cs index 51c4820e..f46fa891 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ManageClient.GetApiCreditSummary.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ManageClient.GetApiCreditSummary.g.cs @@ -154,7 +154,7 @@ partial void ProcessGetApiCreditSummaryResponseContent( PrepareGetApiCreditSummaryRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - organizationId: organizationId!); + organizationId: organizationId); return __httpRequest; } @@ -176,7 +176,7 @@ partial void ProcessGetApiCreditSummaryResponseContent( pathTemplate: "\"/manage/api/credit_summary\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -210,7 +210,7 @@ partial void ProcessGetApiCreditSummaryResponseContent( pathTemplate: "\"/manage/api/credit_summary\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -251,7 +251,7 @@ partial void ProcessGetApiCreditSummaryResponseContent( pathTemplate: "\"/manage/api/credit_summary\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -299,7 +299,7 @@ partial void ProcessGetApiCreditSummaryResponseContent( pathTemplate: "\"/manage/api/credit_summary\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -321,7 +321,7 @@ partial void ProcessGetApiCreditSummaryResponseContent( pathTemplate: "\"/manage/api/credit_summary\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ManageClient.GetApiKeys.g.cs b/src/libs/Ideogram/Generated/Ideogram.ManageClient.GetApiKeys.g.cs index 6a0effc5..86107f5d 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ManageClient.GetApiKeys.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ManageClient.GetApiKeys.g.cs @@ -158,7 +158,7 @@ partial void ProcessGetApiKeysResponseContent( pathTemplate: "\"/manage/api/api_keys\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -192,7 +192,7 @@ partial void ProcessGetApiKeysResponseContent( pathTemplate: "\"/manage/api/api_keys\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -233,7 +233,7 @@ partial void ProcessGetApiKeysResponseContent( pathTemplate: "\"/manage/api/api_keys\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -281,7 +281,7 @@ partial void ProcessGetApiKeysResponseContent( pathTemplate: "\"/manage/api/api_keys\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -303,7 +303,7 @@ partial void ProcessGetApiKeysResponseContent( pathTemplate: "\"/manage/api/api_keys\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ManageClient.GetApiKeysV2.g.cs b/src/libs/Ideogram/Generated/Ideogram.ManageClient.GetApiKeysV2.g.cs index f3e6d9aa..6a7bdd54 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ManageClient.GetApiKeysV2.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ManageClient.GetApiKeysV2.g.cs @@ -148,7 +148,7 @@ partial void ProcessGetApiKeysV2ResponseContent( PrepareGetApiKeysV2Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, - organizationId: organizationId!); + organizationId: organizationId); return __httpRequest; } @@ -170,7 +170,7 @@ partial void ProcessGetApiKeysV2ResponseContent( pathTemplate: "\"/manage/api/organization/api_keys\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -204,7 +204,7 @@ partial void ProcessGetApiKeysV2ResponseContent( pathTemplate: "\"/manage/api/organization/api_keys\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -245,7 +245,7 @@ partial void ProcessGetApiKeysV2ResponseContent( pathTemplate: "\"/manage/api/organization/api_keys\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -293,7 +293,7 @@ partial void ProcessGetApiKeysV2ResponseContent( pathTemplate: "\"/manage/api/organization/api_keys\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -315,7 +315,7 @@ partial void ProcessGetApiKeysV2ResponseContent( pathTemplate: "\"/manage/api/organization/api_keys\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ManageClient.GetApiOrganizationUserSuggestions.g.cs b/src/libs/Ideogram/Generated/Ideogram.ManageClient.GetApiOrganizationUserSuggestions.g.cs index 27c84c77..244c75b3 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ManageClient.GetApiOrganizationUserSuggestions.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ManageClient.GetApiOrganizationUserSuggestions.g.cs @@ -170,7 +170,7 @@ partial void ProcessGetApiOrganizationUserSuggestionsResponseContent( PrepareGetApiOrganizationUserSuggestionsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - organizationId: organizationId!, + organizationId: organizationId, userHandlePrefix: userHandlePrefix, maxItems: maxItems); @@ -194,7 +194,7 @@ partial void ProcessGetApiOrganizationUserSuggestionsResponseContent( pathTemplate: "\"/manage/api/organization/user_suggestions\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -228,7 +228,7 @@ partial void ProcessGetApiOrganizationUserSuggestionsResponseContent( pathTemplate: "\"/manage/api/organization/user_suggestions\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -269,7 +269,7 @@ partial void ProcessGetApiOrganizationUserSuggestionsResponseContent( pathTemplate: "\"/manage/api/organization/user_suggestions\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -317,7 +317,7 @@ partial void ProcessGetApiOrganizationUserSuggestionsResponseContent( pathTemplate: "\"/manage/api/organization/user_suggestions\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -339,7 +339,7 @@ partial void ProcessGetApiOrganizationUserSuggestionsResponseContent( pathTemplate: "\"/manage/api/organization/user_suggestions\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ManageClient.GetApiProfiles.g.cs b/src/libs/Ideogram/Generated/Ideogram.ManageClient.GetApiProfiles.g.cs index f067cfad..89cc5ceb 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ManageClient.GetApiProfiles.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ManageClient.GetApiProfiles.g.cs @@ -158,7 +158,7 @@ partial void ProcessGetApiProfilesResponseContent( pathTemplate: "\"/manage/api/profiles\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -192,7 +192,7 @@ partial void ProcessGetApiProfilesResponseContent( pathTemplate: "\"/manage/api/profiles\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -233,7 +233,7 @@ partial void ProcessGetApiProfilesResponseContent( pathTemplate: "\"/manage/api/profiles\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -281,7 +281,7 @@ partial void ProcessGetApiProfilesResponseContent( pathTemplate: "\"/manage/api/profiles\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -303,7 +303,7 @@ partial void ProcessGetApiProfilesResponseContent( pathTemplate: "\"/manage/api/profiles\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ManageClient.GetApiStripeSubscription.g.cs b/src/libs/Ideogram/Generated/Ideogram.ManageClient.GetApiStripeSubscription.g.cs index cea27fbc..fd64941f 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ManageClient.GetApiStripeSubscription.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ManageClient.GetApiStripeSubscription.g.cs @@ -157,7 +157,7 @@ partial void ProcessGetApiStripeSubscriptionResponseContent( PrepareGetApiStripeSubscriptionRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - organizationId: organizationId!, + organizationId: organizationId, isBusiness: isBusiness); return __httpRequest; @@ -180,7 +180,7 @@ partial void ProcessGetApiStripeSubscriptionResponseContent( pathTemplate: "\"/manage/api/stripe_subscription\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -214,7 +214,7 @@ partial void ProcessGetApiStripeSubscriptionResponseContent( pathTemplate: "\"/manage/api/stripe_subscription\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -255,7 +255,7 @@ partial void ProcessGetApiStripeSubscriptionResponseContent( pathTemplate: "\"/manage/api/stripe_subscription\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -303,7 +303,7 @@ partial void ProcessGetApiStripeSubscriptionResponseContent( pathTemplate: "\"/manage/api/stripe_subscription\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -325,7 +325,7 @@ partial void ProcessGetApiStripeSubscriptionResponseContent( pathTemplate: "\"/manage/api/stripe_subscription\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ManageClient.GetApiSubscription.g.cs b/src/libs/Ideogram/Generated/Ideogram.ManageClient.GetApiSubscription.g.cs index a703250e..94b99365 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ManageClient.GetApiSubscription.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ManageClient.GetApiSubscription.g.cs @@ -148,7 +148,7 @@ partial void ProcessGetApiSubscriptionResponseContent( PrepareGetApiSubscriptionRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - organizationId: organizationId!); + organizationId: organizationId); return __httpRequest; } @@ -170,7 +170,7 @@ partial void ProcessGetApiSubscriptionResponseContent( pathTemplate: "\"/manage/api/subscription\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -204,7 +204,7 @@ partial void ProcessGetApiSubscriptionResponseContent( pathTemplate: "\"/manage/api/subscription\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -245,7 +245,7 @@ partial void ProcessGetApiSubscriptionResponseContent( pathTemplate: "\"/manage/api/subscription\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -293,7 +293,7 @@ partial void ProcessGetApiSubscriptionResponseContent( pathTemplate: "\"/manage/api/subscription\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -315,7 +315,7 @@ partial void ProcessGetApiSubscriptionResponseContent( pathTemplate: "\"/manage/api/subscription\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ManageClient.GetApiTerms.g.cs b/src/libs/Ideogram/Generated/Ideogram.ManageClient.GetApiTerms.g.cs index 6dbd75ce..fecfd110 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ManageClient.GetApiTerms.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ManageClient.GetApiTerms.g.cs @@ -158,7 +158,7 @@ partial void ProcessGetApiTermsResponseContent( pathTemplate: "\"/manage/api/terms\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -192,7 +192,7 @@ partial void ProcessGetApiTermsResponseContent( pathTemplate: "\"/manage/api/terms\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -233,7 +233,7 @@ partial void ProcessGetApiTermsResponseContent( pathTemplate: "\"/manage/api/terms\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -281,7 +281,7 @@ partial void ProcessGetApiTermsResponseContent( pathTemplate: "\"/manage/api/terms\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -303,7 +303,7 @@ partial void ProcessGetApiTermsResponseContent( pathTemplate: "\"/manage/api/terms\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ManageClient.GetOrganizationBillingPortal.g.cs b/src/libs/Ideogram/Generated/Ideogram.ManageClient.GetOrganizationBillingPortal.g.cs index c8e703cc..161ffc3b 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ManageClient.GetOrganizationBillingPortal.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ManageClient.GetOrganizationBillingPortal.g.cs @@ -148,7 +148,7 @@ partial void ProcessGetOrganizationBillingPortalResponseContent( PrepareGetOrganizationBillingPortalRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - organizationId: organizationId!); + organizationId: organizationId); return __httpRequest; } @@ -170,7 +170,7 @@ partial void ProcessGetOrganizationBillingPortalResponseContent( pathTemplate: "\"/manage/api/organization/billing_portal\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -204,7 +204,7 @@ partial void ProcessGetOrganizationBillingPortalResponseContent( pathTemplate: "\"/manage/api/organization/billing_portal\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -245,7 +245,7 @@ partial void ProcessGetOrganizationBillingPortalResponseContent( pathTemplate: "\"/manage/api/organization/billing_portal\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -293,7 +293,7 @@ partial void ProcessGetOrganizationBillingPortalResponseContent( pathTemplate: "\"/manage/api/organization/billing_portal\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -315,7 +315,7 @@ partial void ProcessGetOrganizationBillingPortalResponseContent( pathTemplate: "\"/manage/api/organization/billing_portal\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ManageClient.GetOrganizationMembers.g.cs b/src/libs/Ideogram/Generated/Ideogram.ManageClient.GetOrganizationMembers.g.cs index 5ba5b1c3..2a6efea3 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ManageClient.GetOrganizationMembers.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ManageClient.GetOrganizationMembers.g.cs @@ -150,7 +150,7 @@ partial void ProcessGetOrganizationMembersResponseContent( PrepareGetOrganizationMembersRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - organizationId: organizationId!); + organizationId: organizationId); return __httpRequest; } @@ -172,7 +172,7 @@ partial void ProcessGetOrganizationMembersResponseContent( pathTemplate: "\"/manage/api/organization/members\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -206,7 +206,7 @@ partial void ProcessGetOrganizationMembersResponseContent( pathTemplate: "\"/manage/api/organization/members\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -247,7 +247,7 @@ partial void ProcessGetOrganizationMembersResponseContent( pathTemplate: "\"/manage/api/organization/members\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -295,7 +295,7 @@ partial void ProcessGetOrganizationMembersResponseContent( pathTemplate: "\"/manage/api/organization/members\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -317,7 +317,7 @@ partial void ProcessGetOrganizationMembersResponseContent( pathTemplate: "\"/manage/api/organization/members\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ManageClient.GetUsageInfo.g.cs b/src/libs/Ideogram/Generated/Ideogram.ManageClient.GetUsageInfo.g.cs index 345e82fe..d36216ca 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ManageClient.GetUsageInfo.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ManageClient.GetUsageInfo.g.cs @@ -248,9 +248,9 @@ partial void ProcessGetUsageInfoResponseContent( PrepareGetUsageInfoRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - organizationId: organizationId!, - segmentBy: segmentBy!, - startTime: startTime!, + organizationId: organizationId, + segmentBy: segmentBy, + startTime: startTime, endTime: endTime, modelVersions: modelVersions, tools: tools, @@ -278,7 +278,7 @@ partial void ProcessGetUsageInfoResponseContent( pathTemplate: "\"/manage/api/usage\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -312,7 +312,7 @@ partial void ProcessGetUsageInfoResponseContent( pathTemplate: "\"/manage/api/usage\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -353,7 +353,7 @@ partial void ProcessGetUsageInfoResponseContent( pathTemplate: "\"/manage/api/usage\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -401,7 +401,7 @@ partial void ProcessGetUsageInfoResponseContent( pathTemplate: "\"/manage/api/usage\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -423,7 +423,7 @@ partial void ProcessGetUsageInfoResponseContent( pathTemplate: "\"/manage/api/usage\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ManageClient.GetUserCredits.g.cs b/src/libs/Ideogram/Generated/Ideogram.ManageClient.GetUserCredits.g.cs index 02d2d41e..bb66bb25 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ManageClient.GetUserCredits.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ManageClient.GetUserCredits.g.cs @@ -166,8 +166,8 @@ partial void ProcessGetUserCreditsResponseContent( PrepareGetUserCreditsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - organizationId: organizationId!, - startTime: startTime!, + organizationId: organizationId, + startTime: startTime, endTime: endTime); return __httpRequest; @@ -190,7 +190,7 @@ partial void ProcessGetUserCreditsResponseContent( pathTemplate: "\"/manage/api/credits\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -224,7 +224,7 @@ partial void ProcessGetUserCreditsResponseContent( pathTemplate: "\"/manage/api/credits\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -265,7 +265,7 @@ partial void ProcessGetUserCreditsResponseContent( pathTemplate: "\"/manage/api/credits\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -313,7 +313,7 @@ partial void ProcessGetUserCreditsResponseContent( pathTemplate: "\"/manage/api/credits\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -335,7 +335,7 @@ partial void ProcessGetUserCreditsResponseContent( pathTemplate: "\"/manage/api/credits\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ManageClient.GetUserSpendCommitInfo.g.cs b/src/libs/Ideogram/Generated/Ideogram.ManageClient.GetUserSpendCommitInfo.g.cs index 3b41d7a1..46959a02 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ManageClient.GetUserSpendCommitInfo.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ManageClient.GetUserSpendCommitInfo.g.cs @@ -157,7 +157,7 @@ partial void ProcessGetUserSpendCommitInfoResponseContent( PrepareGetUserSpendCommitInfoRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - organizationId: organizationId!, + organizationId: organizationId, postpaidOnly: postpaidOnly); return __httpRequest; @@ -180,7 +180,7 @@ partial void ProcessGetUserSpendCommitInfoResponseContent( pathTemplate: "\"/manage/api/spend_commit\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -214,7 +214,7 @@ partial void ProcessGetUserSpendCommitInfoResponseContent( pathTemplate: "\"/manage/api/spend_commit\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -255,7 +255,7 @@ partial void ProcessGetUserSpendCommitInfoResponseContent( pathTemplate: "\"/manage/api/spend_commit\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -303,7 +303,7 @@ partial void ProcessGetUserSpendCommitInfoResponseContent( pathTemplate: "\"/manage/api/spend_commit\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -325,7 +325,7 @@ partial void ProcessGetUserSpendCommitInfoResponseContent( pathTemplate: "\"/manage/api/spend_commit\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ManageClient.ListOrganizationInvoices.g.cs b/src/libs/Ideogram/Generated/Ideogram.ManageClient.ListOrganizationInvoices.g.cs index 721c1de1..e53a152a 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ManageClient.ListOrganizationInvoices.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ManageClient.ListOrganizationInvoices.g.cs @@ -148,7 +148,7 @@ partial void ProcessListOrganizationInvoicesResponseContent( PrepareListOrganizationInvoicesRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - organizationId: organizationId!); + organizationId: organizationId); return __httpRequest; } @@ -170,7 +170,7 @@ partial void ProcessListOrganizationInvoicesResponseContent( pathTemplate: "\"/manage/api/organization/list_invoices\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -204,7 +204,7 @@ partial void ProcessListOrganizationInvoicesResponseContent( pathTemplate: "\"/manage/api/organization/list_invoices\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -245,7 +245,7 @@ partial void ProcessListOrganizationInvoicesResponseContent( pathTemplate: "\"/manage/api/organization/list_invoices\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -293,7 +293,7 @@ partial void ProcessListOrganizationInvoicesResponseContent( pathTemplate: "\"/manage/api/organization/list_invoices\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -315,7 +315,7 @@ partial void ProcessListOrganizationInvoicesResponseContent( pathTemplate: "\"/manage/api/organization/list_invoices\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ManageClient.PostAddCreditsForApi.g.cs b/src/libs/Ideogram/Generated/Ideogram.ManageClient.PostAddCreditsForApi.g.cs index 2d24e292..36d8b3ed 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ManageClient.PostAddCreditsForApi.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ManageClient.PostAddCreditsForApi.g.cs @@ -167,7 +167,7 @@ partial void ProcessPostAddCreditsForApiResponseContent( PreparePostAddCreditsForApiRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - organizationId: organizationId!, + organizationId: organizationId, request: request); return __httpRequest; @@ -190,7 +190,7 @@ partial void ProcessPostAddCreditsForApiResponseContent( pathTemplate: "\"/manage/api/add_credits\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -224,7 +224,7 @@ partial void ProcessPostAddCreditsForApiResponseContent( pathTemplate: "\"/manage/api/add_credits\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -265,7 +265,7 @@ partial void ProcessPostAddCreditsForApiResponseContent( pathTemplate: "\"/manage/api/add_credits\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -313,7 +313,7 @@ partial void ProcessPostAddCreditsForApiResponseContent( pathTemplate: "\"/manage/api/add_credits\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -335,7 +335,7 @@ partial void ProcessPostAddCreditsForApiResponseContent( pathTemplate: "\"/manage/api/add_credits\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ManageClient.PostApiSubscription.g.cs b/src/libs/Ideogram/Generated/Ideogram.ManageClient.PostApiSubscription.g.cs index 82a10396..8eeab70a 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ManageClient.PostApiSubscription.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ManageClient.PostApiSubscription.g.cs @@ -167,7 +167,7 @@ partial void ProcessPostApiSubscriptionResponseContent( PreparePostApiSubscriptionRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - organizationId: organizationId!, + organizationId: organizationId, request: request); return __httpRequest; @@ -190,7 +190,7 @@ partial void ProcessPostApiSubscriptionResponseContent( pathTemplate: "\"/manage/api/subscription\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -224,7 +224,7 @@ partial void ProcessPostApiSubscriptionResponseContent( pathTemplate: "\"/manage/api/subscription\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -265,7 +265,7 @@ partial void ProcessPostApiSubscriptionResponseContent( pathTemplate: "\"/manage/api/subscription\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -313,7 +313,7 @@ partial void ProcessPostApiSubscriptionResponseContent( pathTemplate: "\"/manage/api/subscription\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -335,7 +335,7 @@ partial void ProcessPostApiSubscriptionResponseContent( pathTemplate: "\"/manage/api/subscription\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ManageClient.PostApiTerms.g.cs b/src/libs/Ideogram/Generated/Ideogram.ManageClient.PostApiTerms.g.cs index 63ec2dc0..ba322147 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ManageClient.PostApiTerms.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ManageClient.PostApiTerms.g.cs @@ -171,7 +171,7 @@ await PostApiTermsAsResponseAsync( pathTemplate: "\"/manage/api/terms\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -205,7 +205,7 @@ await PostApiTermsAsResponseAsync( pathTemplate: "\"/manage/api/terms\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -246,7 +246,7 @@ await PostApiTermsAsResponseAsync( pathTemplate: "\"/manage/api/terms\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -294,7 +294,7 @@ await PostApiTermsAsResponseAsync( pathTemplate: "\"/manage/api/terms\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -316,7 +316,7 @@ await PostApiTermsAsResponseAsync( pathTemplate: "\"/manage/api/terms\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ManageClient.PromoteOrganizationAdmins.g.cs b/src/libs/Ideogram/Generated/Ideogram.ManageClient.PromoteOrganizationAdmins.g.cs index 5fd6ca76..f50cc425 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ManageClient.PromoteOrganizationAdmins.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ManageClient.PromoteOrganizationAdmins.g.cs @@ -167,7 +167,7 @@ partial void ProcessPromoteOrganizationAdminsResponseContent( PreparePromoteOrganizationAdminsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - organizationId: organizationId!, + organizationId: organizationId, request: request); return __httpRequest; @@ -190,7 +190,7 @@ partial void ProcessPromoteOrganizationAdminsResponseContent( pathTemplate: "\"/manage/api/organization/promote_admins\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -224,7 +224,7 @@ partial void ProcessPromoteOrganizationAdminsResponseContent( pathTemplate: "\"/manage/api/organization/promote_admins\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -265,7 +265,7 @@ partial void ProcessPromoteOrganizationAdminsResponseContent( pathTemplate: "\"/manage/api/organization/promote_admins\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -313,7 +313,7 @@ partial void ProcessPromoteOrganizationAdminsResponseContent( pathTemplate: "\"/manage/api/organization/promote_admins\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -335,7 +335,7 @@ partial void ProcessPromoteOrganizationAdminsResponseContent( pathTemplate: "\"/manage/api/organization/promote_admins\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ManageClient.ReactivateSubscription.g.cs b/src/libs/Ideogram/Generated/Ideogram.ManageClient.ReactivateSubscription.g.cs index a97465c3..b79ff337 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ManageClient.ReactivateSubscription.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ManageClient.ReactivateSubscription.g.cs @@ -158,7 +158,7 @@ partial void ProcessReactivateSubscriptionResponseContent( pathTemplate: "\"/manage/api/reactivate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -192,7 +192,7 @@ partial void ProcessReactivateSubscriptionResponseContent( pathTemplate: "\"/manage/api/reactivate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -233,7 +233,7 @@ partial void ProcessReactivateSubscriptionResponseContent( pathTemplate: "\"/manage/api/reactivate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -281,7 +281,7 @@ partial void ProcessReactivateSubscriptionResponseContent( pathTemplate: "\"/manage/api/reactivate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -303,7 +303,7 @@ partial void ProcessReactivateSubscriptionResponseContent( pathTemplate: "\"/manage/api/reactivate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ManageClient.RemoveOrganizationMembers.g.cs b/src/libs/Ideogram/Generated/Ideogram.ManageClient.RemoveOrganizationMembers.g.cs index 202ba5d2..8a2b8d99 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ManageClient.RemoveOrganizationMembers.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ManageClient.RemoveOrganizationMembers.g.cs @@ -167,7 +167,7 @@ partial void ProcessRemoveOrganizationMembersResponseContent( PrepareRemoveOrganizationMembersRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - organizationId: organizationId!, + organizationId: organizationId, request: request); return __httpRequest; @@ -190,7 +190,7 @@ partial void ProcessRemoveOrganizationMembersResponseContent( pathTemplate: "\"/manage/api/organization/remove_members\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -224,7 +224,7 @@ partial void ProcessRemoveOrganizationMembersResponseContent( pathTemplate: "\"/manage/api/organization/remove_members\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -265,7 +265,7 @@ partial void ProcessRemoveOrganizationMembersResponseContent( pathTemplate: "\"/manage/api/organization/remove_members\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -313,7 +313,7 @@ partial void ProcessRemoveOrganizationMembersResponseContent( pathTemplate: "\"/manage/api/organization/remove_members\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -335,7 +335,7 @@ partial void ProcessRemoveOrganizationMembersResponseContent( pathTemplate: "\"/manage/api/organization/remove_members\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ManageClient.ResendOrganizationInvite.g.cs b/src/libs/Ideogram/Generated/Ideogram.ManageClient.ResendOrganizationInvite.g.cs index 22f51e63..8d21e233 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ManageClient.ResendOrganizationInvite.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ManageClient.ResendOrganizationInvite.g.cs @@ -167,7 +167,7 @@ partial void ProcessResendOrganizationInviteResponseContent( PrepareResendOrganizationInviteRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - organizationId: organizationId!, + organizationId: organizationId, request: request); return __httpRequest; @@ -190,7 +190,7 @@ partial void ProcessResendOrganizationInviteResponseContent( pathTemplate: "\"/manage/api/organization/resend_invite\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -224,7 +224,7 @@ partial void ProcessResendOrganizationInviteResponseContent( pathTemplate: "\"/manage/api/organization/resend_invite\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -265,7 +265,7 @@ partial void ProcessResendOrganizationInviteResponseContent( pathTemplate: "\"/manage/api/organization/resend_invite\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -313,7 +313,7 @@ partial void ProcessResendOrganizationInviteResponseContent( pathTemplate: "\"/manage/api/organization/resend_invite\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -335,7 +335,7 @@ partial void ProcessResendOrganizationInviteResponseContent( pathTemplate: "\"/manage/api/organization/resend_invite\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ManageClient.UpdateOrganizationApiProperties.g.cs b/src/libs/Ideogram/Generated/Ideogram.ManageClient.UpdateOrganizationApiProperties.g.cs index b31d129a..97ffb22b 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ManageClient.UpdateOrganizationApiProperties.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ManageClient.UpdateOrganizationApiProperties.g.cs @@ -170,7 +170,7 @@ partial void ProcessUpdateOrganizationApiPropertiesResponseContent( PrepareUpdateOrganizationApiPropertiesRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - organizationId: organizationId!, + organizationId: organizationId, request: request); return __httpRequest; @@ -193,7 +193,7 @@ partial void ProcessUpdateOrganizationApiPropertiesResponseContent( pathTemplate: "$\"/manage/api/organization/{organizationId}/api_properties\"", httpMethod: "PATCH", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -227,7 +227,7 @@ partial void ProcessUpdateOrganizationApiPropertiesResponseContent( pathTemplate: "$\"/manage/api/organization/{organizationId}/api_properties\"", httpMethod: "PATCH", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -268,7 +268,7 @@ partial void ProcessUpdateOrganizationApiPropertiesResponseContent( pathTemplate: "$\"/manage/api/organization/{organizationId}/api_properties\"", httpMethod: "PATCH", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -316,7 +316,7 @@ partial void ProcessUpdateOrganizationApiPropertiesResponseContent( pathTemplate: "$\"/manage/api/organization/{organizationId}/api_properties\"", httpMethod: "PATCH", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -338,7 +338,7 @@ partial void ProcessUpdateOrganizationApiPropertiesResponseContent( pathTemplate: "$\"/manage/api/organization/{organizationId}/api_properties\"", httpMethod: "PATCH", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ManageClient.UpdateSingleApiKey.g.cs b/src/libs/Ideogram/Generated/Ideogram.ManageClient.UpdateSingleApiKey.g.cs index 585ee839..6856b196 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ManageClient.UpdateSingleApiKey.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ManageClient.UpdateSingleApiKey.g.cs @@ -164,7 +164,7 @@ partial void ProcessUpdateSingleApiKeyResponseContent( PrepareUpdateSingleApiKeyRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - apiKeyId: apiKeyId!, + apiKeyId: apiKeyId, request: request); return __httpRequest; @@ -187,7 +187,7 @@ partial void ProcessUpdateSingleApiKeyResponseContent( pathTemplate: "$\"/manage/api/api_keys/{apiKeyId}\"", httpMethod: "PATCH", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -221,7 +221,7 @@ partial void ProcessUpdateSingleApiKeyResponseContent( pathTemplate: "$\"/manage/api/api_keys/{apiKeyId}\"", httpMethod: "PATCH", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -262,7 +262,7 @@ partial void ProcessUpdateSingleApiKeyResponseContent( pathTemplate: "$\"/manage/api/api_keys/{apiKeyId}\"", httpMethod: "PATCH", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -310,7 +310,7 @@ partial void ProcessUpdateSingleApiKeyResponseContent( pathTemplate: "$\"/manage/api/api_keys/{apiKeyId}\"", httpMethod: "PATCH", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -332,7 +332,7 @@ partial void ProcessUpdateSingleApiKeyResponseContent( pathTemplate: "$\"/manage/api/api_keys/{apiKeyId}\"", httpMethod: "PATCH", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.MiniAppsClient.GetMiniAppMarketingProjection.g.cs b/src/libs/Ideogram/Generated/Ideogram.MiniAppsClient.GetMiniAppMarketingProjection.g.cs index 4ff5aaee..5287b2e1 100644 --- a/src/libs/Ideogram/Generated/Ideogram.MiniAppsClient.GetMiniAppMarketingProjection.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.MiniAppsClient.GetMiniAppMarketingProjection.g.cs @@ -160,7 +160,7 @@ partial void ProcessGetMiniAppMarketingProjectionResponseContent( pathTemplate: "\"/mini-apps/marketing-projection\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -194,7 +194,7 @@ partial void ProcessGetMiniAppMarketingProjectionResponseContent( pathTemplate: "\"/mini-apps/marketing-projection\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -235,7 +235,7 @@ partial void ProcessGetMiniAppMarketingProjectionResponseContent( pathTemplate: "\"/mini-apps/marketing-projection\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -283,7 +283,7 @@ partial void ProcessGetMiniAppMarketingProjectionResponseContent( pathTemplate: "\"/mini-apps/marketing-projection\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -305,7 +305,7 @@ partial void ProcessGetMiniAppMarketingProjectionResponseContent( pathTemplate: "\"/mini-apps/marketing-projection\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.MiniAppsClient.GetStalePreviewMiniApps.g.cs b/src/libs/Ideogram/Generated/Ideogram.MiniAppsClient.GetStalePreviewMiniApps.g.cs index cb776605..fce32e2e 100644 --- a/src/libs/Ideogram/Generated/Ideogram.MiniAppsClient.GetStalePreviewMiniApps.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.MiniAppsClient.GetStalePreviewMiniApps.g.cs @@ -150,7 +150,7 @@ partial void ProcessGetStalePreviewMiniAppsResponseContent( PrepareGetStalePreviewMiniAppsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - cutoff: cutoff!); + cutoff: cutoff); return __httpRequest; } @@ -172,7 +172,7 @@ partial void ProcessGetStalePreviewMiniAppsResponseContent( pathTemplate: "\"/mini-apps/stale-previews\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -206,7 +206,7 @@ partial void ProcessGetStalePreviewMiniAppsResponseContent( pathTemplate: "\"/mini-apps/stale-previews\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -247,7 +247,7 @@ partial void ProcessGetStalePreviewMiniAppsResponseContent( pathTemplate: "\"/mini-apps/stale-previews\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -295,7 +295,7 @@ partial void ProcessGetStalePreviewMiniAppsResponseContent( pathTemplate: "\"/mini-apps/stale-previews\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -317,7 +317,7 @@ partial void ProcessGetStalePreviewMiniAppsResponseContent( pathTemplate: "\"/mini-apps/stale-previews\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.MiniAppsClient.PublishMiniApp.g.cs b/src/libs/Ideogram/Generated/Ideogram.MiniAppsClient.PublishMiniApp.g.cs index 59693dca..1e28d8e8 100644 --- a/src/libs/Ideogram/Generated/Ideogram.MiniAppsClient.PublishMiniApp.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.MiniAppsClient.PublishMiniApp.g.cs @@ -180,7 +180,7 @@ partial void ProcessPublishMiniAppResponseContent( pathTemplate: "\"/mini-apps/publish\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -214,7 +214,7 @@ partial void ProcessPublishMiniAppResponseContent( pathTemplate: "\"/mini-apps/publish\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -255,7 +255,7 @@ partial void ProcessPublishMiniAppResponseContent( pathTemplate: "\"/mini-apps/publish\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -303,7 +303,7 @@ partial void ProcessPublishMiniAppResponseContent( pathTemplate: "\"/mini-apps/publish\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -325,7 +325,7 @@ partial void ProcessPublishMiniAppResponseContent( pathTemplate: "\"/mini-apps/publish\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.MiniAppsClient.PublishPreviewMiniApp.g.cs b/src/libs/Ideogram/Generated/Ideogram.MiniAppsClient.PublishPreviewMiniApp.g.cs index 65bf3ac2..89289c30 100644 --- a/src/libs/Ideogram/Generated/Ideogram.MiniAppsClient.PublishPreviewMiniApp.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.MiniAppsClient.PublishPreviewMiniApp.g.cs @@ -180,7 +180,7 @@ partial void ProcessPublishPreviewMiniAppResponseContent( pathTemplate: "\"/mini-apps/publish-preview\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -214,7 +214,7 @@ partial void ProcessPublishPreviewMiniAppResponseContent( pathTemplate: "\"/mini-apps/publish-preview\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -255,7 +255,7 @@ partial void ProcessPublishPreviewMiniAppResponseContent( pathTemplate: "\"/mini-apps/publish-preview\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -303,7 +303,7 @@ partial void ProcessPublishPreviewMiniAppResponseContent( pathTemplate: "\"/mini-apps/publish-preview\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -325,7 +325,7 @@ partial void ProcessPublishPreviewMiniAppResponseContent( pathTemplate: "\"/mini-apps/publish-preview\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.MiniAppsClient.UnpublishMiniApp.g.cs b/src/libs/Ideogram/Generated/Ideogram.MiniAppsClient.UnpublishMiniApp.g.cs index 8f88e55f..51844850 100644 --- a/src/libs/Ideogram/Generated/Ideogram.MiniAppsClient.UnpublishMiniApp.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.MiniAppsClient.UnpublishMiniApp.g.cs @@ -144,7 +144,7 @@ await UnpublishMiniAppAsResponseAsync( PrepareUnpublishMiniAppRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - slug: slug!); + slug: slug); return __httpRequest; } @@ -166,7 +166,7 @@ await UnpublishMiniAppAsResponseAsync( pathTemplate: "$\"/mini-apps/unpublish/{slug}\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -200,7 +200,7 @@ await UnpublishMiniAppAsResponseAsync( pathTemplate: "$\"/mini-apps/unpublish/{slug}\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -241,7 +241,7 @@ await UnpublishMiniAppAsResponseAsync( pathTemplate: "$\"/mini-apps/unpublish/{slug}\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -289,7 +289,7 @@ await UnpublishMiniAppAsResponseAsync( pathTemplate: "$\"/mini-apps/unpublish/{slug}\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -311,7 +311,7 @@ await UnpublishMiniAppAsResponseAsync( pathTemplate: "$\"/mini-apps/unpublish/{slug}\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.MiniAppsClient.UnpublishPreviewMiniApp.g.cs b/src/libs/Ideogram/Generated/Ideogram.MiniAppsClient.UnpublishPreviewMiniApp.g.cs index 2e6a35f8..75e93d43 100644 --- a/src/libs/Ideogram/Generated/Ideogram.MiniAppsClient.UnpublishPreviewMiniApp.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.MiniAppsClient.UnpublishPreviewMiniApp.g.cs @@ -151,7 +151,7 @@ partial void ProcessUnpublishPreviewMiniAppResponseContent( PrepareUnpublishPreviewMiniAppRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - previewId: previewId!); + previewId: previewId); return __httpRequest; } @@ -173,7 +173,7 @@ partial void ProcessUnpublishPreviewMiniAppResponseContent( pathTemplate: "$\"/mini-apps/unpublish-preview/{previewId}\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -207,7 +207,7 @@ partial void ProcessUnpublishPreviewMiniAppResponseContent( pathTemplate: "$\"/mini-apps/unpublish-preview/{previewId}\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -248,7 +248,7 @@ partial void ProcessUnpublishPreviewMiniAppResponseContent( pathTemplate: "$\"/mini-apps/unpublish-preview/{previewId}\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -296,7 +296,7 @@ partial void ProcessUnpublishPreviewMiniAppResponseContent( pathTemplate: "$\"/mini-apps/unpublish-preview/{previewId}\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -318,7 +318,7 @@ partial void ProcessUnpublishPreviewMiniAppResponseContent( pathTemplate: "$\"/mini-apps/unpublish-preview/{previewId}\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.Models.ColorPaletteWithPresetNameOrMembers.g.cs b/src/libs/Ideogram/Generated/Ideogram.Models.ColorPaletteWithPresetNameOrMembers.g.cs index 0fa7853f..87fdfda3 100644 --- a/src/libs/Ideogram/Generated/Ideogram.Models.ColorPaletteWithPresetNameOrMembers.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.Models.ColorPaletteWithPresetNameOrMembers.g.cs @@ -42,8 +42,8 @@ public bool TryPickColorPaletteWithPresetName( /// /// /// - public global::Ideogram.ColorPaletteWithPresetName PickColorPaletteWithPresetName() => IsColorPaletteWithPresetName - ? ColorPaletteWithPresetName! + public global::Ideogram.ColorPaletteWithPresetName PickColorPaletteWithPresetName() => ColorPaletteWithPresetName is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'ColorPaletteWithPresetName' but the value was {ToString()}."); /// @@ -79,8 +79,8 @@ public bool TryPickColorPaletteWithMembers( /// /// /// - public global::Ideogram.ColorPaletteWithMembers PickColorPaletteWithMembers() => IsColorPaletteWithMembers - ? ColorPaletteWithMembers! + public global::Ideogram.ColorPaletteWithMembers PickColorPaletteWithMembers() => ColorPaletteWithMembers is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'ColorPaletteWithMembers' but the value was {ToString()}."); /// /// @@ -177,13 +177,13 @@ public bool Validate() Validate(); } - if (IsColorPaletteWithPresetName && colorPaletteWithPresetName != null) + if (ColorPaletteWithPresetName is { } __value0 && colorPaletteWithPresetName != null) { - return colorPaletteWithPresetName(ColorPaletteWithPresetName!); + return colorPaletteWithPresetName(__value0); } - else if (IsColorPaletteWithMembers && colorPaletteWithMembers != null) + else if (ColorPaletteWithMembers is { } __value1 && colorPaletteWithMembers != null) { - return colorPaletteWithMembers(ColorPaletteWithMembers!); + return colorPaletteWithMembers(__value1); } return default(TResult); @@ -203,13 +203,13 @@ public void Match( Validate(); } - if (IsColorPaletteWithPresetName) + if (ColorPaletteWithPresetName is { } __value0) { - colorPaletteWithPresetName?.Invoke(ColorPaletteWithPresetName!); + colorPaletteWithPresetName?.Invoke(__value0); } - else if (IsColorPaletteWithMembers) + else if (ColorPaletteWithMembers is { } __value1) { - colorPaletteWithMembers?.Invoke(ColorPaletteWithMembers!); + colorPaletteWithMembers?.Invoke(__value1); } } @@ -226,13 +226,13 @@ public void Switch( Validate(); } - if (IsColorPaletteWithPresetName) + if (ColorPaletteWithPresetName is { } __value0) { - colorPaletteWithPresetName?.Invoke(ColorPaletteWithPresetName!); + colorPaletteWithPresetName?.Invoke(__value0); } - else if (IsColorPaletteWithMembers) + else if (ColorPaletteWithMembers is { } __value1) { - colorPaletteWithMembers?.Invoke(ColorPaletteWithMembers!); + colorPaletteWithMembers?.Invoke(__value1); } } diff --git a/src/libs/Ideogram/Generated/Ideogram.Models.DatasetCoverAssetIdentifier.g.cs b/src/libs/Ideogram/Generated/Ideogram.Models.DatasetCoverAssetIdentifier.g.cs index 0c91c98b..2f9ee829 100644 --- a/src/libs/Ideogram/Generated/Ideogram.Models.DatasetCoverAssetIdentifier.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.Models.DatasetCoverAssetIdentifier.g.cs @@ -44,8 +44,8 @@ public bool TryPickAssetIdentifier( /// /// /// - public global::Ideogram.AssetIdentifier PickAssetIdentifier() => IsAssetIdentifier - ? AssetIdentifier! + public global::Ideogram.AssetIdentifier PickAssetIdentifier() => AssetIdentifier is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'AssetIdentifier' but the value was {ToString()}."); /// /// @@ -104,9 +104,9 @@ public bool Validate() Validate(); } - if (IsAssetIdentifier && assetIdentifier != null) + if (AssetIdentifier is { } __value0 && assetIdentifier != null) { - return assetIdentifier(AssetIdentifier!); + return assetIdentifier(__value0); } return default(TResult); @@ -124,9 +124,9 @@ public void Match( Validate(); } - if (IsAssetIdentifier) + if (AssetIdentifier is { } __value0) { - assetIdentifier?.Invoke(AssetIdentifier!); + assetIdentifier?.Invoke(__value0); } } @@ -142,9 +142,9 @@ public void Switch( Validate(); } - if (IsAssetIdentifier) + if (AssetIdentifier is { } __value0) { - assetIdentifier?.Invoke(AssetIdentifier!); + assetIdentifier?.Invoke(__value0); } } diff --git a/src/libs/Ideogram/Generated/Ideogram.Models.GenerationResponseDataInner.g.cs b/src/libs/Ideogram/Generated/Ideogram.Models.GenerationResponseDataInner.g.cs index 1bf1abf9..dc219c8a 100644 --- a/src/libs/Ideogram/Generated/Ideogram.Models.GenerationResponseDataInner.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.Models.GenerationResponseDataInner.g.cs @@ -47,8 +47,8 @@ public bool TryPickImageWithoutPromptOrSeed( /// /// /// - public global::Ideogram.ImageObjectWithoutPromptOrSeed PickImageWithoutPromptOrSeed() => IsImageWithoutPromptOrSeed - ? ImageWithoutPromptOrSeed! + public global::Ideogram.ImageObjectWithoutPromptOrSeed PickImageWithoutPromptOrSeed() => ImageWithoutPromptOrSeed is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'ImageWithoutPromptOrSeed' but the value was {ToString()}."); /// @@ -85,8 +85,8 @@ public bool TryPickImageGeneration( /// /// /// - public global::Ideogram.ImageGenerationObject PickImageGeneration() => IsImageGeneration - ? ImageGeneration! + public global::Ideogram.ImageGenerationObject PickImageGeneration() => ImageGeneration is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'ImageGeneration' but the value was {ToString()}."); /// @@ -122,8 +122,8 @@ public bool TryPickVideoGeneration( /// /// /// - public global::Ideogram.VideoObject PickVideoGeneration() => IsVideoGeneration - ? VideoGeneration! + public global::Ideogram.VideoObject PickVideoGeneration() => VideoGeneration is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'VideoGeneration' but the value was {ToString()}."); /// @@ -161,8 +161,8 @@ public bool TryPickLayerizedImage( /// /// /// - public global::Ideogram.LayerizedImageObject PickLayerizedImage() => IsLayerizedImage - ? LayerizedImage! + public global::Ideogram.LayerizedImageObject PickLayerizedImage() => LayerizedImage is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'LayerizedImage' but the value was {ToString()}."); /// /// @@ -318,21 +318,21 @@ public bool Validate() Validate(); } - if (IsImageWithoutPromptOrSeed && imageWithoutPromptOrSeed != null) + if (ImageWithoutPromptOrSeed is { } __value0 && imageWithoutPromptOrSeed != null) { - return imageWithoutPromptOrSeed(ImageWithoutPromptOrSeed!); + return imageWithoutPromptOrSeed(__value0); } - else if (IsImageGeneration && imageGeneration != null) + else if (ImageGeneration is { } __value1 && imageGeneration != null) { - return imageGeneration(ImageGeneration!); + return imageGeneration(__value1); } - else if (IsVideoGeneration && videoGeneration != null) + else if (VideoGeneration is { } __value2 && videoGeneration != null) { - return videoGeneration(VideoGeneration!); + return videoGeneration(__value2); } - else if (IsLayerizedImage && layerizedImage != null) + else if (LayerizedImage is { } __value3 && layerizedImage != null) { - return layerizedImage(LayerizedImage!); + return layerizedImage(__value3); } return default(TResult); @@ -356,21 +356,21 @@ public void Match( Validate(); } - if (IsImageWithoutPromptOrSeed) + if (ImageWithoutPromptOrSeed is { } __value0) { - imageWithoutPromptOrSeed?.Invoke(ImageWithoutPromptOrSeed!); + imageWithoutPromptOrSeed?.Invoke(__value0); } - else if (IsImageGeneration) + else if (ImageGeneration is { } __value1) { - imageGeneration?.Invoke(ImageGeneration!); + imageGeneration?.Invoke(__value1); } - else if (IsVideoGeneration) + else if (VideoGeneration is { } __value2) { - videoGeneration?.Invoke(VideoGeneration!); + videoGeneration?.Invoke(__value2); } - else if (IsLayerizedImage) + else if (LayerizedImage is { } __value3) { - layerizedImage?.Invoke(LayerizedImage!); + layerizedImage?.Invoke(__value3); } } @@ -389,21 +389,21 @@ public void Switch( Validate(); } - if (IsImageWithoutPromptOrSeed) + if (ImageWithoutPromptOrSeed is { } __value0) { - imageWithoutPromptOrSeed?.Invoke(ImageWithoutPromptOrSeed!); + imageWithoutPromptOrSeed?.Invoke(__value0); } - else if (IsImageGeneration) + else if (ImageGeneration is { } __value1) { - imageGeneration?.Invoke(ImageGeneration!); + imageGeneration?.Invoke(__value1); } - else if (IsVideoGeneration) + else if (VideoGeneration is { } __value2) { - videoGeneration?.Invoke(VideoGeneration!); + videoGeneration?.Invoke(__value2); } - else if (IsLayerizedImage) + else if (LayerizedImage is { } __value3) { - layerizedImage?.Invoke(LayerizedImage!); + layerizedImage?.Invoke(__value3); } } diff --git a/src/libs/Ideogram/Generated/Ideogram.Models.IdeogramColorPalette.g.cs b/src/libs/Ideogram/Generated/Ideogram.Models.IdeogramColorPalette.g.cs index ebb7c3f1..c64dfe56 100644 --- a/src/libs/Ideogram/Generated/Ideogram.Models.IdeogramColorPalette.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.Models.IdeogramColorPalette.g.cs @@ -42,8 +42,8 @@ public bool TryPickIdeogramColorPaletteWithPresetName( /// /// /// - public global::Ideogram.IdeogramColorPaletteWithPresetName PickIdeogramColorPaletteWithPresetName() => IsIdeogramColorPaletteWithPresetName - ? IdeogramColorPaletteWithPresetName! + public global::Ideogram.IdeogramColorPaletteWithPresetName PickIdeogramColorPaletteWithPresetName() => IdeogramColorPaletteWithPresetName is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'IdeogramColorPaletteWithPresetName' but the value was {ToString()}."); /// @@ -79,8 +79,8 @@ public bool TryPickColorPaletteWithMembers( /// /// /// - public global::Ideogram.ColorPaletteWithMembers PickColorPaletteWithMembers() => IsColorPaletteWithMembers - ? ColorPaletteWithMembers! + public global::Ideogram.ColorPaletteWithMembers PickColorPaletteWithMembers() => ColorPaletteWithMembers is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'ColorPaletteWithMembers' but the value was {ToString()}."); /// /// @@ -177,13 +177,13 @@ public bool Validate() Validate(); } - if (IsIdeogramColorPaletteWithPresetName && ideogramColorPaletteWithPresetName != null) + if (IdeogramColorPaletteWithPresetName is { } __value0 && ideogramColorPaletteWithPresetName != null) { - return ideogramColorPaletteWithPresetName(IdeogramColorPaletteWithPresetName!); + return ideogramColorPaletteWithPresetName(__value0); } - else if (IsColorPaletteWithMembers && colorPaletteWithMembers != null) + else if (ColorPaletteWithMembers is { } __value1 && colorPaletteWithMembers != null) { - return colorPaletteWithMembers(ColorPaletteWithMembers!); + return colorPaletteWithMembers(__value1); } return default(TResult); @@ -203,13 +203,13 @@ public void Match( Validate(); } - if (IsIdeogramColorPaletteWithPresetName) + if (IdeogramColorPaletteWithPresetName is { } __value0) { - ideogramColorPaletteWithPresetName?.Invoke(IdeogramColorPaletteWithPresetName!); + ideogramColorPaletteWithPresetName?.Invoke(__value0); } - else if (IsColorPaletteWithMembers) + else if (ColorPaletteWithMembers is { } __value1) { - colorPaletteWithMembers?.Invoke(ColorPaletteWithMembers!); + colorPaletteWithMembers?.Invoke(__value1); } } @@ -226,13 +226,13 @@ public void Switch( Validate(); } - if (IsIdeogramColorPaletteWithPresetName) + if (IdeogramColorPaletteWithPresetName is { } __value0) { - ideogramColorPaletteWithPresetName?.Invoke(IdeogramColorPaletteWithPresetName!); + ideogramColorPaletteWithPresetName?.Invoke(__value0); } - else if (IsColorPaletteWithMembers) + else if (ColorPaletteWithMembers is { } __value1) { - colorPaletteWithMembers?.Invoke(ColorPaletteWithMembers!); + colorPaletteWithMembers?.Invoke(__value1); } } diff --git a/src/libs/Ideogram/Generated/Ideogram.Models.PostGenerateDesignV4200Response.g.cs b/src/libs/Ideogram/Generated/Ideogram.Models.PostGenerateDesignV4200Response.g.cs index 1c86ccf2..f1b54e77 100644 --- a/src/libs/Ideogram/Generated/Ideogram.Models.PostGenerateDesignV4200Response.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.Models.PostGenerateDesignV4200Response.g.cs @@ -49,8 +49,8 @@ public bool TryPickLayered( /// /// /// - public global::Ideogram.LayeredImageGenerationResponseV3 PickLayered() => IsLayered - ? Layered! + public global::Ideogram.LayeredImageGenerationResponseV3 PickLayered() => Layered is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'Layered' but the value was {ToString()}."); /// @@ -87,8 +87,8 @@ public bool TryPickUrl( /// /// /// - public global::Ideogram.ImageGenerationResponseV4Layout PickUrl() => IsUrl - ? Url! + public global::Ideogram.ImageGenerationResponseV4Layout PickUrl() => Url is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'Url' but the value was {ToString()}."); /// /// @@ -188,13 +188,13 @@ public bool Validate() Validate(); } - if (IsLayered && layered != null) + if (Layered is { } __value0 && layered != null) { - return layered(Layered!); + return layered(__value0); } - else if (IsUrl && url != null) + else if (Url is { } __value1 && url != null) { - return url(Url!); + return url(__value1); } return default(TResult); @@ -214,13 +214,13 @@ public void Match( Validate(); } - if (IsLayered) + if (Layered is { } __value0) { - layered?.Invoke(Layered!); + layered?.Invoke(__value0); } - else if (IsUrl) + else if (Url is { } __value1) { - url?.Invoke(Url!); + url?.Invoke(__value1); } } @@ -237,13 +237,13 @@ public void Switch( Validate(); } - if (IsLayered) + if (Layered is { } __value0) { - layered?.Invoke(Layered!); + layered?.Invoke(__value0); } - else if (IsUrl) + else if (Url is { } __value1) { - url?.Invoke(Url!); + url?.Invoke(__value1); } } diff --git a/src/libs/Ideogram/Generated/Ideogram.Models.V4PromptElement.g.cs b/src/libs/Ideogram/Generated/Ideogram.Models.V4PromptElement.g.cs index 086acb54..f554ac98 100644 --- a/src/libs/Ideogram/Generated/Ideogram.Models.V4PromptElement.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.Models.V4PromptElement.g.cs @@ -49,8 +49,8 @@ public bool TryPickObj( /// /// /// - public global::Ideogram.V4ObjPromptElement PickObj() => IsObj - ? Obj! + public global::Ideogram.V4ObjPromptElement PickObj() => Obj is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'Obj' but the value was {ToString()}."); /// @@ -86,8 +86,8 @@ public bool TryPickText( /// /// /// - public global::Ideogram.V4TextPromptElement PickText() => IsText - ? Text! + public global::Ideogram.V4TextPromptElement PickText() => Text is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'Text' but the value was {ToString()}."); /// /// @@ -187,13 +187,13 @@ public bool Validate() Validate(); } - if (IsObj && obj != null) + if (Obj is { } __value0 && obj != null) { - return obj(Obj!); + return obj(__value0); } - else if (IsText && text != null) + else if (Text is { } __value1 && text != null) { - return text(Text!); + return text(__value1); } return default(TResult); @@ -213,13 +213,13 @@ public void Match( Validate(); } - if (IsObj) + if (Obj is { } __value0) { - obj?.Invoke(Obj!); + obj?.Invoke(__value0); } - else if (IsText) + else if (Text is { } __value1) { - text?.Invoke(Text!); + text?.Invoke(__value1); } } @@ -236,13 +236,13 @@ public void Switch( Validate(); } - if (IsObj) + if (Obj is { } __value0) { - obj?.Invoke(Obj!); + obj?.Invoke(__value0); } - else if (IsText) + else if (Text is { } __value1) { - text?.Invoke(Text!); + text?.Invoke(__value1); } } diff --git a/src/libs/Ideogram/Generated/Ideogram.ModelsClient.GetCustomModel.g.cs b/src/libs/Ideogram/Generated/Ideogram.ModelsClient.GetCustomModel.g.cs index 2023c6a7..31696c27 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ModelsClient.GetCustomModel.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ModelsClient.GetCustomModel.g.cs @@ -147,7 +147,7 @@ partial void ProcessGetCustomModelResponseContent( PrepareGetCustomModelRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - modelId: modelId!); + modelId: modelId); return __httpRequest; } @@ -169,7 +169,7 @@ partial void ProcessGetCustomModelResponseContent( pathTemplate: "$\"/models/{modelId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -203,7 +203,7 @@ partial void ProcessGetCustomModelResponseContent( pathTemplate: "$\"/models/{modelId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -244,7 +244,7 @@ partial void ProcessGetCustomModelResponseContent( pathTemplate: "$\"/models/{modelId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -292,7 +292,7 @@ partial void ProcessGetCustomModelResponseContent( pathTemplate: "$\"/models/{modelId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -314,7 +314,7 @@ partial void ProcessGetCustomModelResponseContent( pathTemplate: "$\"/models/{modelId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ModelsClient.ListCustomModels.g.cs b/src/libs/Ideogram/Generated/Ideogram.ModelsClient.ListCustomModels.g.cs index 582ae8cc..5e5298e1 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ModelsClient.ListCustomModels.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ModelsClient.ListCustomModels.g.cs @@ -182,7 +182,7 @@ partial void ProcessListCustomModelsResponseContent( pathTemplate: "\"/models\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -216,7 +216,7 @@ partial void ProcessListCustomModelsResponseContent( pathTemplate: "\"/models\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -257,7 +257,7 @@ partial void ProcessListCustomModelsResponseContent( pathTemplate: "\"/models\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -305,7 +305,7 @@ partial void ProcessListCustomModelsResponseContent( pathTemplate: "\"/models\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -327,7 +327,7 @@ partial void ProcessListCustomModelsResponseContent( pathTemplate: "\"/models\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ModelsClient.TrainModelV3.g.cs b/src/libs/Ideogram/Generated/Ideogram.ModelsClient.TrainModelV3.g.cs index 98f00cb8..061363cd 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ModelsClient.TrainModelV3.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ModelsClient.TrainModelV3.g.cs @@ -180,7 +180,7 @@ partial void ProcessTrainModelV3ResponseContent( pathTemplate: "\"/v1/ideogram-v3/train-model\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -214,7 +214,7 @@ partial void ProcessTrainModelV3ResponseContent( pathTemplate: "\"/v1/ideogram-v3/train-model\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -255,7 +255,7 @@ partial void ProcessTrainModelV3ResponseContent( pathTemplate: "\"/v1/ideogram-v3/train-model\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -303,7 +303,7 @@ partial void ProcessTrainModelV3ResponseContent( pathTemplate: "\"/v1/ideogram-v3/train-model\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -325,7 +325,7 @@ partial void ProcessTrainModelV3ResponseContent( pathTemplate: "\"/v1/ideogram-v3/train-model\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ModelsClient.TrainModelV3Advanced.g.cs b/src/libs/Ideogram/Generated/Ideogram.ModelsClient.TrainModelV3Advanced.g.cs index a97b1049..5c939c7d 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ModelsClient.TrainModelV3Advanced.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ModelsClient.TrainModelV3Advanced.g.cs @@ -180,7 +180,7 @@ partial void ProcessTrainModelV3AdvancedResponseContent( pathTemplate: "\"/v1/ideogram-v3/train-model-advanced\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -214,7 +214,7 @@ partial void ProcessTrainModelV3AdvancedResponseContent( pathTemplate: "\"/v1/ideogram-v3/train-model-advanced\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -255,7 +255,7 @@ partial void ProcessTrainModelV3AdvancedResponseContent( pathTemplate: "\"/v1/ideogram-v3/train-model-advanced\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -303,7 +303,7 @@ partial void ProcessTrainModelV3AdvancedResponseContent( pathTemplate: "\"/v1/ideogram-v3/train-model-advanced\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -325,7 +325,7 @@ partial void ProcessTrainModelV3AdvancedResponseContent( pathTemplate: "\"/v1/ideogram-v3/train-model-advanced\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ModelsClient.TrainModelV4.g.cs b/src/libs/Ideogram/Generated/Ideogram.ModelsClient.TrainModelV4.g.cs index 938ff30c..e0419b9b 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ModelsClient.TrainModelV4.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ModelsClient.TrainModelV4.g.cs @@ -180,7 +180,7 @@ partial void ProcessTrainModelV4ResponseContent( pathTemplate: "\"/v1/ideogram-v4/train-model\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -214,7 +214,7 @@ partial void ProcessTrainModelV4ResponseContent( pathTemplate: "\"/v1/ideogram-v4/train-model\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -255,7 +255,7 @@ partial void ProcessTrainModelV4ResponseContent( pathTemplate: "\"/v1/ideogram-v4/train-model\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -303,7 +303,7 @@ partial void ProcessTrainModelV4ResponseContent( pathTemplate: "\"/v1/ideogram-v4/train-model\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -325,7 +325,7 @@ partial void ProcessTrainModelV4ResponseContent( pathTemplate: "\"/v1/ideogram-v4/train-model\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ModelsClient.TrainModelV4Advanced.g.cs b/src/libs/Ideogram/Generated/Ideogram.ModelsClient.TrainModelV4Advanced.g.cs index 4c7ee406..49e3cb20 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ModelsClient.TrainModelV4Advanced.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ModelsClient.TrainModelV4Advanced.g.cs @@ -180,7 +180,7 @@ partial void ProcessTrainModelV4AdvancedResponseContent( pathTemplate: "\"/v1/ideogram-v4/train-model-advanced\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -214,7 +214,7 @@ partial void ProcessTrainModelV4AdvancedResponseContent( pathTemplate: "\"/v1/ideogram-v4/train-model-advanced\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -255,7 +255,7 @@ partial void ProcessTrainModelV4AdvancedResponseContent( pathTemplate: "\"/v1/ideogram-v4/train-model-advanced\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -303,7 +303,7 @@ partial void ProcessTrainModelV4AdvancedResponseContent( pathTemplate: "\"/v1/ideogram-v4/train-model-advanced\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -325,7 +325,7 @@ partial void ProcessTrainModelV4AdvancedResponseContent( pathTemplate: "\"/v1/ideogram-v4/train-model-advanced\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ObjectRemovalClient.PostRemoveObjectFromV2Assets.g.cs b/src/libs/Ideogram/Generated/Ideogram.ObjectRemovalClient.PostRemoveObjectFromV2Assets.g.cs index 8b7de5c9..64b700e0 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ObjectRemovalClient.PostRemoveObjectFromV2Assets.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ObjectRemovalClient.PostRemoveObjectFromV2Assets.g.cs @@ -321,7 +321,7 @@ request.Maskname is null pathTemplate: "\"/v2/image/remove-object/ideogram-1\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -355,7 +355,7 @@ request.Maskname is null pathTemplate: "\"/v2/image/remove-object/ideogram-1\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -396,7 +396,7 @@ request.Maskname is null pathTemplate: "\"/v2/image/remove-object/ideogram-1\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -444,7 +444,7 @@ request.Maskname is null pathTemplate: "\"/v2/image/remove-object/ideogram-1\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -466,7 +466,7 @@ request.Maskname is null pathTemplate: "\"/v2/image/remove-object/ideogram-1\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.PromptClient.PostMagicPrompt.g.cs b/src/libs/Ideogram/Generated/Ideogram.PromptClient.PostMagicPrompt.g.cs index d7d781c0..0e2125a9 100644 --- a/src/libs/Ideogram/Generated/Ideogram.PromptClient.PostMagicPrompt.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.PromptClient.PostMagicPrompt.g.cs @@ -325,7 +325,7 @@ partial void ProcessPostMagicPromptResponseContent( pathTemplate: "\"/magic-prompt\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -359,7 +359,7 @@ partial void ProcessPostMagicPromptResponseContent( pathTemplate: "\"/magic-prompt\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -400,7 +400,7 @@ partial void ProcessPostMagicPromptResponseContent( pathTemplate: "\"/magic-prompt\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -448,7 +448,7 @@ partial void ProcessPostMagicPromptResponseContent( pathTemplate: "\"/magic-prompt\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -470,7 +470,7 @@ partial void ProcessPostMagicPromptResponseContent( pathTemplate: "\"/magic-prompt\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.PromptClient.PostMagicPromptV4.g.cs b/src/libs/Ideogram/Generated/Ideogram.PromptClient.PostMagicPromptV4.g.cs index f9392952..eacc938c 100644 --- a/src/libs/Ideogram/Generated/Ideogram.PromptClient.PostMagicPromptV4.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.PromptClient.PostMagicPromptV4.g.cs @@ -186,7 +186,7 @@ partial void ProcessPostMagicPromptV4ResponseContent( pathTemplate: "\"/v1/ideogram-v4/magic-prompt\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -220,7 +220,7 @@ partial void ProcessPostMagicPromptV4ResponseContent( pathTemplate: "\"/v1/ideogram-v4/magic-prompt\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -261,7 +261,7 @@ partial void ProcessPostMagicPromptV4ResponseContent( pathTemplate: "\"/v1/ideogram-v4/magic-prompt\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -309,7 +309,7 @@ partial void ProcessPostMagicPromptV4ResponseContent( pathTemplate: "\"/v1/ideogram-v4/magic-prompt\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -331,7 +331,7 @@ partial void ProcessPostMagicPromptV4ResponseContent( pathTemplate: "\"/v1/ideogram-v4/magic-prompt\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ProvenanceClient.PostProvenanceVerify.g.cs b/src/libs/Ideogram/Generated/Ideogram.ProvenanceClient.PostProvenanceVerify.g.cs index 96a90939..f454b1db 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ProvenanceClient.PostProvenanceVerify.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ProvenanceClient.PostProvenanceVerify.g.cs @@ -228,7 +228,7 @@ request.Contentname is null pathTemplate: "\"/v1/provenance/verify\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -262,7 +262,7 @@ request.Contentname is null pathTemplate: "\"/v1/provenance/verify\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -303,7 +303,7 @@ request.Contentname is null pathTemplate: "\"/v1/provenance/verify\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -351,7 +351,7 @@ request.Contentname is null pathTemplate: "\"/v1/provenance/verify\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -373,7 +373,7 @@ request.Contentname is null pathTemplate: "\"/v1/provenance/verify\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -782,7 +782,7 @@ request.Contentname is null pathTemplate: "\"/v1/provenance/verify\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -816,7 +816,7 @@ request.Contentname is null pathTemplate: "\"/v1/provenance/verify\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -857,7 +857,7 @@ request.Contentname is null pathTemplate: "\"/v1/provenance/verify\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -905,7 +905,7 @@ request.Contentname is null pathTemplate: "\"/v1/provenance/verify\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -927,7 +927,7 @@ request.Contentname is null pathTemplate: "\"/v1/provenance/verify\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1291,7 +1291,7 @@ request.Contentname is null pathTemplate: "\"/v1/provenance/verify\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -1325,7 +1325,7 @@ request.Contentname is null pathTemplate: "\"/v1/provenance/verify\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -1366,7 +1366,7 @@ request.Contentname is null pathTemplate: "\"/v1/provenance/verify\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1414,7 +1414,7 @@ request.Contentname is null pathTemplate: "\"/v1/provenance/verify\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1436,7 +1436,7 @@ request.Contentname is null pathTemplate: "\"/v1/provenance/verify\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ToolClient.RemoveBackground.g.cs b/src/libs/Ideogram/Generated/Ideogram.ToolClient.RemoveBackground.g.cs index 118f0339..61cb77ae 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ToolClient.RemoveBackground.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ToolClient.RemoveBackground.g.cs @@ -291,7 +291,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/remove-background/ideogram-1\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -325,7 +325,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/remove-background/ideogram-1\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -366,7 +366,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/remove-background/ideogram-1\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -414,7 +414,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/remove-background/ideogram-1\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -436,7 +436,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/remove-background/ideogram-1\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ToolClient.ReplaceBackground.g.cs b/src/libs/Ideogram/Generated/Ideogram.ToolClient.ReplaceBackground.g.cs index 0c8d1dc8..b34b4c91 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ToolClient.ReplaceBackground.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ToolClient.ReplaceBackground.g.cs @@ -297,7 +297,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/replace-background/gpt-image-2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -331,7 +331,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/replace-background/gpt-image-2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -372,7 +372,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/replace-background/gpt-image-2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -420,7 +420,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/replace-background/gpt-image-2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -442,7 +442,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/replace-background/gpt-image-2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ToolClient.ReplaceBackgroundIdeogramV3.g.cs b/src/libs/Ideogram/Generated/Ideogram.ToolClient.ReplaceBackgroundIdeogramV3.g.cs index bc6b1674..bdefabce 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ToolClient.ReplaceBackgroundIdeogramV3.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ToolClient.ReplaceBackgroundIdeogramV3.g.cs @@ -301,7 +301,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/replace-background/ideogram-3\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -335,7 +335,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/replace-background/ideogram-3\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -376,7 +376,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/replace-background/ideogram-3\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -424,7 +424,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/replace-background/ideogram-3\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -446,7 +446,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/replace-background/ideogram-3\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.ToolsClient.PostUpscale.g.cs b/src/libs/Ideogram/Generated/Ideogram.ToolsClient.PostUpscale.g.cs index cfa26a5c..dc71722f 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ToolsClient.PostUpscale.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ToolsClient.PostUpscale.g.cs @@ -337,7 +337,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/upscale/auto\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -371,7 +371,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/upscale/auto\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -412,7 +412,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/upscale/auto\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -460,7 +460,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/upscale/auto\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -482,7 +482,7 @@ request.Imagename is null pathTemplate: "\"/v2/image/upscale/auto\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.VideoEditClient.PostEditVideoMinimaxH3ReferenceToVideo.g.cs b/src/libs/Ideogram/Generated/Ideogram.VideoEditClient.PostEditVideoMinimaxH3ReferenceToVideo.g.cs index eb49f663..cae431f0 100644 --- a/src/libs/Ideogram/Generated/Ideogram.VideoEditClient.PostEditVideoMinimaxH3ReferenceToVideo.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.VideoEditClient.PostEditVideoMinimaxH3ReferenceToVideo.g.cs @@ -355,7 +355,7 @@ partial void ProcessPostEditVideoMinimaxH3ReferenceToVideoResponseContent( pathTemplate: "\"/v2/video/generate/minimax-h3-reference-to-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -389,7 +389,7 @@ partial void ProcessPostEditVideoMinimaxH3ReferenceToVideoResponseContent( pathTemplate: "\"/v2/video/generate/minimax-h3-reference-to-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -430,7 +430,7 @@ partial void ProcessPostEditVideoMinimaxH3ReferenceToVideoResponseContent( pathTemplate: "\"/v2/video/generate/minimax-h3-reference-to-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -478,7 +478,7 @@ partial void ProcessPostEditVideoMinimaxH3ReferenceToVideoResponseContent( pathTemplate: "\"/v2/video/generate/minimax-h3-reference-to-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -500,7 +500,7 @@ partial void ProcessPostEditVideoMinimaxH3ReferenceToVideoResponseContent( pathTemplate: "\"/v2/video/generate/minimax-h3-reference-to-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.VideoEditClient.PostEditVideoSeedDance2.g.cs b/src/libs/Ideogram/Generated/Ideogram.VideoEditClient.PostEditVideoSeedDance2.g.cs index bd35700f..210d6d97 100644 --- a/src/libs/Ideogram/Generated/Ideogram.VideoEditClient.PostEditVideoSeedDance2.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.VideoEditClient.PostEditVideoSeedDance2.g.cs @@ -250,7 +250,7 @@ partial void ProcessPostEditVideoSeedDance2ResponseContent( pathTemplate: "\"/v2/video/edit/seedance-2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -284,7 +284,7 @@ partial void ProcessPostEditVideoSeedDance2ResponseContent( pathTemplate: "\"/v2/video/edit/seedance-2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -325,7 +325,7 @@ partial void ProcessPostEditVideoSeedDance2ResponseContent( pathTemplate: "\"/v2/video/edit/seedance-2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -373,7 +373,7 @@ partial void ProcessPostEditVideoSeedDance2ResponseContent( pathTemplate: "\"/v2/video/edit/seedance-2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -395,7 +395,7 @@ partial void ProcessPostEditVideoSeedDance2ResponseContent( pathTemplate: "\"/v2/video/edit/seedance-2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.VideoGenerateClient.PostGenerateVideoKlingV3StandardImageToVideo.g.cs b/src/libs/Ideogram/Generated/Ideogram.VideoGenerateClient.PostGenerateVideoKlingV3StandardImageToVideo.g.cs index 7190919e..e7f767c1 100644 --- a/src/libs/Ideogram/Generated/Ideogram.VideoGenerateClient.PostGenerateVideoKlingV3StandardImageToVideo.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.VideoGenerateClient.PostGenerateVideoKlingV3StandardImageToVideo.g.cs @@ -405,7 +405,7 @@ request.EndImagename is null pathTemplate: "\"/v2/video/generate/kling-3-standard-image-to-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -439,7 +439,7 @@ request.EndImagename is null pathTemplate: "\"/v2/video/generate/kling-3-standard-image-to-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -480,7 +480,7 @@ request.EndImagename is null pathTemplate: "\"/v2/video/generate/kling-3-standard-image-to-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -528,7 +528,7 @@ request.EndImagename is null pathTemplate: "\"/v2/video/generate/kling-3-standard-image-to-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -550,7 +550,7 @@ request.EndImagename is null pathTemplate: "\"/v2/video/generate/kling-3-standard-image-to-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.VideoGenerateClient.PostGenerateVideoKlingV3StandardTextToVideo.g.cs b/src/libs/Ideogram/Generated/Ideogram.VideoGenerateClient.PostGenerateVideoKlingV3StandardTextToVideo.g.cs index a3d7388b..3214b61f 100644 --- a/src/libs/Ideogram/Generated/Ideogram.VideoGenerateClient.PostGenerateVideoKlingV3StandardTextToVideo.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.VideoGenerateClient.PostGenerateVideoKlingV3StandardTextToVideo.g.cs @@ -212,7 +212,7 @@ partial void ProcessPostGenerateVideoKlingV3StandardTextToVideoResponseContent( pathTemplate: "\"/v2/video/generate/kling-3-standard-text-to-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -246,7 +246,7 @@ partial void ProcessPostGenerateVideoKlingV3StandardTextToVideoResponseContent( pathTemplate: "\"/v2/video/generate/kling-3-standard-text-to-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -287,7 +287,7 @@ partial void ProcessPostGenerateVideoKlingV3StandardTextToVideoResponseContent( pathTemplate: "\"/v2/video/generate/kling-3-standard-text-to-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -335,7 +335,7 @@ partial void ProcessPostGenerateVideoKlingV3StandardTextToVideoResponseContent( pathTemplate: "\"/v2/video/generate/kling-3-standard-text-to-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -357,7 +357,7 @@ partial void ProcessPostGenerateVideoKlingV3StandardTextToVideoResponseContent( pathTemplate: "\"/v2/video/generate/kling-3-standard-text-to-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.VideoGenerateClient.PostGenerateVideoMinimaxH3ImageToVideo.g.cs b/src/libs/Ideogram/Generated/Ideogram.VideoGenerateClient.PostGenerateVideoMinimaxH3ImageToVideo.g.cs index 5d34b104..3c4beec1 100644 --- a/src/libs/Ideogram/Generated/Ideogram.VideoGenerateClient.PostGenerateVideoMinimaxH3ImageToVideo.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.VideoGenerateClient.PostGenerateVideoMinimaxH3ImageToVideo.g.cs @@ -381,7 +381,7 @@ request.EndImagename is null pathTemplate: "\"/v2/video/generate/minimax-h3-image-to-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -415,7 +415,7 @@ request.EndImagename is null pathTemplate: "\"/v2/video/generate/minimax-h3-image-to-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -456,7 +456,7 @@ request.EndImagename is null pathTemplate: "\"/v2/video/generate/minimax-h3-image-to-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -504,7 +504,7 @@ request.EndImagename is null pathTemplate: "\"/v2/video/generate/minimax-h3-image-to-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -526,7 +526,7 @@ request.EndImagename is null pathTemplate: "\"/v2/video/generate/minimax-h3-image-to-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.VideoGenerateClient.PostGenerateVideoMinimaxH3TextToVideo.g.cs b/src/libs/Ideogram/Generated/Ideogram.VideoGenerateClient.PostGenerateVideoMinimaxH3TextToVideo.g.cs index e1d2bff8..9feabc26 100644 --- a/src/libs/Ideogram/Generated/Ideogram.VideoGenerateClient.PostGenerateVideoMinimaxH3TextToVideo.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.VideoGenerateClient.PostGenerateVideoMinimaxH3TextToVideo.g.cs @@ -212,7 +212,7 @@ partial void ProcessPostGenerateVideoMinimaxH3TextToVideoResponseContent( pathTemplate: "\"/v2/video/generate/minimax-h3-text-to-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -246,7 +246,7 @@ partial void ProcessPostGenerateVideoMinimaxH3TextToVideoResponseContent( pathTemplate: "\"/v2/video/generate/minimax-h3-text-to-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -287,7 +287,7 @@ partial void ProcessPostGenerateVideoMinimaxH3TextToVideoResponseContent( pathTemplate: "\"/v2/video/generate/minimax-h3-text-to-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -335,7 +335,7 @@ partial void ProcessPostGenerateVideoMinimaxH3TextToVideoResponseContent( pathTemplate: "\"/v2/video/generate/minimax-h3-text-to-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -357,7 +357,7 @@ partial void ProcessPostGenerateVideoMinimaxH3TextToVideoResponseContent( pathTemplate: "\"/v2/video/generate/minimax-h3-text-to-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.VideoGenerateClient.PostGenerateVideoSeedDance25ImageToVideo.g.cs b/src/libs/Ideogram/Generated/Ideogram.VideoGenerateClient.PostGenerateVideoSeedDance25ImageToVideo.g.cs index 173e9b8d..6a0d4b25 100644 --- a/src/libs/Ideogram/Generated/Ideogram.VideoGenerateClient.PostGenerateVideoSeedDance25ImageToVideo.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.VideoGenerateClient.PostGenerateVideoSeedDance25ImageToVideo.g.cs @@ -389,7 +389,7 @@ request.EndImagename is null pathTemplate: "\"/v2/video/generate/seedance-2-5-image-to-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -423,7 +423,7 @@ request.EndImagename is null pathTemplate: "\"/v2/video/generate/seedance-2-5-image-to-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -464,7 +464,7 @@ request.EndImagename is null pathTemplate: "\"/v2/video/generate/seedance-2-5-image-to-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -512,7 +512,7 @@ request.EndImagename is null pathTemplate: "\"/v2/video/generate/seedance-2-5-image-to-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -534,7 +534,7 @@ request.EndImagename is null pathTemplate: "\"/v2/video/generate/seedance-2-5-image-to-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.VideoGenerateClient.PostGenerateVideoSeedDance25ReferenceToVideo.g.cs b/src/libs/Ideogram/Generated/Ideogram.VideoGenerateClient.PostGenerateVideoSeedDance25ReferenceToVideo.g.cs index eb4932d9..7969162e 100644 --- a/src/libs/Ideogram/Generated/Ideogram.VideoGenerateClient.PostGenerateVideoSeedDance25ReferenceToVideo.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.VideoGenerateClient.PostGenerateVideoSeedDance25ReferenceToVideo.g.cs @@ -359,7 +359,7 @@ partial void ProcessPostGenerateVideoSeedDance25ReferenceToVideoResponseContent( pathTemplate: "\"/v2/video/generate/seedance-2-5-reference-to-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -393,7 +393,7 @@ partial void ProcessPostGenerateVideoSeedDance25ReferenceToVideoResponseContent( pathTemplate: "\"/v2/video/generate/seedance-2-5-reference-to-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -434,7 +434,7 @@ partial void ProcessPostGenerateVideoSeedDance25ReferenceToVideoResponseContent( pathTemplate: "\"/v2/video/generate/seedance-2-5-reference-to-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -482,7 +482,7 @@ partial void ProcessPostGenerateVideoSeedDance25ReferenceToVideoResponseContent( pathTemplate: "\"/v2/video/generate/seedance-2-5-reference-to-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -504,7 +504,7 @@ partial void ProcessPostGenerateVideoSeedDance25ReferenceToVideoResponseContent( pathTemplate: "\"/v2/video/generate/seedance-2-5-reference-to-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.VideoGenerateClient.PostGenerateVideoSeedDance25TextToVideo.g.cs b/src/libs/Ideogram/Generated/Ideogram.VideoGenerateClient.PostGenerateVideoSeedDance25TextToVideo.g.cs index 0f58a210..fe2d68b7 100644 --- a/src/libs/Ideogram/Generated/Ideogram.VideoGenerateClient.PostGenerateVideoSeedDance25TextToVideo.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.VideoGenerateClient.PostGenerateVideoSeedDance25TextToVideo.g.cs @@ -214,7 +214,7 @@ partial void ProcessPostGenerateVideoSeedDance25TextToVideoResponseContent( pathTemplate: "\"/v2/video/generate/seedance-2-5-text-to-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -248,7 +248,7 @@ partial void ProcessPostGenerateVideoSeedDance25TextToVideoResponseContent( pathTemplate: "\"/v2/video/generate/seedance-2-5-text-to-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -289,7 +289,7 @@ partial void ProcessPostGenerateVideoSeedDance25TextToVideoResponseContent( pathTemplate: "\"/v2/video/generate/seedance-2-5-text-to-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -337,7 +337,7 @@ partial void ProcessPostGenerateVideoSeedDance25TextToVideoResponseContent( pathTemplate: "\"/v2/video/generate/seedance-2-5-text-to-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -359,7 +359,7 @@ partial void ProcessPostGenerateVideoSeedDance25TextToVideoResponseContent( pathTemplate: "\"/v2/video/generate/seedance-2-5-text-to-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.VideoGenerateClient.PostGenerateVideoSeedDance2ImageToVideo.g.cs b/src/libs/Ideogram/Generated/Ideogram.VideoGenerateClient.PostGenerateVideoSeedDance2ImageToVideo.g.cs index b4f3917c..2eeff882 100644 --- a/src/libs/Ideogram/Generated/Ideogram.VideoGenerateClient.PostGenerateVideoSeedDance2ImageToVideo.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.VideoGenerateClient.PostGenerateVideoSeedDance2ImageToVideo.g.cs @@ -393,7 +393,7 @@ request.EndImagename is null pathTemplate: "\"/v2/video/generate/seedance-2-image-to-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -427,7 +427,7 @@ request.EndImagename is null pathTemplate: "\"/v2/video/generate/seedance-2-image-to-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -468,7 +468,7 @@ request.EndImagename is null pathTemplate: "\"/v2/video/generate/seedance-2-image-to-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -516,7 +516,7 @@ request.EndImagename is null pathTemplate: "\"/v2/video/generate/seedance-2-image-to-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -538,7 +538,7 @@ request.EndImagename is null pathTemplate: "\"/v2/video/generate/seedance-2-image-to-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.VideoGenerateClient.PostGenerateVideoSeedDance2ReferenceToVideo.g.cs b/src/libs/Ideogram/Generated/Ideogram.VideoGenerateClient.PostGenerateVideoSeedDance2ReferenceToVideo.g.cs index eb0c5f7f..0363f105 100644 --- a/src/libs/Ideogram/Generated/Ideogram.VideoGenerateClient.PostGenerateVideoSeedDance2ReferenceToVideo.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.VideoGenerateClient.PostGenerateVideoSeedDance2ReferenceToVideo.g.cs @@ -361,7 +361,7 @@ partial void ProcessPostGenerateVideoSeedDance2ReferenceToVideoResponseContent( pathTemplate: "\"/v2/video/generate/seedance-2-reference-to-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -395,7 +395,7 @@ partial void ProcessPostGenerateVideoSeedDance2ReferenceToVideoResponseContent( pathTemplate: "\"/v2/video/generate/seedance-2-reference-to-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -436,7 +436,7 @@ partial void ProcessPostGenerateVideoSeedDance2ReferenceToVideoResponseContent( pathTemplate: "\"/v2/video/generate/seedance-2-reference-to-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -484,7 +484,7 @@ partial void ProcessPostGenerateVideoSeedDance2ReferenceToVideoResponseContent( pathTemplate: "\"/v2/video/generate/seedance-2-reference-to-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -506,7 +506,7 @@ partial void ProcessPostGenerateVideoSeedDance2ReferenceToVideoResponseContent( pathTemplate: "\"/v2/video/generate/seedance-2-reference-to-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.VideoGenerateClient.PostGenerateVideoSeedDance2TextToVideo.g.cs b/src/libs/Ideogram/Generated/Ideogram.VideoGenerateClient.PostGenerateVideoSeedDance2TextToVideo.g.cs index e5773673..ad3704c2 100644 --- a/src/libs/Ideogram/Generated/Ideogram.VideoGenerateClient.PostGenerateVideoSeedDance2TextToVideo.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.VideoGenerateClient.PostGenerateVideoSeedDance2TextToVideo.g.cs @@ -212,7 +212,7 @@ partial void ProcessPostGenerateVideoSeedDance2TextToVideoResponseContent( pathTemplate: "\"/v2/video/generate/seedance-2-text-to-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -246,7 +246,7 @@ partial void ProcessPostGenerateVideoSeedDance2TextToVideoResponseContent( pathTemplate: "\"/v2/video/generate/seedance-2-text-to-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -287,7 +287,7 @@ partial void ProcessPostGenerateVideoSeedDance2TextToVideoResponseContent( pathTemplate: "\"/v2/video/generate/seedance-2-text-to-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -335,7 +335,7 @@ partial void ProcessPostGenerateVideoSeedDance2TextToVideoResponseContent( pathTemplate: "\"/v2/video/generate/seedance-2-text-to-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -357,7 +357,7 @@ partial void ProcessPostGenerateVideoSeedDance2TextToVideoResponseContent( pathTemplate: "\"/v2/video/generate/seedance-2-text-to-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.VideoGenerateClient.PostProduct360Video.g.cs b/src/libs/Ideogram/Generated/Ideogram.VideoGenerateClient.PostProduct360Video.g.cs index d2acc2ff..c7cf2d01 100644 --- a/src/libs/Ideogram/Generated/Ideogram.VideoGenerateClient.PostProduct360Video.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.VideoGenerateClient.PostProduct360Video.g.cs @@ -198,7 +198,7 @@ partial void ProcessPostProduct360VideoResponseContent( pathTemplate: "\"/v2/tool/product-360-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -232,7 +232,7 @@ partial void ProcessPostProduct360VideoResponseContent( pathTemplate: "\"/v2/tool/product-360-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -273,7 +273,7 @@ partial void ProcessPostProduct360VideoResponseContent( pathTemplate: "\"/v2/tool/product-360-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -321,7 +321,7 @@ partial void ProcessPostProduct360VideoResponseContent( pathTemplate: "\"/v2/tool/product-360-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -343,7 +343,7 @@ partial void ProcessPostProduct360VideoResponseContent( pathTemplate: "\"/v2/tool/product-360-video\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.VisionClient.PostDescribe.g.cs b/src/libs/Ideogram/Generated/Ideogram.VisionClient.PostDescribe.g.cs index 6ca687d4..af231c24 100644 --- a/src/libs/Ideogram/Generated/Ideogram.VisionClient.PostDescribe.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.VisionClient.PostDescribe.g.cs @@ -227,7 +227,7 @@ request.ImageFilename is null pathTemplate: "\"/describe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -261,7 +261,7 @@ request.ImageFilename is null pathTemplate: "\"/describe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -302,7 +302,7 @@ request.ImageFilename is null pathTemplate: "\"/describe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -350,7 +350,7 @@ request.ImageFilename is null pathTemplate: "\"/describe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -372,7 +372,7 @@ request.ImageFilename is null pathTemplate: "\"/describe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -797,7 +797,7 @@ request.ImageFilename is null pathTemplate: "\"/describe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -831,7 +831,7 @@ request.ImageFilename is null pathTemplate: "\"/describe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -872,7 +872,7 @@ request.ImageFilename is null pathTemplate: "\"/describe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -920,7 +920,7 @@ request.ImageFilename is null pathTemplate: "\"/describe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -942,7 +942,7 @@ request.ImageFilename is null pathTemplate: "\"/describe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1321,7 +1321,7 @@ request.ImageFilename is null pathTemplate: "\"/describe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -1355,7 +1355,7 @@ request.ImageFilename is null pathTemplate: "\"/describe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -1396,7 +1396,7 @@ request.ImageFilename is null pathTemplate: "\"/describe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1444,7 +1444,7 @@ request.ImageFilename is null pathTemplate: "\"/describe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1466,7 +1466,7 @@ request.ImageFilename is null pathTemplate: "\"/describe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.VisionClient.PostDescribeV4.g.cs b/src/libs/Ideogram/Generated/Ideogram.VisionClient.PostDescribeV4.g.cs index 97029b01..19f9c5ca 100644 --- a/src/libs/Ideogram/Generated/Ideogram.VisionClient.PostDescribeV4.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.VisionClient.PostDescribeV4.g.cs @@ -249,7 +249,7 @@ request.ImageFilename is null pathTemplate: "\"/v1/ideogram-v4/describe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -283,7 +283,7 @@ request.ImageFilename is null pathTemplate: "\"/v1/ideogram-v4/describe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -324,7 +324,7 @@ request.ImageFilename is null pathTemplate: "\"/v1/ideogram-v4/describe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -372,7 +372,7 @@ request.ImageFilename is null pathTemplate: "\"/v1/ideogram-v4/describe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -394,7 +394,7 @@ request.ImageFilename is null pathTemplate: "\"/v1/ideogram-v4/describe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -915,7 +915,7 @@ request.ImageFilename is null pathTemplate: "\"/v1/ideogram-v4/describe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -949,7 +949,7 @@ request.ImageFilename is null pathTemplate: "\"/v1/ideogram-v4/describe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -990,7 +990,7 @@ request.ImageFilename is null pathTemplate: "\"/v1/ideogram-v4/describe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1038,7 +1038,7 @@ request.ImageFilename is null pathTemplate: "\"/v1/ideogram-v4/describe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1060,7 +1060,7 @@ request.ImageFilename is null pathTemplate: "\"/v1/ideogram-v4/describe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1511,7 +1511,7 @@ request.ImageFilename is null pathTemplate: "\"/v1/ideogram-v4/describe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -1545,7 +1545,7 @@ request.ImageFilename is null pathTemplate: "\"/v1/ideogram-v4/describe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -1586,7 +1586,7 @@ request.ImageFilename is null pathTemplate: "\"/v1/ideogram-v4/describe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1634,7 +1634,7 @@ request.ImageFilename is null pathTemplate: "\"/v1/ideogram-v4/describe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1656,7 +1656,7 @@ request.ImageFilename is null pathTemplate: "\"/v1/ideogram-v4/describe\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Ideogram/Generated/Ideogram.WebhooksClient.GetWebhookSigningJwks.g.cs b/src/libs/Ideogram/Generated/Ideogram.WebhooksClient.GetWebhookSigningJwks.g.cs index f4bd34b6..65de071e 100644 --- a/src/libs/Ideogram/Generated/Ideogram.WebhooksClient.GetWebhookSigningJwks.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.WebhooksClient.GetWebhookSigningJwks.g.cs @@ -178,7 +178,7 @@ partial void ProcessGetWebhookSigningJwksResponseContent( pathTemplate: "\"/v1/.well-known/jwks.json\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -212,7 +212,7 @@ partial void ProcessGetWebhookSigningJwksResponseContent( pathTemplate: "\"/v1/.well-known/jwks.json\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -253,7 +253,7 @@ partial void ProcessGetWebhookSigningJwksResponseContent( pathTemplate: "\"/v1/.well-known/jwks.json\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -301,7 +301,7 @@ partial void ProcessGetWebhookSigningJwksResponseContent( pathTemplate: "\"/v1/.well-known/jwks.json\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -323,7 +323,7 @@ partial void ProcessGetWebhookSigningJwksResponseContent( pathTemplate: "\"/v1/.well-known/jwks.json\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options,