From 4aa6b285e3a1fb037544932c2ed5f4ba3eaaf7aa Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 28 Sep 2026 04:30:34 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../MagicHour.AccountClient.AccountGet.g.cs | 10 +++++----- ...AudioProjectsClient.AiVoiceClonerCreateAudio.g.cs | 10 +++++----- ...ioProjectsClient.AiVoiceGeneratorCreateAudio.g.cs | 10 +++++----- ...Hour.AudioProjectsClient.AudioProjectsDelete.g.cs | 12 ++++++------ ....AudioProjectsClient.AudioProjectsGetDetails.g.cs | 12 ++++++------ .../Generated/MagicHour.AutoSDKHttpResponse.g.cs | 4 ++-- ...gicHour.FilesClient.FaceDetectionDetectFaces.g.cs | 10 +++++----- ...agicHour.FilesClient.FaceDetectionGetDetails.g.cs | 12 ++++++------ .../MagicHour.FilesClient.SavedItemsList.g.cs | 10 +++++----- ....FilesClient.VideoAssetsGeneratePresignedUrl.g.cs | 10 +++++----- ...geProjectsClient.AiClothesChangerCreateImage.g.cs | 10 +++++----- ...ur.ImageProjectsClient.AiFaceEditorEditImage.g.cs | 10 +++++----- ...mageProjectsClient.AiGifGeneratorCreateImage.g.cs | 10 +++++----- ...rojectsClient.AiHeadshotGeneratorCreateImage.g.cs | 10 +++++----- ...ImageProjectsClient.AiImageEditorCreateImage.g.cs | 10 +++++----- ...geProjectsClient.AiImageGeneratorCreateImage.g.cs | 10 +++++----- ...ageProjectsClient.AiImageUpscalerCreateImage.g.cs | 10 +++++----- ...ageProjectsClient.AiMemeGeneratorCreateImage.g.cs | 10 +++++----- ...eProjectsClient.AiQrCodeGeneratorCreateImage.g.cs | 10 +++++----- ...Hour.ImageProjectsClient.BodySwapCreateImage.g.cs | 10 +++++----- ...ImageProjectsClient.FaceSwapPhotoCreateImage.g.cs | 10 +++++----- ...Hour.ImageProjectsClient.HeadSwapCreateImage.g.cs | 10 +++++----- ...ectsClient.ImageBackgroundRemoverCreateImage.g.cs | 10 +++++----- ...Hour.ImageProjectsClient.ImageProjectsDelete.g.cs | 12 ++++++------ ....ImageProjectsClient.ImageProjectsGetDetails.g.cs | 12 ++++++------ ...mageProjectsClient.PhotoColorizerCreateImage.g.cs | 10 +++++----- ...jectsClient.AiTalkingPhotoCreateTalkingPhoto.g.cs | 10 +++++----- ...VideoProjectsClient.AiVideoEditorCreateVideo.g.cs | 10 +++++----- ...oProjectsClient.AiVideoTranslatorCreateVideo.g.cs | 10 +++++----- ...our.VideoProjectsClient.AnimationCreateVideo.g.cs | 10 +++++----- ....VideoProjectsClient.AudioToVideoCreateVideo.g.cs | 10 +++++----- ...jectsClient.AutoSubtitleGeneratorCreateVideo.g.cs | 10 +++++----- ...eoProjectsClient.CharacterReplaceCreateVideo.g.cs | 10 +++++----- ...Hour.VideoProjectsClient.FaceSwapCreateVideo.g.cs | 10 +++++----- ....VideoProjectsClient.ImageToVideoCreateVideo.g.cs | 10 +++++----- ...cHour.VideoProjectsClient.LipSyncCreateVideo.g.cs | 10 +++++----- ...r.VideoProjectsClient.TextToVideoCreateVideo.g.cs | 10 +++++----- ...Hour.VideoProjectsClient.VideoProjectsDelete.g.cs | 12 ++++++------ ....VideoProjectsClient.VideoProjectsGetDetails.g.cs | 12 ++++++------ ....VideoProjectsClient.VideoToVideoCreateVideo.g.cs | 10 +++++----- 40 files changed, 204 insertions(+), 204 deletions(-) diff --git a/src/libs/MagicHour/Generated/MagicHour.AccountClient.AccountGet.g.cs b/src/libs/MagicHour/Generated/MagicHour.AccountClient.AccountGet.g.cs index 3e32353..771b3f6 100644 --- a/src/libs/MagicHour/Generated/MagicHour.AccountClient.AccountGet.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.AccountClient.AccountGet.g.cs @@ -172,7 +172,7 @@ partial void ProcessAccountGetResponseContent( pathTemplate: "\"/v1/account\"", 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 ProcessAccountGetResponseContent( pathTemplate: "\"/v1/account\"", 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 ProcessAccountGetResponseContent( pathTemplate: "\"/v1/account\"", 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 ProcessAccountGetResponseContent( pathTemplate: "\"/v1/account\"", 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 ProcessAccountGetResponseContent( pathTemplate: "\"/v1/account\"", 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/MagicHour/Generated/MagicHour.AudioProjectsClient.AiVoiceClonerCreateAudio.g.cs b/src/libs/MagicHour/Generated/MagicHour.AudioProjectsClient.AiVoiceClonerCreateAudio.g.cs index abb330c..8ec28e2 100644 --- a/src/libs/MagicHour/Generated/MagicHour.AudioProjectsClient.AiVoiceClonerCreateAudio.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.AudioProjectsClient.AiVoiceClonerCreateAudio.g.cs @@ -220,7 +220,7 @@ partial void ProcessAiVoiceClonerCreateAudioResponseContent( pathTemplate: "\"/v1/ai-voice-cloner\"", httpMethod: "POST", baseUri: 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, @@ -254,7 +254,7 @@ partial void ProcessAiVoiceClonerCreateAudioResponseContent( pathTemplate: "\"/v1/ai-voice-cloner\"", httpMethod: "POST", baseUri: 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, @@ -295,7 +295,7 @@ partial void ProcessAiVoiceClonerCreateAudioResponseContent( pathTemplate: "\"/v1/ai-voice-cloner\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessAiVoiceClonerCreateAudioResponseContent( pathTemplate: "\"/v1/ai-voice-cloner\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -365,7 +365,7 @@ partial void ProcessAiVoiceClonerCreateAudioResponseContent( pathTemplate: "\"/v1/ai-voice-cloner\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/MagicHour/Generated/MagicHour.AudioProjectsClient.AiVoiceGeneratorCreateAudio.g.cs b/src/libs/MagicHour/Generated/MagicHour.AudioProjectsClient.AiVoiceGeneratorCreateAudio.g.cs index f7eba8b..7be7b9e 100644 --- a/src/libs/MagicHour/Generated/MagicHour.AudioProjectsClient.AiVoiceGeneratorCreateAudio.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.AudioProjectsClient.AiVoiceGeneratorCreateAudio.g.cs @@ -212,7 +212,7 @@ partial void ProcessAiVoiceGeneratorCreateAudioResponseContent( pathTemplate: "\"/v1/ai-voice-generator\"", httpMethod: "POST", baseUri: 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 ProcessAiVoiceGeneratorCreateAudioResponseContent( pathTemplate: "\"/v1/ai-voice-generator\"", httpMethod: "POST", baseUri: 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 ProcessAiVoiceGeneratorCreateAudioResponseContent( pathTemplate: "\"/v1/ai-voice-generator\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessAiVoiceGeneratorCreateAudioResponseContent( pathTemplate: "\"/v1/ai-voice-generator\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessAiVoiceGeneratorCreateAudioResponseContent( pathTemplate: "\"/v1/ai-voice-generator\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/MagicHour/Generated/MagicHour.AudioProjectsClient.AudioProjectsDelete.g.cs b/src/libs/MagicHour/Generated/MagicHour.AudioProjectsClient.AudioProjectsDelete.g.cs index 4c76f4a..eaf16fa 100644 --- a/src/libs/MagicHour/Generated/MagicHour.AudioProjectsClient.AudioProjectsDelete.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.AudioProjectsClient.AudioProjectsDelete.g.cs @@ -156,7 +156,7 @@ await AudioProjectsDeleteAsResponseAsync( PrepareAudioProjectsDeleteRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id!); + id: id); return __httpRequest; } @@ -178,7 +178,7 @@ await AudioProjectsDeleteAsResponseAsync( pathTemplate: "$\"/v1/audio-projects/{id}\"", 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, @@ -212,7 +212,7 @@ await AudioProjectsDeleteAsResponseAsync( pathTemplate: "$\"/v1/audio-projects/{id}\"", 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, @@ -253,7 +253,7 @@ await AudioProjectsDeleteAsResponseAsync( pathTemplate: "$\"/v1/audio-projects/{id}\"", 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, @@ -301,7 +301,7 @@ await AudioProjectsDeleteAsResponseAsync( pathTemplate: "$\"/v1/audio-projects/{id}\"", 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, @@ -323,7 +323,7 @@ await AudioProjectsDeleteAsResponseAsync( pathTemplate: "$\"/v1/audio-projects/{id}\"", 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/MagicHour/Generated/MagicHour.AudioProjectsClient.AudioProjectsGetDetails.g.cs b/src/libs/MagicHour/Generated/MagicHour.AudioProjectsClient.AudioProjectsGetDetails.g.cs index 259e633..ec18c58 100644 --- a/src/libs/MagicHour/Generated/MagicHour.AudioProjectsClient.AudioProjectsGetDetails.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.AudioProjectsClient.AudioProjectsGetDetails.g.cs @@ -179,7 +179,7 @@ partial void ProcessAudioProjectsGetDetailsResponseContent( PrepareAudioProjectsGetDetailsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id!); + id: id); return __httpRequest; } @@ -201,7 +201,7 @@ partial void ProcessAudioProjectsGetDetailsResponseContent( pathTemplate: "$\"/v1/audio-projects/{id}\"", 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, @@ -235,7 +235,7 @@ partial void ProcessAudioProjectsGetDetailsResponseContent( pathTemplate: "$\"/v1/audio-projects/{id}\"", 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, @@ -276,7 +276,7 @@ partial void ProcessAudioProjectsGetDetailsResponseContent( pathTemplate: "$\"/v1/audio-projects/{id}\"", 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, @@ -324,7 +324,7 @@ partial void ProcessAudioProjectsGetDetailsResponseContent( pathTemplate: "$\"/v1/audio-projects/{id}\"", 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, @@ -346,7 +346,7 @@ partial void ProcessAudioProjectsGetDetailsResponseContent( pathTemplate: "$\"/v1/audio-projects/{id}\"", 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/MagicHour/Generated/MagicHour.AutoSDKHttpResponse.g.cs b/src/libs/MagicHour/Generated/MagicHour.AutoSDKHttpResponse.g.cs index 1f33471..4368844 100644 --- a/src/libs/MagicHour/Generated/MagicHour.AutoSDKHttpResponse.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.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/MagicHour/Generated/MagicHour.FilesClient.FaceDetectionDetectFaces.g.cs b/src/libs/MagicHour/Generated/MagicHour.FilesClient.FaceDetectionDetectFaces.g.cs index 172873f..32436fd 100644 --- a/src/libs/MagicHour/Generated/MagicHour.FilesClient.FaceDetectionDetectFaces.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.FilesClient.FaceDetectionDetectFaces.g.cs @@ -216,7 +216,7 @@ partial void ProcessFaceDetectionDetectFacesResponseContent( pathTemplate: "\"/v1/face-detection\"", httpMethod: "POST", baseUri: 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 ProcessFaceDetectionDetectFacesResponseContent( pathTemplate: "\"/v1/face-detection\"", httpMethod: "POST", baseUri: 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 ProcessFaceDetectionDetectFacesResponseContent( pathTemplate: "\"/v1/face-detection\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessFaceDetectionDetectFacesResponseContent( pathTemplate: "\"/v1/face-detection\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessFaceDetectionDetectFacesResponseContent( pathTemplate: "\"/v1/face-detection\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/MagicHour/Generated/MagicHour.FilesClient.FaceDetectionGetDetails.g.cs b/src/libs/MagicHour/Generated/MagicHour.FilesClient.FaceDetectionGetDetails.g.cs index b222689..0c2950d 100644 --- a/src/libs/MagicHour/Generated/MagicHour.FilesClient.FaceDetectionGetDetails.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.FilesClient.FaceDetectionGetDetails.g.cs @@ -165,7 +165,7 @@ partial void ProcessFaceDetectionGetDetailsResponseContent( PrepareFaceDetectionGetDetailsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id!); + id: id); return __httpRequest; } @@ -187,7 +187,7 @@ partial void ProcessFaceDetectionGetDetailsResponseContent( pathTemplate: "$\"/v1/face-detection/{id}\"", 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, @@ -221,7 +221,7 @@ partial void ProcessFaceDetectionGetDetailsResponseContent( pathTemplate: "$\"/v1/face-detection/{id}\"", 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, @@ -262,7 +262,7 @@ partial void ProcessFaceDetectionGetDetailsResponseContent( pathTemplate: "$\"/v1/face-detection/{id}\"", 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, @@ -310,7 +310,7 @@ partial void ProcessFaceDetectionGetDetailsResponseContent( pathTemplate: "$\"/v1/face-detection/{id}\"", 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, @@ -332,7 +332,7 @@ partial void ProcessFaceDetectionGetDetailsResponseContent( pathTemplate: "$\"/v1/face-detection/{id}\"", 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/MagicHour/Generated/MagicHour.FilesClient.SavedItemsList.g.cs b/src/libs/MagicHour/Generated/MagicHour.FilesClient.SavedItemsList.g.cs index 811df24..927a01e 100644 --- a/src/libs/MagicHour/Generated/MagicHour.FilesClient.SavedItemsList.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.FilesClient.SavedItemsList.g.cs @@ -214,7 +214,7 @@ partial void ProcessSavedItemsListResponseContent( pathTemplate: "\"/v1/saved-items\"", 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, @@ -248,7 +248,7 @@ partial void ProcessSavedItemsListResponseContent( pathTemplate: "\"/v1/saved-items\"", 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, @@ -289,7 +289,7 @@ partial void ProcessSavedItemsListResponseContent( pathTemplate: "\"/v1/saved-items\"", 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, @@ -337,7 +337,7 @@ partial void ProcessSavedItemsListResponseContent( pathTemplate: "\"/v1/saved-items\"", 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, @@ -359,7 +359,7 @@ partial void ProcessSavedItemsListResponseContent( pathTemplate: "\"/v1/saved-items\"", 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/MagicHour/Generated/MagicHour.FilesClient.VideoAssetsGeneratePresignedUrl.g.cs b/src/libs/MagicHour/Generated/MagicHour.FilesClient.VideoAssetsGeneratePresignedUrl.g.cs index fa3a6f0..4b5e0f9 100644 --- a/src/libs/MagicHour/Generated/MagicHour.FilesClient.VideoAssetsGeneratePresignedUrl.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.FilesClient.VideoAssetsGeneratePresignedUrl.g.cs @@ -248,7 +248,7 @@ partial void ProcessVideoAssetsGeneratePresignedUrlResponseContent( pathTemplate: "\"/v1/files/upload-urls\"", httpMethod: "POST", baseUri: 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, @@ -282,7 +282,7 @@ partial void ProcessVideoAssetsGeneratePresignedUrlResponseContent( pathTemplate: "\"/v1/files/upload-urls\"", httpMethod: "POST", baseUri: 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, @@ -323,7 +323,7 @@ partial void ProcessVideoAssetsGeneratePresignedUrlResponseContent( pathTemplate: "\"/v1/files/upload-urls\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 @@ partial void ProcessVideoAssetsGeneratePresignedUrlResponseContent( pathTemplate: "\"/v1/files/upload-urls\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -393,7 +393,7 @@ partial void ProcessVideoAssetsGeneratePresignedUrlResponseContent( pathTemplate: "\"/v1/files/upload-urls\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/MagicHour/Generated/MagicHour.ImageProjectsClient.AiClothesChangerCreateImage.g.cs b/src/libs/MagicHour/Generated/MagicHour.ImageProjectsClient.AiClothesChangerCreateImage.g.cs index abc36c8..4d6da06 100644 --- a/src/libs/MagicHour/Generated/MagicHour.ImageProjectsClient.AiClothesChangerCreateImage.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.ImageProjectsClient.AiClothesChangerCreateImage.g.cs @@ -214,7 +214,7 @@ partial void ProcessAiClothesChangerCreateImageResponseContent( pathTemplate: "\"/v1/ai-clothes-changer\"", httpMethod: "POST", baseUri: 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 ProcessAiClothesChangerCreateImageResponseContent( pathTemplate: "\"/v1/ai-clothes-changer\"", httpMethod: "POST", baseUri: 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 ProcessAiClothesChangerCreateImageResponseContent( pathTemplate: "\"/v1/ai-clothes-changer\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessAiClothesChangerCreateImageResponseContent( pathTemplate: "\"/v1/ai-clothes-changer\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessAiClothesChangerCreateImageResponseContent( pathTemplate: "\"/v1/ai-clothes-changer\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/MagicHour/Generated/MagicHour.ImageProjectsClient.AiFaceEditorEditImage.g.cs b/src/libs/MagicHour/Generated/MagicHour.ImageProjectsClient.AiFaceEditorEditImage.g.cs index 416537c..9ff4981 100644 --- a/src/libs/MagicHour/Generated/MagicHour.ImageProjectsClient.AiFaceEditorEditImage.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.ImageProjectsClient.AiFaceEditorEditImage.g.cs @@ -244,7 +244,7 @@ partial void ProcessAiFaceEditorEditImageResponseContent( pathTemplate: "\"/v1/ai-face-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, @@ -278,7 +278,7 @@ partial void ProcessAiFaceEditorEditImageResponseContent( pathTemplate: "\"/v1/ai-face-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, @@ -319,7 +319,7 @@ partial void ProcessAiFaceEditorEditImageResponseContent( pathTemplate: "\"/v1/ai-face-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, @@ -367,7 +367,7 @@ partial void ProcessAiFaceEditorEditImageResponseContent( pathTemplate: "\"/v1/ai-face-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, @@ -389,7 +389,7 @@ partial void ProcessAiFaceEditorEditImageResponseContent( pathTemplate: "\"/v1/ai-face-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/MagicHour/Generated/MagicHour.ImageProjectsClient.AiGifGeneratorCreateImage.g.cs b/src/libs/MagicHour/Generated/MagicHour.ImageProjectsClient.AiGifGeneratorCreateImage.g.cs index 6b2596e..1f5be50 100644 --- a/src/libs/MagicHour/Generated/MagicHour.ImageProjectsClient.AiGifGeneratorCreateImage.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.ImageProjectsClient.AiGifGeneratorCreateImage.g.cs @@ -212,7 +212,7 @@ partial void ProcessAiGifGeneratorCreateImageResponseContent( pathTemplate: "\"/v1/ai-gif-generator\"", httpMethod: "POST", baseUri: 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 ProcessAiGifGeneratorCreateImageResponseContent( pathTemplate: "\"/v1/ai-gif-generator\"", httpMethod: "POST", baseUri: 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 ProcessAiGifGeneratorCreateImageResponseContent( pathTemplate: "\"/v1/ai-gif-generator\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessAiGifGeneratorCreateImageResponseContent( pathTemplate: "\"/v1/ai-gif-generator\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessAiGifGeneratorCreateImageResponseContent( pathTemplate: "\"/v1/ai-gif-generator\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/MagicHour/Generated/MagicHour.ImageProjectsClient.AiHeadshotGeneratorCreateImage.g.cs b/src/libs/MagicHour/Generated/MagicHour.ImageProjectsClient.AiHeadshotGeneratorCreateImage.g.cs index 7f8d97f..a77c8a9 100644 --- a/src/libs/MagicHour/Generated/MagicHour.ImageProjectsClient.AiHeadshotGeneratorCreateImage.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.ImageProjectsClient.AiHeadshotGeneratorCreateImage.g.cs @@ -216,7 +216,7 @@ partial void ProcessAiHeadshotGeneratorCreateImageResponseContent( pathTemplate: "\"/v1/ai-headshot-generator\"", httpMethod: "POST", baseUri: 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 ProcessAiHeadshotGeneratorCreateImageResponseContent( pathTemplate: "\"/v1/ai-headshot-generator\"", httpMethod: "POST", baseUri: 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 ProcessAiHeadshotGeneratorCreateImageResponseContent( pathTemplate: "\"/v1/ai-headshot-generator\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessAiHeadshotGeneratorCreateImageResponseContent( pathTemplate: "\"/v1/ai-headshot-generator\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessAiHeadshotGeneratorCreateImageResponseContent( pathTemplate: "\"/v1/ai-headshot-generator\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/MagicHour/Generated/MagicHour.ImageProjectsClient.AiImageEditorCreateImage.g.cs b/src/libs/MagicHour/Generated/MagicHour.ImageProjectsClient.AiImageEditorCreateImage.g.cs index 24352c5..880681b 100644 --- a/src/libs/MagicHour/Generated/MagicHour.ImageProjectsClient.AiImageEditorCreateImage.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.ImageProjectsClient.AiImageEditorCreateImage.g.cs @@ -230,7 +230,7 @@ partial void ProcessAiImageEditorCreateImageResponseContent( pathTemplate: "\"/v1/ai-image-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, @@ -264,7 +264,7 @@ partial void ProcessAiImageEditorCreateImageResponseContent( pathTemplate: "\"/v1/ai-image-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, @@ -305,7 +305,7 @@ partial void ProcessAiImageEditorCreateImageResponseContent( pathTemplate: "\"/v1/ai-image-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, @@ -353,7 +353,7 @@ partial void ProcessAiImageEditorCreateImageResponseContent( pathTemplate: "\"/v1/ai-image-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, @@ -375,7 +375,7 @@ partial void ProcessAiImageEditorCreateImageResponseContent( pathTemplate: "\"/v1/ai-image-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/MagicHour/Generated/MagicHour.ImageProjectsClient.AiImageGeneratorCreateImage.g.cs b/src/libs/MagicHour/Generated/MagicHour.ImageProjectsClient.AiImageGeneratorCreateImage.g.cs index ed82045..80483ca 100644 --- a/src/libs/MagicHour/Generated/MagicHour.ImageProjectsClient.AiImageGeneratorCreateImage.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.ImageProjectsClient.AiImageGeneratorCreateImage.g.cs @@ -220,7 +220,7 @@ partial void ProcessAiImageGeneratorCreateImageResponseContent( pathTemplate: "\"/v1/ai-image-generator\"", httpMethod: "POST", baseUri: 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, @@ -254,7 +254,7 @@ partial void ProcessAiImageGeneratorCreateImageResponseContent( pathTemplate: "\"/v1/ai-image-generator\"", httpMethod: "POST", baseUri: 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, @@ -295,7 +295,7 @@ partial void ProcessAiImageGeneratorCreateImageResponseContent( pathTemplate: "\"/v1/ai-image-generator\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessAiImageGeneratorCreateImageResponseContent( pathTemplate: "\"/v1/ai-image-generator\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -365,7 +365,7 @@ partial void ProcessAiImageGeneratorCreateImageResponseContent( pathTemplate: "\"/v1/ai-image-generator\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/MagicHour/Generated/MagicHour.ImageProjectsClient.AiImageUpscalerCreateImage.g.cs b/src/libs/MagicHour/Generated/MagicHour.ImageProjectsClient.AiImageUpscalerCreateImage.g.cs index 79f5918..f41762d 100644 --- a/src/libs/MagicHour/Generated/MagicHour.ImageProjectsClient.AiImageUpscalerCreateImage.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.ImageProjectsClient.AiImageUpscalerCreateImage.g.cs @@ -214,7 +214,7 @@ partial void ProcessAiImageUpscalerCreateImageResponseContent( pathTemplate: "\"/v1/ai-image-upscaler\"", httpMethod: "POST", baseUri: 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 ProcessAiImageUpscalerCreateImageResponseContent( pathTemplate: "\"/v1/ai-image-upscaler\"", httpMethod: "POST", baseUri: 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 ProcessAiImageUpscalerCreateImageResponseContent( pathTemplate: "\"/v1/ai-image-upscaler\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessAiImageUpscalerCreateImageResponseContent( pathTemplate: "\"/v1/ai-image-upscaler\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessAiImageUpscalerCreateImageResponseContent( pathTemplate: "\"/v1/ai-image-upscaler\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/MagicHour/Generated/MagicHour.ImageProjectsClient.AiMemeGeneratorCreateImage.g.cs b/src/libs/MagicHour/Generated/MagicHour.ImageProjectsClient.AiMemeGeneratorCreateImage.g.cs index 2655d69..4ef6d77 100644 --- a/src/libs/MagicHour/Generated/MagicHour.ImageProjectsClient.AiMemeGeneratorCreateImage.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.ImageProjectsClient.AiMemeGeneratorCreateImage.g.cs @@ -214,7 +214,7 @@ partial void ProcessAiMemeGeneratorCreateImageResponseContent( pathTemplate: "\"/v1/ai-meme-generator\"", httpMethod: "POST", baseUri: 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 ProcessAiMemeGeneratorCreateImageResponseContent( pathTemplate: "\"/v1/ai-meme-generator\"", httpMethod: "POST", baseUri: 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 ProcessAiMemeGeneratorCreateImageResponseContent( pathTemplate: "\"/v1/ai-meme-generator\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessAiMemeGeneratorCreateImageResponseContent( pathTemplate: "\"/v1/ai-meme-generator\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessAiMemeGeneratorCreateImageResponseContent( pathTemplate: "\"/v1/ai-meme-generator\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/MagicHour/Generated/MagicHour.ImageProjectsClient.AiQrCodeGeneratorCreateImage.g.cs b/src/libs/MagicHour/Generated/MagicHour.ImageProjectsClient.AiQrCodeGeneratorCreateImage.g.cs index 9d85f87..eec816c 100644 --- a/src/libs/MagicHour/Generated/MagicHour.ImageProjectsClient.AiQrCodeGeneratorCreateImage.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.ImageProjectsClient.AiQrCodeGeneratorCreateImage.g.cs @@ -212,7 +212,7 @@ partial void ProcessAiQrCodeGeneratorCreateImageResponseContent( pathTemplate: "\"/v1/ai-qr-code-generator\"", httpMethod: "POST", baseUri: 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 ProcessAiQrCodeGeneratorCreateImageResponseContent( pathTemplate: "\"/v1/ai-qr-code-generator\"", httpMethod: "POST", baseUri: 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 ProcessAiQrCodeGeneratorCreateImageResponseContent( pathTemplate: "\"/v1/ai-qr-code-generator\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessAiQrCodeGeneratorCreateImageResponseContent( pathTemplate: "\"/v1/ai-qr-code-generator\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessAiQrCodeGeneratorCreateImageResponseContent( pathTemplate: "\"/v1/ai-qr-code-generator\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/MagicHour/Generated/MagicHour.ImageProjectsClient.BodySwapCreateImage.g.cs b/src/libs/MagicHour/Generated/MagicHour.ImageProjectsClient.BodySwapCreateImage.g.cs index 80fdc2a..462b3e6 100644 --- a/src/libs/MagicHour/Generated/MagicHour.ImageProjectsClient.BodySwapCreateImage.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.ImageProjectsClient.BodySwapCreateImage.g.cs @@ -214,7 +214,7 @@ partial void ProcessBodySwapCreateImageResponseContent( pathTemplate: "\"/v1/body-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, @@ -248,7 +248,7 @@ partial void ProcessBodySwapCreateImageResponseContent( pathTemplate: "\"/v1/body-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, @@ -289,7 +289,7 @@ partial void ProcessBodySwapCreateImageResponseContent( pathTemplate: "\"/v1/body-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, @@ -337,7 +337,7 @@ partial void ProcessBodySwapCreateImageResponseContent( pathTemplate: "\"/v1/body-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, @@ -359,7 +359,7 @@ partial void ProcessBodySwapCreateImageResponseContent( pathTemplate: "\"/v1/body-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/MagicHour/Generated/MagicHour.ImageProjectsClient.FaceSwapPhotoCreateImage.g.cs b/src/libs/MagicHour/Generated/MagicHour.ImageProjectsClient.FaceSwapPhotoCreateImage.g.cs index 0c67f5c..1030f73 100644 --- a/src/libs/MagicHour/Generated/MagicHour.ImageProjectsClient.FaceSwapPhotoCreateImage.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.ImageProjectsClient.FaceSwapPhotoCreateImage.g.cs @@ -226,7 +226,7 @@ partial void ProcessFaceSwapPhotoCreateImageResponseContent( pathTemplate: "\"/v1/face-swap-photo\"", httpMethod: "POST", baseUri: 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 @@ partial void ProcessFaceSwapPhotoCreateImageResponseContent( pathTemplate: "\"/v1/face-swap-photo\"", httpMethod: "POST", baseUri: 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 @@ partial void ProcessFaceSwapPhotoCreateImageResponseContent( pathTemplate: "\"/v1/face-swap-photo\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 @@ partial void ProcessFaceSwapPhotoCreateImageResponseContent( pathTemplate: "\"/v1/face-swap-photo\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 @@ partial void ProcessFaceSwapPhotoCreateImageResponseContent( pathTemplate: "\"/v1/face-swap-photo\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/MagicHour/Generated/MagicHour.ImageProjectsClient.HeadSwapCreateImage.g.cs b/src/libs/MagicHour/Generated/MagicHour.ImageProjectsClient.HeadSwapCreateImage.g.cs index 9b6d154..540294a 100644 --- a/src/libs/MagicHour/Generated/MagicHour.ImageProjectsClient.HeadSwapCreateImage.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.ImageProjectsClient.HeadSwapCreateImage.g.cs @@ -214,7 +214,7 @@ partial void ProcessHeadSwapCreateImageResponseContent( pathTemplate: "\"/v1/head-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, @@ -248,7 +248,7 @@ partial void ProcessHeadSwapCreateImageResponseContent( pathTemplate: "\"/v1/head-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, @@ -289,7 +289,7 @@ partial void ProcessHeadSwapCreateImageResponseContent( pathTemplate: "\"/v1/head-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, @@ -337,7 +337,7 @@ partial void ProcessHeadSwapCreateImageResponseContent( pathTemplate: "\"/v1/head-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, @@ -359,7 +359,7 @@ partial void ProcessHeadSwapCreateImageResponseContent( pathTemplate: "\"/v1/head-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/MagicHour/Generated/MagicHour.ImageProjectsClient.ImageBackgroundRemoverCreateImage.g.cs b/src/libs/MagicHour/Generated/MagicHour.ImageProjectsClient.ImageBackgroundRemoverCreateImage.g.cs index 1ef8309..22fba7c 100644 --- a/src/libs/MagicHour/Generated/MagicHour.ImageProjectsClient.ImageBackgroundRemoverCreateImage.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.ImageProjectsClient.ImageBackgroundRemoverCreateImage.g.cs @@ -212,7 +212,7 @@ partial void ProcessImageBackgroundRemoverCreateImageResponseContent( pathTemplate: "\"/v1/image-background-remover\"", httpMethod: "POST", baseUri: 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 ProcessImageBackgroundRemoverCreateImageResponseContent( pathTemplate: "\"/v1/image-background-remover\"", httpMethod: "POST", baseUri: 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 ProcessImageBackgroundRemoverCreateImageResponseContent( pathTemplate: "\"/v1/image-background-remover\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessImageBackgroundRemoverCreateImageResponseContent( pathTemplate: "\"/v1/image-background-remover\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessImageBackgroundRemoverCreateImageResponseContent( pathTemplate: "\"/v1/image-background-remover\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/MagicHour/Generated/MagicHour.ImageProjectsClient.ImageProjectsDelete.g.cs b/src/libs/MagicHour/Generated/MagicHour.ImageProjectsClient.ImageProjectsDelete.g.cs index 009b10a..ea7d93e 100644 --- a/src/libs/MagicHour/Generated/MagicHour.ImageProjectsClient.ImageProjectsDelete.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.ImageProjectsClient.ImageProjectsDelete.g.cs @@ -156,7 +156,7 @@ await ImageProjectsDeleteAsResponseAsync( PrepareImageProjectsDeleteRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id!); + id: id); return __httpRequest; } @@ -178,7 +178,7 @@ await ImageProjectsDeleteAsResponseAsync( pathTemplate: "$\"/v1/image-projects/{id}\"", 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, @@ -212,7 +212,7 @@ await ImageProjectsDeleteAsResponseAsync( pathTemplate: "$\"/v1/image-projects/{id}\"", 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, @@ -253,7 +253,7 @@ await ImageProjectsDeleteAsResponseAsync( pathTemplate: "$\"/v1/image-projects/{id}\"", 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, @@ -301,7 +301,7 @@ await ImageProjectsDeleteAsResponseAsync( pathTemplate: "$\"/v1/image-projects/{id}\"", 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, @@ -323,7 +323,7 @@ await ImageProjectsDeleteAsResponseAsync( pathTemplate: "$\"/v1/image-projects/{id}\"", 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/MagicHour/Generated/MagicHour.ImageProjectsClient.ImageProjectsGetDetails.g.cs b/src/libs/MagicHour/Generated/MagicHour.ImageProjectsClient.ImageProjectsGetDetails.g.cs index 4758f00..33fb1d0 100644 --- a/src/libs/MagicHour/Generated/MagicHour.ImageProjectsClient.ImageProjectsGetDetails.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.ImageProjectsClient.ImageProjectsGetDetails.g.cs @@ -179,7 +179,7 @@ partial void ProcessImageProjectsGetDetailsResponseContent( PrepareImageProjectsGetDetailsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id!); + id: id); return __httpRequest; } @@ -201,7 +201,7 @@ partial void ProcessImageProjectsGetDetailsResponseContent( pathTemplate: "$\"/v1/image-projects/{id}\"", 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, @@ -235,7 +235,7 @@ partial void ProcessImageProjectsGetDetailsResponseContent( pathTemplate: "$\"/v1/image-projects/{id}\"", 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, @@ -276,7 +276,7 @@ partial void ProcessImageProjectsGetDetailsResponseContent( pathTemplate: "$\"/v1/image-projects/{id}\"", 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, @@ -324,7 +324,7 @@ partial void ProcessImageProjectsGetDetailsResponseContent( pathTemplate: "$\"/v1/image-projects/{id}\"", 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, @@ -346,7 +346,7 @@ partial void ProcessImageProjectsGetDetailsResponseContent( pathTemplate: "$\"/v1/image-projects/{id}\"", 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/MagicHour/Generated/MagicHour.ImageProjectsClient.PhotoColorizerCreateImage.g.cs b/src/libs/MagicHour/Generated/MagicHour.ImageProjectsClient.PhotoColorizerCreateImage.g.cs index 82bbd20..ab2c239 100644 --- a/src/libs/MagicHour/Generated/MagicHour.ImageProjectsClient.PhotoColorizerCreateImage.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.ImageProjectsClient.PhotoColorizerCreateImage.g.cs @@ -210,7 +210,7 @@ partial void ProcessPhotoColorizerCreateImageResponseContent( pathTemplate: "\"/v1/photo-colorizer\"", httpMethod: "POST", baseUri: 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, @@ -244,7 +244,7 @@ partial void ProcessPhotoColorizerCreateImageResponseContent( pathTemplate: "\"/v1/photo-colorizer\"", httpMethod: "POST", baseUri: 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, @@ -285,7 +285,7 @@ partial void ProcessPhotoColorizerCreateImageResponseContent( pathTemplate: "\"/v1/photo-colorizer\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessPhotoColorizerCreateImageResponseContent( pathTemplate: "\"/v1/photo-colorizer\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -355,7 +355,7 @@ partial void ProcessPhotoColorizerCreateImageResponseContent( pathTemplate: "\"/v1/photo-colorizer\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/MagicHour/Generated/MagicHour.VideoProjectsClient.AiTalkingPhotoCreateTalkingPhoto.g.cs b/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.AiTalkingPhotoCreateTalkingPhoto.g.cs index ee1e2be..5d251b1 100644 --- a/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.AiTalkingPhotoCreateTalkingPhoto.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.AiTalkingPhotoCreateTalkingPhoto.g.cs @@ -226,7 +226,7 @@ partial void ProcessAiTalkingPhotoCreateTalkingPhotoResponseContent( pathTemplate: "\"/v1/ai-talking-photo\"", httpMethod: "POST", baseUri: 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 @@ partial void ProcessAiTalkingPhotoCreateTalkingPhotoResponseContent( pathTemplate: "\"/v1/ai-talking-photo\"", httpMethod: "POST", baseUri: 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 @@ partial void ProcessAiTalkingPhotoCreateTalkingPhotoResponseContent( pathTemplate: "\"/v1/ai-talking-photo\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 @@ partial void ProcessAiTalkingPhotoCreateTalkingPhotoResponseContent( pathTemplate: "\"/v1/ai-talking-photo\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 @@ partial void ProcessAiTalkingPhotoCreateTalkingPhotoResponseContent( pathTemplate: "\"/v1/ai-talking-photo\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/MagicHour/Generated/MagicHour.VideoProjectsClient.AiVideoEditorCreateVideo.g.cs b/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.AiVideoEditorCreateVideo.g.cs index ba9b60c..3cabd14 100644 --- a/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.AiVideoEditorCreateVideo.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.AiVideoEditorCreateVideo.g.cs @@ -256,7 +256,7 @@ partial void ProcessAiVideoEditorCreateVideoResponseContent( pathTemplate: "\"/v1/ai-video-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, @@ -290,7 +290,7 @@ partial void ProcessAiVideoEditorCreateVideoResponseContent( pathTemplate: "\"/v1/ai-video-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, @@ -331,7 +331,7 @@ partial void ProcessAiVideoEditorCreateVideoResponseContent( pathTemplate: "\"/v1/ai-video-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, @@ -379,7 +379,7 @@ partial void ProcessAiVideoEditorCreateVideoResponseContent( pathTemplate: "\"/v1/ai-video-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, @@ -401,7 +401,7 @@ partial void ProcessAiVideoEditorCreateVideoResponseContent( pathTemplate: "\"/v1/ai-video-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/MagicHour/Generated/MagicHour.VideoProjectsClient.AiVideoTranslatorCreateVideo.g.cs b/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.AiVideoTranslatorCreateVideo.g.cs index df08064..6b831d4 100644 --- a/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.AiVideoTranslatorCreateVideo.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.AiVideoTranslatorCreateVideo.g.cs @@ -212,7 +212,7 @@ partial void ProcessAiVideoTranslatorCreateVideoResponseContent( pathTemplate: "\"/v1/ai-video-translator\"", httpMethod: "POST", baseUri: 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 ProcessAiVideoTranslatorCreateVideoResponseContent( pathTemplate: "\"/v1/ai-video-translator\"", httpMethod: "POST", baseUri: 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 ProcessAiVideoTranslatorCreateVideoResponseContent( pathTemplate: "\"/v1/ai-video-translator\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessAiVideoTranslatorCreateVideoResponseContent( pathTemplate: "\"/v1/ai-video-translator\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessAiVideoTranslatorCreateVideoResponseContent( pathTemplate: "\"/v1/ai-video-translator\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/MagicHour/Generated/MagicHour.VideoProjectsClient.AnimationCreateVideo.g.cs b/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.AnimationCreateVideo.g.cs index 13a894f..36c5c0b 100644 --- a/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.AnimationCreateVideo.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.AnimationCreateVideo.g.cs @@ -240,7 +240,7 @@ partial void ProcessAnimationCreateVideoResponseContent( pathTemplate: "\"/v1/animation\"", httpMethod: "POST", baseUri: 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, @@ -274,7 +274,7 @@ partial void ProcessAnimationCreateVideoResponseContent( pathTemplate: "\"/v1/animation\"", httpMethod: "POST", baseUri: 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, @@ -315,7 +315,7 @@ partial void ProcessAnimationCreateVideoResponseContent( pathTemplate: "\"/v1/animation\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessAnimationCreateVideoResponseContent( pathTemplate: "\"/v1/animation\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -385,7 +385,7 @@ partial void ProcessAnimationCreateVideoResponseContent( pathTemplate: "\"/v1/animation\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/MagicHour/Generated/MagicHour.VideoProjectsClient.AudioToVideoCreateVideo.g.cs b/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.AudioToVideoCreateVideo.g.cs index f39b3d0..dbb24b3 100644 --- a/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.AudioToVideoCreateVideo.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.AudioToVideoCreateVideo.g.cs @@ -256,7 +256,7 @@ partial void ProcessAudioToVideoCreateVideoResponseContent( pathTemplate: "\"/v1/audio-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, @@ -290,7 +290,7 @@ partial void ProcessAudioToVideoCreateVideoResponseContent( pathTemplate: "\"/v1/audio-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, @@ -331,7 +331,7 @@ partial void ProcessAudioToVideoCreateVideoResponseContent( pathTemplate: "\"/v1/audio-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, @@ -379,7 +379,7 @@ partial void ProcessAudioToVideoCreateVideoResponseContent( pathTemplate: "\"/v1/audio-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, @@ -401,7 +401,7 @@ partial void ProcessAudioToVideoCreateVideoResponseContent( pathTemplate: "\"/v1/audio-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/MagicHour/Generated/MagicHour.VideoProjectsClient.AutoSubtitleGeneratorCreateVideo.g.cs b/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.AutoSubtitleGeneratorCreateVideo.g.cs index 2778acb..d9df099 100644 --- a/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.AutoSubtitleGeneratorCreateVideo.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.AutoSubtitleGeneratorCreateVideo.g.cs @@ -242,7 +242,7 @@ partial void ProcessAutoSubtitleGeneratorCreateVideoResponseContent( pathTemplate: "\"/v1/auto-subtitle-generator\"", httpMethod: "POST", baseUri: 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, @@ -276,7 +276,7 @@ partial void ProcessAutoSubtitleGeneratorCreateVideoResponseContent( pathTemplate: "\"/v1/auto-subtitle-generator\"", httpMethod: "POST", baseUri: 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, @@ -317,7 +317,7 @@ partial void ProcessAutoSubtitleGeneratorCreateVideoResponseContent( pathTemplate: "\"/v1/auto-subtitle-generator\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -365,7 +365,7 @@ partial void ProcessAutoSubtitleGeneratorCreateVideoResponseContent( pathTemplate: "\"/v1/auto-subtitle-generator\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -387,7 +387,7 @@ partial void ProcessAutoSubtitleGeneratorCreateVideoResponseContent( pathTemplate: "\"/v1/auto-subtitle-generator\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/MagicHour/Generated/MagicHour.VideoProjectsClient.CharacterReplaceCreateVideo.g.cs b/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.CharacterReplaceCreateVideo.g.cs index d9a5a86..b0d9afb 100644 --- a/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.CharacterReplaceCreateVideo.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.CharacterReplaceCreateVideo.g.cs @@ -258,7 +258,7 @@ partial void ProcessCharacterReplaceCreateVideoResponseContent( pathTemplate: "\"/v1/character-replace\"", httpMethod: "POST", baseUri: 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, @@ -292,7 +292,7 @@ partial void ProcessCharacterReplaceCreateVideoResponseContent( pathTemplate: "\"/v1/character-replace\"", httpMethod: "POST", baseUri: 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, @@ -333,7 +333,7 @@ partial void ProcessCharacterReplaceCreateVideoResponseContent( pathTemplate: "\"/v1/character-replace\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -381,7 +381,7 @@ partial void ProcessCharacterReplaceCreateVideoResponseContent( pathTemplate: "\"/v1/character-replace\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -403,7 +403,7 @@ partial void ProcessCharacterReplaceCreateVideoResponseContent( pathTemplate: "\"/v1/character-replace\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/MagicHour/Generated/MagicHour.VideoProjectsClient.FaceSwapCreateVideo.g.cs b/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.FaceSwapCreateVideo.g.cs index 4d6cdd5..cc1be3d 100644 --- a/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.FaceSwapCreateVideo.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.FaceSwapCreateVideo.g.cs @@ -272,7 +272,7 @@ partial void ProcessFaceSwapCreateVideoResponseContent( pathTemplate: "\"/v1/face-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, @@ -306,7 +306,7 @@ partial void ProcessFaceSwapCreateVideoResponseContent( pathTemplate: "\"/v1/face-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, @@ -347,7 +347,7 @@ partial void ProcessFaceSwapCreateVideoResponseContent( pathTemplate: "\"/v1/face-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, @@ -395,7 +395,7 @@ partial void ProcessFaceSwapCreateVideoResponseContent( pathTemplate: "\"/v1/face-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, @@ -417,7 +417,7 @@ partial void ProcessFaceSwapCreateVideoResponseContent( pathTemplate: "\"/v1/face-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/MagicHour/Generated/MagicHour.VideoProjectsClient.ImageToVideoCreateVideo.g.cs b/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.ImageToVideoCreateVideo.g.cs index 2b41d5b..8a77279 100644 --- a/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.ImageToVideoCreateVideo.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.ImageToVideoCreateVideo.g.cs @@ -258,7 +258,7 @@ partial void ProcessImageToVideoCreateVideoResponseContent( pathTemplate: "\"/v1/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, @@ -292,7 +292,7 @@ partial void ProcessImageToVideoCreateVideoResponseContent( pathTemplate: "\"/v1/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, @@ -333,7 +333,7 @@ partial void ProcessImageToVideoCreateVideoResponseContent( pathTemplate: "\"/v1/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, @@ -381,7 +381,7 @@ partial void ProcessImageToVideoCreateVideoResponseContent( pathTemplate: "\"/v1/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, @@ -403,7 +403,7 @@ partial void ProcessImageToVideoCreateVideoResponseContent( pathTemplate: "\"/v1/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/MagicHour/Generated/MagicHour.VideoProjectsClient.LipSyncCreateVideo.g.cs b/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.LipSyncCreateVideo.g.cs index 525d932..a05d456 100644 --- a/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.LipSyncCreateVideo.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.LipSyncCreateVideo.g.cs @@ -260,7 +260,7 @@ partial void ProcessLipSyncCreateVideoResponseContent( pathTemplate: "\"/v1/lip-sync\"", httpMethod: "POST", baseUri: 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, @@ -294,7 +294,7 @@ partial void ProcessLipSyncCreateVideoResponseContent( pathTemplate: "\"/v1/lip-sync\"", httpMethod: "POST", baseUri: 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, @@ -335,7 +335,7 @@ partial void ProcessLipSyncCreateVideoResponseContent( pathTemplate: "\"/v1/lip-sync\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -383,7 +383,7 @@ partial void ProcessLipSyncCreateVideoResponseContent( pathTemplate: "\"/v1/lip-sync\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -405,7 +405,7 @@ partial void ProcessLipSyncCreateVideoResponseContent( pathTemplate: "\"/v1/lip-sync\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/MagicHour/Generated/MagicHour.VideoProjectsClient.TextToVideoCreateVideo.g.cs b/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.TextToVideoCreateVideo.g.cs index d3fd41d..d160452 100644 --- a/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.TextToVideoCreateVideo.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.TextToVideoCreateVideo.g.cs @@ -264,7 +264,7 @@ partial void ProcessTextToVideoCreateVideoResponseContent( pathTemplate: "\"/v1/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, @@ -298,7 +298,7 @@ partial void ProcessTextToVideoCreateVideoResponseContent( pathTemplate: "\"/v1/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, @@ -339,7 +339,7 @@ partial void ProcessTextToVideoCreateVideoResponseContent( pathTemplate: "\"/v1/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, @@ -387,7 +387,7 @@ partial void ProcessTextToVideoCreateVideoResponseContent( pathTemplate: "\"/v1/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, @@ -409,7 +409,7 @@ partial void ProcessTextToVideoCreateVideoResponseContent( pathTemplate: "\"/v1/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/MagicHour/Generated/MagicHour.VideoProjectsClient.VideoProjectsDelete.g.cs b/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.VideoProjectsDelete.g.cs index 99ef921..c733b6c 100644 --- a/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.VideoProjectsDelete.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.VideoProjectsDelete.g.cs @@ -156,7 +156,7 @@ await VideoProjectsDeleteAsResponseAsync( PrepareVideoProjectsDeleteRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id!); + id: id); return __httpRequest; } @@ -178,7 +178,7 @@ await VideoProjectsDeleteAsResponseAsync( pathTemplate: "$\"/v1/video-projects/{id}\"", 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, @@ -212,7 +212,7 @@ await VideoProjectsDeleteAsResponseAsync( pathTemplate: "$\"/v1/video-projects/{id}\"", 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, @@ -253,7 +253,7 @@ await VideoProjectsDeleteAsResponseAsync( pathTemplate: "$\"/v1/video-projects/{id}\"", 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, @@ -301,7 +301,7 @@ await VideoProjectsDeleteAsResponseAsync( pathTemplate: "$\"/v1/video-projects/{id}\"", 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, @@ -323,7 +323,7 @@ await VideoProjectsDeleteAsResponseAsync( pathTemplate: "$\"/v1/video-projects/{id}\"", 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/MagicHour/Generated/MagicHour.VideoProjectsClient.VideoProjectsGetDetails.g.cs b/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.VideoProjectsGetDetails.g.cs index 3964fb6..131b9db 100644 --- a/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.VideoProjectsGetDetails.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.VideoProjectsGetDetails.g.cs @@ -179,7 +179,7 @@ partial void ProcessVideoProjectsGetDetailsResponseContent( PrepareVideoProjectsGetDetailsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id!); + id: id); return __httpRequest; } @@ -201,7 +201,7 @@ partial void ProcessVideoProjectsGetDetailsResponseContent( pathTemplate: "$\"/v1/video-projects/{id}\"", 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, @@ -235,7 +235,7 @@ partial void ProcessVideoProjectsGetDetailsResponseContent( pathTemplate: "$\"/v1/video-projects/{id}\"", 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, @@ -276,7 +276,7 @@ partial void ProcessVideoProjectsGetDetailsResponseContent( pathTemplate: "$\"/v1/video-projects/{id}\"", 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, @@ -324,7 +324,7 @@ partial void ProcessVideoProjectsGetDetailsResponseContent( pathTemplate: "$\"/v1/video-projects/{id}\"", 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, @@ -346,7 +346,7 @@ partial void ProcessVideoProjectsGetDetailsResponseContent( pathTemplate: "$\"/v1/video-projects/{id}\"", 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/MagicHour/Generated/MagicHour.VideoProjectsClient.VideoToVideoCreateVideo.g.cs b/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.VideoToVideoCreateVideo.g.cs index 5d419db..9f3131a 100644 --- a/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.VideoToVideoCreateVideo.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.VideoToVideoCreateVideo.g.cs @@ -266,7 +266,7 @@ partial void ProcessVideoToVideoCreateVideoResponseContent( pathTemplate: "\"/v1/video-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, @@ -300,7 +300,7 @@ partial void ProcessVideoToVideoCreateVideoResponseContent( pathTemplate: "\"/v1/video-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, @@ -341,7 +341,7 @@ partial void ProcessVideoToVideoCreateVideoResponseContent( pathTemplate: "\"/v1/video-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, @@ -389,7 +389,7 @@ partial void ProcessVideoToVideoCreateVideoResponseContent( pathTemplate: "\"/v1/video-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, @@ -411,7 +411,7 @@ partial void ProcessVideoToVideoCreateVideoResponseContent( pathTemplate: "\"/v1/video-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,