From 38d851938f4eb3ac19b26aa0d43cdafaede5e5d0 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 28 Sep 2026 03:28:40 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../MiniMax.AutoSDKHttpResponse.g.cs | 4 +-- .../MiniMax.FilesClient.DeleteFile.g.cs | 10 +++---- .../MiniMax.FilesClient.ListFiles.g.cs | 10 +++---- .../MiniMax.FilesClient.RetrieveFile.g.cs | 14 ++++----- ...niMax.FilesClient.RetrieveFileContent.g.cs | 28 ++++++++--------- .../MiniMax.FilesClient.UploadFile.g.cs | 30 +++++++++---------- ...Max.ImageClient.CreateImageGeneration.g.cs | 10 +++---- ...ax.MusicClient.CreateLyricsGeneration.g.cs | 10 +++---- ...usicClient.CreateMusicCoverPreprocess.g.cs | 10 +++---- ...Max.MusicClient.CreateMusicGeneration.g.cs | 10 +++---- ...niMax.SpeechClient.CreateTextToSpeech.g.cs | 10 +++---- ...eechClient.CreateTextToSpeechAsStream.g.cs | 10 +++---- ...x.SpeechClient.CreateTextToSpeechTask.g.cs | 10 +++---- ...MiniMax.SpeechClient.CreateVoiceClone.g.cs | 10 +++---- ...iniMax.SpeechClient.CreateVoiceDesign.g.cs | 10 +++---- .../MiniMax.SpeechClient.DeleteVoice.g.cs | 10 +++---- ...iMax.SpeechClient.GetTextToSpeechTask.g.cs | 14 ++++----- .../MiniMax.SpeechClient.GetVoices.g.cs | 10 +++---- ...VideoClient.CreateVideoGenerationTask.g.cs | 10 +++---- ...ent.CreateVideoTemplateGenerationTask.g.cs | 10 +++---- ...ax.VideoClient.GetVideoGenerationTask.g.cs | 12 ++++---- ...Client.GetVideoTemplateGenerationTask.g.cs | 12 ++++---- 22 files changed, 132 insertions(+), 132 deletions(-) diff --git a/src/libs/MiniMax/Generated/MiniMax.AutoSDKHttpResponse.g.cs b/src/libs/MiniMax/Generated/MiniMax.AutoSDKHttpResponse.g.cs index bf6b915..f893ea6 100644 --- a/src/libs/MiniMax/Generated/MiniMax.AutoSDKHttpResponse.g.cs +++ b/src/libs/MiniMax/Generated/MiniMax.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/MiniMax/Generated/MiniMax.FilesClient.DeleteFile.g.cs b/src/libs/MiniMax/Generated/MiniMax.FilesClient.DeleteFile.g.cs index e44c1b0..482a95f 100644 --- a/src/libs/MiniMax/Generated/MiniMax.FilesClient.DeleteFile.g.cs +++ b/src/libs/MiniMax/Generated/MiniMax.FilesClient.DeleteFile.g.cs @@ -193,7 +193,7 @@ partial void ProcessDeleteFileResponseContent( pathTemplate: "\"/v1/files/delete\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -227,7 +227,7 @@ partial void ProcessDeleteFileResponseContent( pathTemplate: "\"/v1/files/delete\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -268,7 +268,7 @@ partial void ProcessDeleteFileResponseContent( pathTemplate: "\"/v1/files/delete\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -316,7 +316,7 @@ partial void ProcessDeleteFileResponseContent( pathTemplate: "\"/v1/files/delete\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -338,7 +338,7 @@ partial void ProcessDeleteFileResponseContent( pathTemplate: "\"/v1/files/delete\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/MiniMax/Generated/MiniMax.FilesClient.ListFiles.g.cs b/src/libs/MiniMax/Generated/MiniMax.FilesClient.ListFiles.g.cs index 930cb2d..5168221 100644 --- a/src/libs/MiniMax/Generated/MiniMax.FilesClient.ListFiles.g.cs +++ b/src/libs/MiniMax/Generated/MiniMax.FilesClient.ListFiles.g.cs @@ -185,7 +185,7 @@ partial void ProcessListFilesResponseContent( pathTemplate: "\"/v1/files/list\"", 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, @@ -219,7 +219,7 @@ partial void ProcessListFilesResponseContent( pathTemplate: "\"/v1/files/list\"", 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, @@ -260,7 +260,7 @@ partial void ProcessListFilesResponseContent( pathTemplate: "\"/v1/files/list\"", 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, @@ -308,7 +308,7 @@ partial void ProcessListFilesResponseContent( pathTemplate: "\"/v1/files/list\"", 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, @@ -330,7 +330,7 @@ partial void ProcessListFilesResponseContent( pathTemplate: "\"/v1/files/list\"", 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/MiniMax/Generated/MiniMax.FilesClient.RetrieveFile.g.cs b/src/libs/MiniMax/Generated/MiniMax.FilesClient.RetrieveFile.g.cs index a2a4791..6837455 100644 --- a/src/libs/MiniMax/Generated/MiniMax.FilesClient.RetrieveFile.g.cs +++ b/src/libs/MiniMax/Generated/MiniMax.FilesClient.RetrieveFile.g.cs @@ -121,7 +121,7 @@ partial void ProcessRetrieveFileResponseContent( servers: s_RetrieveFileServers, defaultBaseUrl: "https://api.minimax.io/")); __pathBuilder - .AddRequiredParameter("file_id", fileId.ToString()!) + .AddRequiredParameter("file_id", fileId.ToString() ?? throw new global::System.InvalidOperationException("A required query parameter returned null from ToString().")) ; var __path = __pathBuilder.ToString(); __path = global::MiniMax.AutoSDKRequestOptionsSupport.AppendQueryParameters( @@ -163,7 +163,7 @@ partial void ProcessRetrieveFileResponseContent( PrepareRetrieveFileRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - fileId: fileId!); + fileId: fileId); return __httpRequest; } @@ -185,7 +185,7 @@ partial void ProcessRetrieveFileResponseContent( pathTemplate: "\"/v1/files/retrieve\"", 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, @@ -219,7 +219,7 @@ partial void ProcessRetrieveFileResponseContent( pathTemplate: "\"/v1/files/retrieve\"", 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, @@ -260,7 +260,7 @@ partial void ProcessRetrieveFileResponseContent( pathTemplate: "\"/v1/files/retrieve\"", 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, @@ -308,7 +308,7 @@ partial void ProcessRetrieveFileResponseContent( pathTemplate: "\"/v1/files/retrieve\"", 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, @@ -330,7 +330,7 @@ partial void ProcessRetrieveFileResponseContent( pathTemplate: "\"/v1/files/retrieve\"", 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/MiniMax/Generated/MiniMax.FilesClient.RetrieveFileContent.g.cs b/src/libs/MiniMax/Generated/MiniMax.FilesClient.RetrieveFileContent.g.cs index 19e2b1f..2524c0e 100644 --- a/src/libs/MiniMax/Generated/MiniMax.FilesClient.RetrieveFileContent.g.cs +++ b/src/libs/MiniMax/Generated/MiniMax.FilesClient.RetrieveFileContent.g.cs @@ -121,7 +121,7 @@ partial void ProcessRetrieveFileContentResponseContent( servers: s_RetrieveFileContentServers, defaultBaseUrl: "https://api.minimax.io/")); __pathBuilder - .AddRequiredParameter("file_id", fileId.ToString()!) + .AddRequiredParameter("file_id", fileId.ToString() ?? throw new global::System.InvalidOperationException("A required query parameter returned null from ToString().")) ; var __path = __pathBuilder.ToString(); __path = global::MiniMax.AutoSDKRequestOptionsSupport.AppendQueryParameters( @@ -163,7 +163,7 @@ partial void ProcessRetrieveFileContentResponseContent( PrepareRetrieveFileContentRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - fileId: fileId!); + fileId: fileId); return __httpRequest; } @@ -185,7 +185,7 @@ partial void ProcessRetrieveFileContentResponseContent( pathTemplate: "\"/v1/files/retrieve_content\"", 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, @@ -219,7 +219,7 @@ partial void ProcessRetrieveFileContentResponseContent( pathTemplate: "\"/v1/files/retrieve_content\"", 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, @@ -260,7 +260,7 @@ partial void ProcessRetrieveFileContentResponseContent( pathTemplate: "\"/v1/files/retrieve_content\"", 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, @@ -308,7 +308,7 @@ partial void ProcessRetrieveFileContentResponseContent( pathTemplate: "\"/v1/files/retrieve_content\"", 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, @@ -330,7 +330,7 @@ partial void ProcessRetrieveFileContentResponseContent( pathTemplate: "\"/v1/files/retrieve_content\"", 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, @@ -440,7 +440,7 @@ partial void ProcessRetrieveFileContentResponseContent( servers: s_RetrieveFileContentServers, defaultBaseUrl: "https://api.minimax.io/")); __pathBuilder - .AddRequiredParameter("file_id", fileId.ToString()!) + .AddRequiredParameter("file_id", fileId.ToString() ?? throw new global::System.InvalidOperationException("A required query parameter returned null from ToString().")) ; var __path = __pathBuilder.ToString(); __path = global::MiniMax.AutoSDKRequestOptionsSupport.AppendQueryParameters( @@ -482,7 +482,7 @@ partial void ProcessRetrieveFileContentResponseContent( PrepareRetrieveFileContentRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - fileId: fileId!); + fileId: fileId); return __httpRequest; } @@ -504,7 +504,7 @@ partial void ProcessRetrieveFileContentResponseContent( pathTemplate: "\"/v1/files/retrieve_content\"", 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, @@ -538,7 +538,7 @@ partial void ProcessRetrieveFileContentResponseContent( pathTemplate: "\"/v1/files/retrieve_content\"", 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, @@ -579,7 +579,7 @@ partial void ProcessRetrieveFileContentResponseContent( pathTemplate: "\"/v1/files/retrieve_content\"", 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, @@ -627,7 +627,7 @@ partial void ProcessRetrieveFileContentResponseContent( pathTemplate: "\"/v1/files/retrieve_content\"", 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, @@ -649,7 +649,7 @@ partial void ProcessRetrieveFileContentResponseContent( pathTemplate: "\"/v1/files/retrieve_content\"", 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/MiniMax/Generated/MiniMax.FilesClient.UploadFile.g.cs b/src/libs/MiniMax/Generated/MiniMax.FilesClient.UploadFile.g.cs index 2ac110a..b2d3f2b 100644 --- a/src/libs/MiniMax/Generated/MiniMax.FilesClient.UploadFile.g.cs +++ b/src/libs/MiniMax/Generated/MiniMax.FilesClient.UploadFile.g.cs @@ -233,7 +233,7 @@ request.Filename is null pathTemplate: "\"/v1/files/upload\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -267,7 +267,7 @@ request.Filename is null pathTemplate: "\"/v1/files/upload\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -308,7 +308,7 @@ request.Filename is null pathTemplate: "\"/v1/files/upload\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -356,7 +356,7 @@ request.Filename is null pathTemplate: "\"/v1/files/upload\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -378,7 +378,7 @@ request.Filename is null pathTemplate: "\"/v1/files/upload\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -693,7 +693,7 @@ request.Filename is null pathTemplate: "\"/v1/files/upload\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -727,7 +727,7 @@ request.Filename is null pathTemplate: "\"/v1/files/upload\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -768,7 +768,7 @@ request.Filename is null pathTemplate: "\"/v1/files/upload\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -816,7 +816,7 @@ request.Filename is null pathTemplate: "\"/v1/files/upload\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -838,7 +838,7 @@ request.Filename is null pathTemplate: "\"/v1/files/upload\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1110,7 +1110,7 @@ request.Filename is null pathTemplate: "\"/v1/files/upload\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -1144,7 +1144,7 @@ request.Filename is null pathTemplate: "\"/v1/files/upload\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -1185,7 +1185,7 @@ request.Filename is null pathTemplate: "\"/v1/files/upload\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1233,7 +1233,7 @@ request.Filename is null pathTemplate: "\"/v1/files/upload\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1255,7 +1255,7 @@ request.Filename is null pathTemplate: "\"/v1/files/upload\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/MiniMax/Generated/MiniMax.ImageClient.CreateImageGeneration.g.cs b/src/libs/MiniMax/Generated/MiniMax.ImageClient.CreateImageGeneration.g.cs index bf09658..2938a51 100644 --- a/src/libs/MiniMax/Generated/MiniMax.ImageClient.CreateImageGeneration.g.cs +++ b/src/libs/MiniMax/Generated/MiniMax.ImageClient.CreateImageGeneration.g.cs @@ -195,7 +195,7 @@ partial void ProcessCreateImageGenerationResponseContent( pathTemplate: "\"/v1/image_generation\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -229,7 +229,7 @@ partial void ProcessCreateImageGenerationResponseContent( pathTemplate: "\"/v1/image_generation\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -270,7 +270,7 @@ partial void ProcessCreateImageGenerationResponseContent( pathTemplate: "\"/v1/image_generation\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -318,7 +318,7 @@ partial void ProcessCreateImageGenerationResponseContent( pathTemplate: "\"/v1/image_generation\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -340,7 +340,7 @@ partial void ProcessCreateImageGenerationResponseContent( pathTemplate: "\"/v1/image_generation\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/MiniMax/Generated/MiniMax.MusicClient.CreateLyricsGeneration.g.cs b/src/libs/MiniMax/Generated/MiniMax.MusicClient.CreateLyricsGeneration.g.cs index 06d10cf..012e263 100644 --- a/src/libs/MiniMax/Generated/MiniMax.MusicClient.CreateLyricsGeneration.g.cs +++ b/src/libs/MiniMax/Generated/MiniMax.MusicClient.CreateLyricsGeneration.g.cs @@ -193,7 +193,7 @@ partial void ProcessCreateLyricsGenerationResponseContent( pathTemplate: "\"/v1/lyrics_generation\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -227,7 +227,7 @@ partial void ProcessCreateLyricsGenerationResponseContent( pathTemplate: "\"/v1/lyrics_generation\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -268,7 +268,7 @@ partial void ProcessCreateLyricsGenerationResponseContent( pathTemplate: "\"/v1/lyrics_generation\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -316,7 +316,7 @@ partial void ProcessCreateLyricsGenerationResponseContent( pathTemplate: "\"/v1/lyrics_generation\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -338,7 +338,7 @@ partial void ProcessCreateLyricsGenerationResponseContent( pathTemplate: "\"/v1/lyrics_generation\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/MiniMax/Generated/MiniMax.MusicClient.CreateMusicCoverPreprocess.g.cs b/src/libs/MiniMax/Generated/MiniMax.MusicClient.CreateMusicCoverPreprocess.g.cs index ede001a..942e3a2 100644 --- a/src/libs/MiniMax/Generated/MiniMax.MusicClient.CreateMusicCoverPreprocess.g.cs +++ b/src/libs/MiniMax/Generated/MiniMax.MusicClient.CreateMusicCoverPreprocess.g.cs @@ -193,7 +193,7 @@ partial void ProcessCreateMusicCoverPreprocessResponseContent( pathTemplate: "\"/v1/music_cover_preprocess\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -227,7 +227,7 @@ partial void ProcessCreateMusicCoverPreprocessResponseContent( pathTemplate: "\"/v1/music_cover_preprocess\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -268,7 +268,7 @@ partial void ProcessCreateMusicCoverPreprocessResponseContent( pathTemplate: "\"/v1/music_cover_preprocess\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -316,7 +316,7 @@ partial void ProcessCreateMusicCoverPreprocessResponseContent( pathTemplate: "\"/v1/music_cover_preprocess\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -338,7 +338,7 @@ partial void ProcessCreateMusicCoverPreprocessResponseContent( pathTemplate: "\"/v1/music_cover_preprocess\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/MiniMax/Generated/MiniMax.MusicClient.CreateMusicGeneration.g.cs b/src/libs/MiniMax/Generated/MiniMax.MusicClient.CreateMusicGeneration.g.cs index 5e4bf6e..f01f4a1 100644 --- a/src/libs/MiniMax/Generated/MiniMax.MusicClient.CreateMusicGeneration.g.cs +++ b/src/libs/MiniMax/Generated/MiniMax.MusicClient.CreateMusicGeneration.g.cs @@ -193,7 +193,7 @@ partial void ProcessCreateMusicGenerationResponseContent( pathTemplate: "\"/v1/music_generation\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -227,7 +227,7 @@ partial void ProcessCreateMusicGenerationResponseContent( pathTemplate: "\"/v1/music_generation\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -268,7 +268,7 @@ partial void ProcessCreateMusicGenerationResponseContent( pathTemplate: "\"/v1/music_generation\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -316,7 +316,7 @@ partial void ProcessCreateMusicGenerationResponseContent( pathTemplate: "\"/v1/music_generation\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -338,7 +338,7 @@ partial void ProcessCreateMusicGenerationResponseContent( pathTemplate: "\"/v1/music_generation\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/MiniMax/Generated/MiniMax.SpeechClient.CreateTextToSpeech.g.cs b/src/libs/MiniMax/Generated/MiniMax.SpeechClient.CreateTextToSpeech.g.cs index 71b9559..4651e83 100644 --- a/src/libs/MiniMax/Generated/MiniMax.SpeechClient.CreateTextToSpeech.g.cs +++ b/src/libs/MiniMax/Generated/MiniMax.SpeechClient.CreateTextToSpeech.g.cs @@ -214,7 +214,7 @@ partial void ProcessCreateTextToSpeechResponseContent( pathTemplate: "\"/v1/t2a_v2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -248,7 +248,7 @@ partial void ProcessCreateTextToSpeechResponseContent( pathTemplate: "\"/v1/t2a_v2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -289,7 +289,7 @@ partial void ProcessCreateTextToSpeechResponseContent( pathTemplate: "\"/v1/t2a_v2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -337,7 +337,7 @@ partial void ProcessCreateTextToSpeechResponseContent( pathTemplate: "\"/v1/t2a_v2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -359,7 +359,7 @@ partial void ProcessCreateTextToSpeechResponseContent( pathTemplate: "\"/v1/t2a_v2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/MiniMax/Generated/MiniMax.SpeechClient.CreateTextToSpeechAsStream.g.cs b/src/libs/MiniMax/Generated/MiniMax.SpeechClient.CreateTextToSpeechAsStream.g.cs index 8da9eaa..0c9147b 100644 --- a/src/libs/MiniMax/Generated/MiniMax.SpeechClient.CreateTextToSpeechAsStream.g.cs +++ b/src/libs/MiniMax/Generated/MiniMax.SpeechClient.CreateTextToSpeechAsStream.g.cs @@ -187,7 +187,7 @@ partial void ProcessCreateTextToSpeechAsStreamResponse( pathTemplate: "\"/v1/t2a_v2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -221,7 +221,7 @@ partial void ProcessCreateTextToSpeechAsStreamResponse( pathTemplate: "\"/v1/t2a_v2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -262,7 +262,7 @@ partial void ProcessCreateTextToSpeechAsStreamResponse( pathTemplate: "\"/v1/t2a_v2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -310,7 +310,7 @@ partial void ProcessCreateTextToSpeechAsStreamResponse( pathTemplate: "\"/v1/t2a_v2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -332,7 +332,7 @@ partial void ProcessCreateTextToSpeechAsStreamResponse( pathTemplate: "\"/v1/t2a_v2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/MiniMax/Generated/MiniMax.SpeechClient.CreateTextToSpeechTask.g.cs b/src/libs/MiniMax/Generated/MiniMax.SpeechClient.CreateTextToSpeechTask.g.cs index fc0de8c..38435da 100644 --- a/src/libs/MiniMax/Generated/MiniMax.SpeechClient.CreateTextToSpeechTask.g.cs +++ b/src/libs/MiniMax/Generated/MiniMax.SpeechClient.CreateTextToSpeechTask.g.cs @@ -193,7 +193,7 @@ partial void ProcessCreateTextToSpeechTaskResponseContent( pathTemplate: "\"/v1/t2a_async_v2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -227,7 +227,7 @@ partial void ProcessCreateTextToSpeechTaskResponseContent( pathTemplate: "\"/v1/t2a_async_v2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -268,7 +268,7 @@ partial void ProcessCreateTextToSpeechTaskResponseContent( pathTemplate: "\"/v1/t2a_async_v2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -316,7 +316,7 @@ partial void ProcessCreateTextToSpeechTaskResponseContent( pathTemplate: "\"/v1/t2a_async_v2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -338,7 +338,7 @@ partial void ProcessCreateTextToSpeechTaskResponseContent( pathTemplate: "\"/v1/t2a_async_v2\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/MiniMax/Generated/MiniMax.SpeechClient.CreateVoiceClone.g.cs b/src/libs/MiniMax/Generated/MiniMax.SpeechClient.CreateVoiceClone.g.cs index 0e72800..aa64c57 100644 --- a/src/libs/MiniMax/Generated/MiniMax.SpeechClient.CreateVoiceClone.g.cs +++ b/src/libs/MiniMax/Generated/MiniMax.SpeechClient.CreateVoiceClone.g.cs @@ -193,7 +193,7 @@ partial void ProcessCreateVoiceCloneResponseContent( pathTemplate: "\"/v1/voice_clone\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -227,7 +227,7 @@ partial void ProcessCreateVoiceCloneResponseContent( pathTemplate: "\"/v1/voice_clone\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -268,7 +268,7 @@ partial void ProcessCreateVoiceCloneResponseContent( pathTemplate: "\"/v1/voice_clone\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -316,7 +316,7 @@ partial void ProcessCreateVoiceCloneResponseContent( pathTemplate: "\"/v1/voice_clone\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -338,7 +338,7 @@ partial void ProcessCreateVoiceCloneResponseContent( pathTemplate: "\"/v1/voice_clone\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/MiniMax/Generated/MiniMax.SpeechClient.CreateVoiceDesign.g.cs b/src/libs/MiniMax/Generated/MiniMax.SpeechClient.CreateVoiceDesign.g.cs index 43317ba..0a6cc3f 100644 --- a/src/libs/MiniMax/Generated/MiniMax.SpeechClient.CreateVoiceDesign.g.cs +++ b/src/libs/MiniMax/Generated/MiniMax.SpeechClient.CreateVoiceDesign.g.cs @@ -193,7 +193,7 @@ partial void ProcessCreateVoiceDesignResponseContent( pathTemplate: "\"/v1/voice_design\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -227,7 +227,7 @@ partial void ProcessCreateVoiceDesignResponseContent( pathTemplate: "\"/v1/voice_design\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -268,7 +268,7 @@ partial void ProcessCreateVoiceDesignResponseContent( pathTemplate: "\"/v1/voice_design\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -316,7 +316,7 @@ partial void ProcessCreateVoiceDesignResponseContent( pathTemplate: "\"/v1/voice_design\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -338,7 +338,7 @@ partial void ProcessCreateVoiceDesignResponseContent( pathTemplate: "\"/v1/voice_design\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/MiniMax/Generated/MiniMax.SpeechClient.DeleteVoice.g.cs b/src/libs/MiniMax/Generated/MiniMax.SpeechClient.DeleteVoice.g.cs index 79ba240..d8ffb0e 100644 --- a/src/libs/MiniMax/Generated/MiniMax.SpeechClient.DeleteVoice.g.cs +++ b/src/libs/MiniMax/Generated/MiniMax.SpeechClient.DeleteVoice.g.cs @@ -193,7 +193,7 @@ partial void ProcessDeleteVoiceResponseContent( pathTemplate: "\"/v1/delete_voice\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -227,7 +227,7 @@ partial void ProcessDeleteVoiceResponseContent( pathTemplate: "\"/v1/delete_voice\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -268,7 +268,7 @@ partial void ProcessDeleteVoiceResponseContent( pathTemplate: "\"/v1/delete_voice\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -316,7 +316,7 @@ partial void ProcessDeleteVoiceResponseContent( pathTemplate: "\"/v1/delete_voice\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -338,7 +338,7 @@ partial void ProcessDeleteVoiceResponseContent( pathTemplate: "\"/v1/delete_voice\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/MiniMax/Generated/MiniMax.SpeechClient.GetTextToSpeechTask.g.cs b/src/libs/MiniMax/Generated/MiniMax.SpeechClient.GetTextToSpeechTask.g.cs index a903972..ef9cb16 100644 --- a/src/libs/MiniMax/Generated/MiniMax.SpeechClient.GetTextToSpeechTask.g.cs +++ b/src/libs/MiniMax/Generated/MiniMax.SpeechClient.GetTextToSpeechTask.g.cs @@ -121,7 +121,7 @@ partial void ProcessGetTextToSpeechTaskResponseContent( servers: s_GetTextToSpeechTaskServers, defaultBaseUrl: "https://api.minimax.io/")); __pathBuilder - .AddRequiredParameter("task_id", taskId.ToString()!) + .AddRequiredParameter("task_id", taskId.ToString() ?? throw new global::System.InvalidOperationException("A required query parameter returned null from ToString().")) ; var __path = __pathBuilder.ToString(); __path = global::MiniMax.AutoSDKRequestOptionsSupport.AppendQueryParameters( @@ -163,7 +163,7 @@ partial void ProcessGetTextToSpeechTaskResponseContent( PrepareGetTextToSpeechTaskRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - taskId: taskId!); + taskId: taskId); return __httpRequest; } @@ -185,7 +185,7 @@ partial void ProcessGetTextToSpeechTaskResponseContent( pathTemplate: "\"/v1/query/t2a_async_query_v2\"", 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, @@ -219,7 +219,7 @@ partial void ProcessGetTextToSpeechTaskResponseContent( pathTemplate: "\"/v1/query/t2a_async_query_v2\"", 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, @@ -260,7 +260,7 @@ partial void ProcessGetTextToSpeechTaskResponseContent( pathTemplate: "\"/v1/query/t2a_async_query_v2\"", 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, @@ -308,7 +308,7 @@ partial void ProcessGetTextToSpeechTaskResponseContent( pathTemplate: "\"/v1/query/t2a_async_query_v2\"", 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, @@ -330,7 +330,7 @@ partial void ProcessGetTextToSpeechTaskResponseContent( pathTemplate: "\"/v1/query/t2a_async_query_v2\"", 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/MiniMax/Generated/MiniMax.SpeechClient.GetVoices.g.cs b/src/libs/MiniMax/Generated/MiniMax.SpeechClient.GetVoices.g.cs index 84eba40..e337f41 100644 --- a/src/libs/MiniMax/Generated/MiniMax.SpeechClient.GetVoices.g.cs +++ b/src/libs/MiniMax/Generated/MiniMax.SpeechClient.GetVoices.g.cs @@ -193,7 +193,7 @@ partial void ProcessGetVoicesResponseContent( pathTemplate: "\"/v1/get_voice\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -227,7 +227,7 @@ partial void ProcessGetVoicesResponseContent( pathTemplate: "\"/v1/get_voice\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -268,7 +268,7 @@ partial void ProcessGetVoicesResponseContent( pathTemplate: "\"/v1/get_voice\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -316,7 +316,7 @@ partial void ProcessGetVoicesResponseContent( pathTemplate: "\"/v1/get_voice\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -338,7 +338,7 @@ partial void ProcessGetVoicesResponseContent( pathTemplate: "\"/v1/get_voice\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/MiniMax/Generated/MiniMax.VideoClient.CreateVideoGenerationTask.g.cs b/src/libs/MiniMax/Generated/MiniMax.VideoClient.CreateVideoGenerationTask.g.cs index 1641a5e..0dac322 100644 --- a/src/libs/MiniMax/Generated/MiniMax.VideoClient.CreateVideoGenerationTask.g.cs +++ b/src/libs/MiniMax/Generated/MiniMax.VideoClient.CreateVideoGenerationTask.g.cs @@ -195,7 +195,7 @@ partial void ProcessCreateVideoGenerationTaskResponseContent( pathTemplate: "\"/v1/video_generation\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -229,7 +229,7 @@ partial void ProcessCreateVideoGenerationTaskResponseContent( pathTemplate: "\"/v1/video_generation\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -270,7 +270,7 @@ partial void ProcessCreateVideoGenerationTaskResponseContent( pathTemplate: "\"/v1/video_generation\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -318,7 +318,7 @@ partial void ProcessCreateVideoGenerationTaskResponseContent( pathTemplate: "\"/v1/video_generation\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -340,7 +340,7 @@ partial void ProcessCreateVideoGenerationTaskResponseContent( pathTemplate: "\"/v1/video_generation\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/MiniMax/Generated/MiniMax.VideoClient.CreateVideoTemplateGenerationTask.g.cs b/src/libs/MiniMax/Generated/MiniMax.VideoClient.CreateVideoTemplateGenerationTask.g.cs index f2d2518..9116433 100644 --- a/src/libs/MiniMax/Generated/MiniMax.VideoClient.CreateVideoTemplateGenerationTask.g.cs +++ b/src/libs/MiniMax/Generated/MiniMax.VideoClient.CreateVideoTemplateGenerationTask.g.cs @@ -193,7 +193,7 @@ partial void ProcessCreateVideoTemplateGenerationTaskResponseContent( pathTemplate: "\"/v1/video_template_generation\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -227,7 +227,7 @@ partial void ProcessCreateVideoTemplateGenerationTaskResponseContent( pathTemplate: "\"/v1/video_template_generation\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -268,7 +268,7 @@ partial void ProcessCreateVideoTemplateGenerationTaskResponseContent( pathTemplate: "\"/v1/video_template_generation\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -316,7 +316,7 @@ partial void ProcessCreateVideoTemplateGenerationTaskResponseContent( pathTemplate: "\"/v1/video_template_generation\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -338,7 +338,7 @@ partial void ProcessCreateVideoTemplateGenerationTaskResponseContent( pathTemplate: "\"/v1/video_template_generation\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/MiniMax/Generated/MiniMax.VideoClient.GetVideoGenerationTask.g.cs b/src/libs/MiniMax/Generated/MiniMax.VideoClient.GetVideoGenerationTask.g.cs index ba802a2..0fad98d 100644 --- a/src/libs/MiniMax/Generated/MiniMax.VideoClient.GetVideoGenerationTask.g.cs +++ b/src/libs/MiniMax/Generated/MiniMax.VideoClient.GetVideoGenerationTask.g.cs @@ -163,7 +163,7 @@ partial void ProcessGetVideoGenerationTaskResponseContent( PrepareGetVideoGenerationTaskRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - taskId: taskId!); + taskId: taskId); return __httpRequest; } @@ -185,7 +185,7 @@ partial void ProcessGetVideoGenerationTaskResponseContent( pathTemplate: "\"/v1/query/video_generation\"", 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, @@ -219,7 +219,7 @@ partial void ProcessGetVideoGenerationTaskResponseContent( pathTemplate: "\"/v1/query/video_generation\"", 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, @@ -260,7 +260,7 @@ partial void ProcessGetVideoGenerationTaskResponseContent( pathTemplate: "\"/v1/query/video_generation\"", 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, @@ -308,7 +308,7 @@ partial void ProcessGetVideoGenerationTaskResponseContent( pathTemplate: "\"/v1/query/video_generation\"", 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, @@ -330,7 +330,7 @@ partial void ProcessGetVideoGenerationTaskResponseContent( pathTemplate: "\"/v1/query/video_generation\"", 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/MiniMax/Generated/MiniMax.VideoClient.GetVideoTemplateGenerationTask.g.cs b/src/libs/MiniMax/Generated/MiniMax.VideoClient.GetVideoTemplateGenerationTask.g.cs index e962cb2..61b51bc 100644 --- a/src/libs/MiniMax/Generated/MiniMax.VideoClient.GetVideoTemplateGenerationTask.g.cs +++ b/src/libs/MiniMax/Generated/MiniMax.VideoClient.GetVideoTemplateGenerationTask.g.cs @@ -163,7 +163,7 @@ partial void ProcessGetVideoTemplateGenerationTaskResponseContent( PrepareGetVideoTemplateGenerationTaskRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - taskId: taskId!); + taskId: taskId); return __httpRequest; } @@ -185,7 +185,7 @@ partial void ProcessGetVideoTemplateGenerationTaskResponseContent( pathTemplate: "\"/v1/query/video_template_generation\"", 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, @@ -219,7 +219,7 @@ partial void ProcessGetVideoTemplateGenerationTaskResponseContent( pathTemplate: "\"/v1/query/video_template_generation\"", 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, @@ -260,7 +260,7 @@ partial void ProcessGetVideoTemplateGenerationTaskResponseContent( pathTemplate: "\"/v1/query/video_template_generation\"", 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, @@ -308,7 +308,7 @@ partial void ProcessGetVideoTemplateGenerationTaskResponseContent( pathTemplate: "\"/v1/query/video_template_generation\"", 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, @@ -330,7 +330,7 @@ partial void ProcessGetVideoTemplateGenerationTaskResponseContent( pathTemplate: "\"/v1/query/video_template_generation\"", 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,