diff --git a/src/libs/ResembleAI/Generated/ResembleAI.AccountClient.GetAccount.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.AccountClient.GetAccount.g.cs index 8ef52cf..c66e749 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.AccountClient.GetAccount.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.AccountClient.GetAccount.g.cs @@ -170,7 +170,7 @@ partial void ProcessGetAccountResponseContent( pathTemplate: "\"/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, @@ -204,7 +204,7 @@ partial void ProcessGetAccountResponseContent( pathTemplate: "\"/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, @@ -245,7 +245,7 @@ partial void ProcessGetAccountResponseContent( pathTemplate: "\"/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, @@ -293,7 +293,7 @@ partial void ProcessGetAccountResponseContent( pathTemplate: "\"/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, @@ -315,7 +315,7 @@ partial void ProcessGetAccountResponseContent( pathTemplate: "\"/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/ResembleAI/Generated/ResembleAI.AccountClient.GetTeam.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.AccountClient.GetTeam.g.cs index 8b32912..f32dd6c 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.AccountClient.GetTeam.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.AccountClient.GetTeam.g.cs @@ -157,7 +157,7 @@ partial void ProcessGetTeamResponseContent( PrepareGetTeamRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - teamUuid: teamUuid!); + teamUuid: teamUuid); return __httpRequest; } @@ -179,7 +179,7 @@ partial void ProcessGetTeamResponseContent( pathTemplate: "$\"/account/teams/{teamUuid}\"", 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, @@ -213,7 +213,7 @@ partial void ProcessGetTeamResponseContent( pathTemplate: "$\"/account/teams/{teamUuid}\"", 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, @@ -254,7 +254,7 @@ partial void ProcessGetTeamResponseContent( pathTemplate: "$\"/account/teams/{teamUuid}\"", 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, @@ -302,7 +302,7 @@ partial void ProcessGetTeamResponseContent( pathTemplate: "$\"/account/teams/{teamUuid}\"", 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 ProcessGetTeamResponseContent( pathTemplate: "$\"/account/teams/{teamUuid}\"", 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/ResembleAI/Generated/ResembleAI.AccountClient.GetTeams.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.AccountClient.GetTeams.g.cs index b0038df..7c0848e 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.AccountClient.GetTeams.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.AccountClient.GetTeams.g.cs @@ -170,7 +170,7 @@ partial void ProcessGetTeamsResponseContent( pathTemplate: "\"/account/teams\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -204,7 +204,7 @@ partial void ProcessGetTeamsResponseContent( pathTemplate: "\"/account/teams\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -245,7 +245,7 @@ partial void ProcessGetTeamsResponseContent( pathTemplate: "\"/account/teams\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -293,7 +293,7 @@ partial void ProcessGetTeamsResponseContent( pathTemplate: "\"/account/teams\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -315,7 +315,7 @@ partial void ProcessGetTeamsResponseContent( pathTemplate: "\"/account/teams\"", 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/ResembleAI/Generated/ResembleAI.AudioEnhancementClient.CreateAudioEnhancement.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.AudioEnhancementClient.CreateAudioEnhancement.g.cs index a01f103..71ebf38 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.AudioEnhancementClient.CreateAudioEnhancement.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.AudioEnhancementClient.CreateAudioEnhancement.g.cs @@ -251,7 +251,7 @@ request.AudioFilename is null pathTemplate: "\"/audio_enhancements\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -285,7 +285,7 @@ request.AudioFilename is null pathTemplate: "\"/audio_enhancements\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -326,7 +326,7 @@ request.AudioFilename is null pathTemplate: "\"/audio_enhancements\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -374,7 +374,7 @@ request.AudioFilename is null pathTemplate: "\"/audio_enhancements\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -396,7 +396,7 @@ request.AudioFilename is null pathTemplate: "\"/audio_enhancements\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -834,7 +834,7 @@ request.AudioFilename is null pathTemplate: "\"/audio_enhancements\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -868,7 +868,7 @@ request.AudioFilename is null pathTemplate: "\"/audio_enhancements\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -909,7 +909,7 @@ request.AudioFilename is null pathTemplate: "\"/audio_enhancements\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -957,7 +957,7 @@ request.AudioFilename is null pathTemplate: "\"/audio_enhancements\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -979,7 +979,7 @@ request.AudioFilename is null pathTemplate: "\"/audio_enhancements\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1360,7 +1360,7 @@ request.AudioFilename is null pathTemplate: "\"/audio_enhancements\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -1394,7 +1394,7 @@ request.AudioFilename is null pathTemplate: "\"/audio_enhancements\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -1435,7 +1435,7 @@ request.AudioFilename is null pathTemplate: "\"/audio_enhancements\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1483,7 +1483,7 @@ request.AudioFilename is null pathTemplate: "\"/audio_enhancements\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1505,7 +1505,7 @@ request.AudioFilename is null pathTemplate: "\"/audio_enhancements\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/ResembleAI/Generated/ResembleAI.AudioEnhancementClient.GetAudioEnhancement.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.AudioEnhancementClient.GetAudioEnhancement.g.cs index 7210995..ebec9b0 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.AudioEnhancementClient.GetAudioEnhancement.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.AudioEnhancementClient.GetAudioEnhancement.g.cs @@ -157,7 +157,7 @@ partial void ProcessGetAudioEnhancementResponseContent( PrepareGetAudioEnhancementRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - enhancementUuid: enhancementUuid!); + enhancementUuid: enhancementUuid); return __httpRequest; } @@ -179,7 +179,7 @@ partial void ProcessGetAudioEnhancementResponseContent( pathTemplate: "$\"/audio_enhancements/{enhancementUuid}\"", 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, @@ -213,7 +213,7 @@ partial void ProcessGetAudioEnhancementResponseContent( pathTemplate: "$\"/audio_enhancements/{enhancementUuid}\"", 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, @@ -254,7 +254,7 @@ partial void ProcessGetAudioEnhancementResponseContent( pathTemplate: "$\"/audio_enhancements/{enhancementUuid}\"", 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, @@ -302,7 +302,7 @@ partial void ProcessGetAudioEnhancementResponseContent( pathTemplate: "$\"/audio_enhancements/{enhancementUuid}\"", 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 ProcessGetAudioEnhancementResponseContent( pathTemplate: "$\"/audio_enhancements/{enhancementUuid}\"", 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/ResembleAI/Generated/ResembleAI.AudioEnhancementClient.ListAudioEnhancements.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.AudioEnhancementClient.ListAudioEnhancements.g.cs index 38893e6..9ccc6ad 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.AudioEnhancementClient.ListAudioEnhancements.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.AudioEnhancementClient.ListAudioEnhancements.g.cs @@ -130,7 +130,7 @@ partial void ProcessListAudioEnhancementsResponseContent( servers: s_ListAudioEnhancementsServers, defaultBaseUrl: "https://app.resemble.ai/api/v2")); __pathBuilder - .AddRequiredParameter("page", page.ToString()!) + .AddRequiredParameter("page", page.ToString() ?? throw new global::System.InvalidOperationException("A required query parameter returned null from ToString().")) .AddOptionalParameter("page_size", pageSize?.ToString()) ; var __path = __pathBuilder.ToString(); @@ -173,7 +173,7 @@ partial void ProcessListAudioEnhancementsResponseContent( PrepareListAudioEnhancementsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - page: page!, + page: page, pageSize: pageSize); return __httpRequest; @@ -196,7 +196,7 @@ partial void ProcessListAudioEnhancementsResponseContent( pathTemplate: "\"/audio_enhancements\"", 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, @@ -230,7 +230,7 @@ partial void ProcessListAudioEnhancementsResponseContent( pathTemplate: "\"/audio_enhancements\"", 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, @@ -271,7 +271,7 @@ partial void ProcessListAudioEnhancementsResponseContent( pathTemplate: "\"/audio_enhancements\"", 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, @@ -319,7 +319,7 @@ partial void ProcessListAudioEnhancementsResponseContent( pathTemplate: "\"/audio_enhancements\"", 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, @@ -341,7 +341,7 @@ partial void ProcessListAudioEnhancementsResponseContent( pathTemplate: "\"/audio_enhancements\"", 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/ResembleAI/Generated/ResembleAI.AudioSourceTracingClient.GetAudioSourceTracing.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.AudioSourceTracingClient.GetAudioSourceTracing.g.cs index 5f8caae..5cc328b 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.AudioSourceTracingClient.GetAudioSourceTracing.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.AudioSourceTracingClient.GetAudioSourceTracing.g.cs @@ -157,7 +157,7 @@ partial void ProcessGetAudioSourceTracingResponseContent( PrepareGetAudioSourceTracingRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - uuid: uuid!); + uuid: uuid); return __httpRequest; } @@ -179,7 +179,7 @@ partial void ProcessGetAudioSourceTracingResponseContent( pathTemplate: "$\"/audio_source_tracings/{uuid}\"", 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, @@ -213,7 +213,7 @@ partial void ProcessGetAudioSourceTracingResponseContent( pathTemplate: "$\"/audio_source_tracings/{uuid}\"", 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, @@ -254,7 +254,7 @@ partial void ProcessGetAudioSourceTracingResponseContent( pathTemplate: "$\"/audio_source_tracings/{uuid}\"", 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, @@ -302,7 +302,7 @@ partial void ProcessGetAudioSourceTracingResponseContent( pathTemplate: "$\"/audio_source_tracings/{uuid}\"", 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 ProcessGetAudioSourceTracingResponseContent( pathTemplate: "$\"/audio_source_tracings/{uuid}\"", 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/ResembleAI/Generated/ResembleAI.AudioSourceTracingClient.ListAudioSourceTracings.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.AudioSourceTracingClient.ListAudioSourceTracings.g.cs index a505b06..fab491a 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.AudioSourceTracingClient.ListAudioSourceTracings.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.AudioSourceTracingClient.ListAudioSourceTracings.g.cs @@ -130,7 +130,7 @@ partial void ProcessListAudioSourceTracingsResponseContent( servers: s_ListAudioSourceTracingsServers, defaultBaseUrl: "https://app.resemble.ai/api/v2")); __pathBuilder - .AddRequiredParameter("page", page.ToString()!) + .AddRequiredParameter("page", page.ToString() ?? throw new global::System.InvalidOperationException("A required query parameter returned null from ToString().")) .AddOptionalParameter("page_size", pageSize?.ToString()) ; var __path = __pathBuilder.ToString(); @@ -173,7 +173,7 @@ partial void ProcessListAudioSourceTracingsResponseContent( PrepareListAudioSourceTracingsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - page: page!, + page: page, pageSize: pageSize); return __httpRequest; @@ -196,7 +196,7 @@ partial void ProcessListAudioSourceTracingsResponseContent( pathTemplate: "\"/audio_source_tracings\"", 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, @@ -230,7 +230,7 @@ partial void ProcessListAudioSourceTracingsResponseContent( pathTemplate: "\"/audio_source_tracings\"", 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, @@ -271,7 +271,7 @@ partial void ProcessListAudioSourceTracingsResponseContent( pathTemplate: "\"/audio_source_tracings\"", 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, @@ -319,7 +319,7 @@ partial void ProcessListAudioSourceTracingsResponseContent( pathTemplate: "\"/audio_source_tracings\"", 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, @@ -341,7 +341,7 @@ partial void ProcessListAudioSourceTracingsResponseContent( pathTemplate: "\"/audio_source_tracings\"", 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/ResembleAI/Generated/ResembleAI.AutoSDKHttpResponse.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.AutoSDKHttpResponse.g.cs index 5c66153..7e3b615 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.AutoSDKHttpResponse.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.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/ResembleAI/Generated/ResembleAI.BillingPlansClient.GetBillingPlan.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.BillingPlansClient.GetBillingPlan.g.cs index f42300f..ee771eb 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.BillingPlansClient.GetBillingPlan.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.BillingPlansClient.GetBillingPlan.g.cs @@ -157,7 +157,7 @@ partial void ProcessGetBillingPlanResponseContent( PrepareGetBillingPlanRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id!); + id: id); return __httpRequest; } @@ -179,7 +179,7 @@ partial void ProcessGetBillingPlanResponseContent( pathTemplate: "$\"/plans/{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, @@ -213,7 +213,7 @@ partial void ProcessGetBillingPlanResponseContent( pathTemplate: "$\"/plans/{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, @@ -254,7 +254,7 @@ partial void ProcessGetBillingPlanResponseContent( pathTemplate: "$\"/plans/{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, @@ -302,7 +302,7 @@ partial void ProcessGetBillingPlanResponseContent( pathTemplate: "$\"/plans/{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 ProcessGetBillingPlanResponseContent( pathTemplate: "$\"/plans/{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/ResembleAI/Generated/ResembleAI.BillingPlansClient.ListBillingPlans.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.BillingPlansClient.ListBillingPlans.g.cs index d7e4f87..ba97782 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.BillingPlansClient.ListBillingPlans.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.BillingPlansClient.ListBillingPlans.g.cs @@ -170,7 +170,7 @@ partial void ProcessListBillingPlansResponseContent( pathTemplate: "\"/plans\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -204,7 +204,7 @@ partial void ProcessListBillingPlansResponseContent( pathTemplate: "\"/plans\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -245,7 +245,7 @@ partial void ProcessListBillingPlansResponseContent( pathTemplate: "\"/plans\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -293,7 +293,7 @@ partial void ProcessListBillingPlansResponseContent( pathTemplate: "\"/plans\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -315,7 +315,7 @@ partial void ProcessListBillingPlansResponseContent( pathTemplate: "\"/plans\"", 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/ResembleAI/Generated/ResembleAI.BillingSubscriptionsClient.ChangeBillingPlan.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.BillingSubscriptionsClient.ChangeBillingPlan.g.cs index 0ec52e0..46c3ee5 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.BillingSubscriptionsClient.ChangeBillingPlan.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.BillingSubscriptionsClient.ChangeBillingPlan.g.cs @@ -190,7 +190,7 @@ partial void ProcessChangeBillingPlanResponseContent( pathTemplate: "\"/subscription/change_plan\"", httpMethod: "PATCH", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -224,7 +224,7 @@ partial void ProcessChangeBillingPlanResponseContent( pathTemplate: "\"/subscription/change_plan\"", httpMethod: "PATCH", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -265,7 +265,7 @@ partial void ProcessChangeBillingPlanResponseContent( pathTemplate: "\"/subscription/change_plan\"", httpMethod: "PATCH", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -313,7 +313,7 @@ partial void ProcessChangeBillingPlanResponseContent( pathTemplate: "\"/subscription/change_plan\"", httpMethod: "PATCH", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -335,7 +335,7 @@ partial void ProcessChangeBillingPlanResponseContent( pathTemplate: "\"/subscription/change_plan\"", httpMethod: "PATCH", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/ResembleAI/Generated/ResembleAI.BillingSubscriptionsClient.ConfirmBillingSubscriptionPayment.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.BillingSubscriptionsClient.ConfirmBillingSubscriptionPayment.g.cs index 2d68698..fc7bdb6 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.BillingSubscriptionsClient.ConfirmBillingSubscriptionPayment.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.BillingSubscriptionsClient.ConfirmBillingSubscriptionPayment.g.cs @@ -190,7 +190,7 @@ partial void ProcessConfirmBillingSubscriptionPaymentResponseContent( pathTemplate: "\"/subscription/confirm_payment\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -224,7 +224,7 @@ partial void ProcessConfirmBillingSubscriptionPaymentResponseContent( pathTemplate: "\"/subscription/confirm_payment\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -265,7 +265,7 @@ partial void ProcessConfirmBillingSubscriptionPaymentResponseContent( pathTemplate: "\"/subscription/confirm_payment\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -313,7 +313,7 @@ partial void ProcessConfirmBillingSubscriptionPaymentResponseContent( pathTemplate: "\"/subscription/confirm_payment\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -335,7 +335,7 @@ partial void ProcessConfirmBillingSubscriptionPaymentResponseContent( pathTemplate: "\"/subscription/confirm_payment\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/ResembleAI/Generated/ResembleAI.BillingSubscriptionsClient.GetBillingSubscription.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.BillingSubscriptionsClient.GetBillingSubscription.g.cs index 91dd688..e3d35ce 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.BillingSubscriptionsClient.GetBillingSubscription.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.BillingSubscriptionsClient.GetBillingSubscription.g.cs @@ -170,7 +170,7 @@ partial void ProcessGetBillingSubscriptionResponseContent( pathTemplate: "\"/subscription\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -204,7 +204,7 @@ partial void ProcessGetBillingSubscriptionResponseContent( pathTemplate: "\"/subscription\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -245,7 +245,7 @@ partial void ProcessGetBillingSubscriptionResponseContent( pathTemplate: "\"/subscription\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -293,7 +293,7 @@ partial void ProcessGetBillingSubscriptionResponseContent( pathTemplate: "\"/subscription\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -315,7 +315,7 @@ partial void ProcessGetBillingSubscriptionResponseContent( pathTemplate: "\"/subscription\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/ResembleAI/Generated/ResembleAI.BillingSubscriptionsClient.UpdateBillingSubscriptionProducts.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.BillingSubscriptionsClient.UpdateBillingSubscriptionProducts.g.cs index f9035c4..9b88612 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.BillingSubscriptionsClient.UpdateBillingSubscriptionProducts.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.BillingSubscriptionsClient.UpdateBillingSubscriptionProducts.g.cs @@ -190,7 +190,7 @@ partial void ProcessUpdateBillingSubscriptionProductsResponseContent( pathTemplate: "\"/subscription/products\"", httpMethod: "PATCH", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -224,7 +224,7 @@ partial void ProcessUpdateBillingSubscriptionProductsResponseContent( pathTemplate: "\"/subscription/products\"", httpMethod: "PATCH", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -265,7 +265,7 @@ partial void ProcessUpdateBillingSubscriptionProductsResponseContent( pathTemplate: "\"/subscription/products\"", httpMethod: "PATCH", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -313,7 +313,7 @@ partial void ProcessUpdateBillingSubscriptionProductsResponseContent( pathTemplate: "\"/subscription/products\"", httpMethod: "PATCH", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -335,7 +335,7 @@ partial void ProcessUpdateBillingSubscriptionProductsResponseContent( pathTemplate: "\"/subscription/products\"", httpMethod: "PATCH", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/ResembleAI/Generated/ResembleAI.BillingWalletClient.ExportBillingWalletTransactions.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.BillingWalletClient.ExportBillingWalletTransactions.g.cs index 06f78f2..35957a8 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.BillingWalletClient.ExportBillingWalletTransactions.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.BillingWalletClient.ExportBillingWalletTransactions.g.cs @@ -170,7 +170,7 @@ partial void ProcessExportBillingWalletTransactionsResponseContent( pathTemplate: "\"/wallet/transactions/export.csv\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -204,7 +204,7 @@ partial void ProcessExportBillingWalletTransactionsResponseContent( pathTemplate: "\"/wallet/transactions/export.csv\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -245,7 +245,7 @@ partial void ProcessExportBillingWalletTransactionsResponseContent( pathTemplate: "\"/wallet/transactions/export.csv\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -293,7 +293,7 @@ partial void ProcessExportBillingWalletTransactionsResponseContent( pathTemplate: "\"/wallet/transactions/export.csv\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -315,7 +315,7 @@ partial void ProcessExportBillingWalletTransactionsResponseContent( pathTemplate: "\"/wallet/transactions/export.csv\"", 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/ResembleAI/Generated/ResembleAI.BillingWalletClient.GetBillingAutoReload.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.BillingWalletClient.GetBillingAutoReload.g.cs index edc9fda..7e05df3 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.BillingWalletClient.GetBillingAutoReload.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.BillingWalletClient.GetBillingAutoReload.g.cs @@ -170,7 +170,7 @@ partial void ProcessGetBillingAutoReloadResponseContent( pathTemplate: "\"/wallet/auto_reload\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -204,7 +204,7 @@ partial void ProcessGetBillingAutoReloadResponseContent( pathTemplate: "\"/wallet/auto_reload\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -245,7 +245,7 @@ partial void ProcessGetBillingAutoReloadResponseContent( pathTemplate: "\"/wallet/auto_reload\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -293,7 +293,7 @@ partial void ProcessGetBillingAutoReloadResponseContent( pathTemplate: "\"/wallet/auto_reload\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -315,7 +315,7 @@ partial void ProcessGetBillingAutoReloadResponseContent( pathTemplate: "\"/wallet/auto_reload\"", 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/ResembleAI/Generated/ResembleAI.BillingWalletClient.GetBillingWallet.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.BillingWalletClient.GetBillingWallet.g.cs index 1a5d9ca..5f80efd 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.BillingWalletClient.GetBillingWallet.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.BillingWalletClient.GetBillingWallet.g.cs @@ -170,7 +170,7 @@ partial void ProcessGetBillingWalletResponseContent( pathTemplate: "\"/wallet\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -204,7 +204,7 @@ partial void ProcessGetBillingWalletResponseContent( pathTemplate: "\"/wallet\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -245,7 +245,7 @@ partial void ProcessGetBillingWalletResponseContent( pathTemplate: "\"/wallet\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -293,7 +293,7 @@ partial void ProcessGetBillingWalletResponseContent( pathTemplate: "\"/wallet\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -315,7 +315,7 @@ partial void ProcessGetBillingWalletResponseContent( pathTemplate: "\"/wallet\"", 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/ResembleAI/Generated/ResembleAI.BillingWalletClient.ListBillingWalletTransactions.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.BillingWalletClient.ListBillingWalletTransactions.g.cs index 36e1a80..491d697 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.BillingWalletClient.ListBillingWalletTransactions.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.BillingWalletClient.ListBillingWalletTransactions.g.cs @@ -210,7 +210,7 @@ partial void ProcessListBillingWalletTransactionsResponseContent( pathTemplate: "\"/wallet/transactions\"", 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, @@ -244,7 +244,7 @@ partial void ProcessListBillingWalletTransactionsResponseContent( pathTemplate: "\"/wallet/transactions\"", 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, @@ -285,7 +285,7 @@ partial void ProcessListBillingWalletTransactionsResponseContent( pathTemplate: "\"/wallet/transactions\"", 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, @@ -333,7 +333,7 @@ partial void ProcessListBillingWalletTransactionsResponseContent( pathTemplate: "\"/wallet/transactions\"", 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, @@ -355,7 +355,7 @@ partial void ProcessListBillingWalletTransactionsResponseContent( pathTemplate: "\"/wallet/transactions\"", 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/ResembleAI/Generated/ResembleAI.BillingWalletClient.UpdateBillingAutoReload.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.BillingWalletClient.UpdateBillingAutoReload.g.cs index 26cf0d0..c1ba1b3 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.BillingWalletClient.UpdateBillingAutoReload.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.BillingWalletClient.UpdateBillingAutoReload.g.cs @@ -190,7 +190,7 @@ partial void ProcessUpdateBillingAutoReloadResponseContent( pathTemplate: "\"/wallet/auto_reload\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -224,7 +224,7 @@ partial void ProcessUpdateBillingAutoReloadResponseContent( pathTemplate: "\"/wallet/auto_reload\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -265,7 +265,7 @@ partial void ProcessUpdateBillingAutoReloadResponseContent( pathTemplate: "\"/wallet/auto_reload\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -313,7 +313,7 @@ partial void ProcessUpdateBillingAutoReloadResponseContent( pathTemplate: "\"/wallet/auto_reload\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessUpdateBillingAutoReloadResponseContent( pathTemplate: "\"/wallet/auto_reload\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + 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/ResembleAI/Generated/ResembleAI.ClipsClient.DeleteClip.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.ClipsClient.DeleteClip.g.cs index a561cd5..5f2a1a4 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.ClipsClient.DeleteClip.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.ClipsClient.DeleteClip.g.cs @@ -165,8 +165,8 @@ partial void ProcessDeleteClipResponseContent( PrepareDeleteClipRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - projectUuid: projectUuid!, - clipUuid: clipUuid!); + projectUuid: projectUuid, + clipUuid: clipUuid); return __httpRequest; } @@ -188,7 +188,7 @@ partial void ProcessDeleteClipResponseContent( pathTemplate: "$\"/projects/{projectUuid}/clips/{clipUuid}\"", 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, @@ -222,7 +222,7 @@ partial void ProcessDeleteClipResponseContent( pathTemplate: "$\"/projects/{projectUuid}/clips/{clipUuid}\"", 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, @@ -263,7 +263,7 @@ partial void ProcessDeleteClipResponseContent( pathTemplate: "$\"/projects/{projectUuid}/clips/{clipUuid}\"", 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, @@ -311,7 +311,7 @@ partial void ProcessDeleteClipResponseContent( pathTemplate: "$\"/projects/{projectUuid}/clips/{clipUuid}\"", 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, @@ -333,7 +333,7 @@ partial void ProcessDeleteClipResponseContent( pathTemplate: "$\"/projects/{projectUuid}/clips/{clipUuid}\"", 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/ResembleAI/Generated/ResembleAI.ClipsClient.GetClip.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.ClipsClient.GetClip.g.cs index 7c5408d..21be608 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.ClipsClient.GetClip.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.ClipsClient.GetClip.g.cs @@ -165,8 +165,8 @@ partial void ProcessGetClipResponseContent( PrepareGetClipRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - projectUuid: projectUuid!, - clipUuid: clipUuid!); + projectUuid: projectUuid, + clipUuid: clipUuid); return __httpRequest; } @@ -188,7 +188,7 @@ partial void ProcessGetClipResponseContent( pathTemplate: "$\"/projects/{projectUuid}/clips/{clipUuid}\"", 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, @@ -222,7 +222,7 @@ partial void ProcessGetClipResponseContent( pathTemplate: "$\"/projects/{projectUuid}/clips/{clipUuid}\"", 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, @@ -263,7 +263,7 @@ partial void ProcessGetClipResponseContent( pathTemplate: "$\"/projects/{projectUuid}/clips/{clipUuid}\"", 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, @@ -311,7 +311,7 @@ partial void ProcessGetClipResponseContent( pathTemplate: "$\"/projects/{projectUuid}/clips/{clipUuid}\"", 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, @@ -333,7 +333,7 @@ partial void ProcessGetClipResponseContent( pathTemplate: "$\"/projects/{projectUuid}/clips/{clipUuid}\"", 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/ResembleAI/Generated/ResembleAI.ClipsClient.ListClips.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.ClipsClient.ListClips.g.cs index f69059e..47ecee3 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.ClipsClient.ListClips.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.ClipsClient.ListClips.g.cs @@ -142,7 +142,7 @@ partial void ProcessListClipsResponseContent( servers: s_ListClipsServers, defaultBaseUrl: "https://app.resemble.ai/api/v2")); __pathBuilder - .AddRequiredParameter("page", page.ToString()!) + .AddRequiredParameter("page", page.ToString() ?? throw new global::System.InvalidOperationException("A required query parameter returned null from ToString().")) .AddOptionalParameter("page_size", pageSize?.ToString()) ; var __path = __pathBuilder.ToString(); @@ -185,8 +185,8 @@ partial void ProcessListClipsResponseContent( PrepareListClipsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - projectUuid: projectUuid!, - page: page!, + projectUuid: projectUuid, + page: page, pageSize: pageSize); return __httpRequest; @@ -209,7 +209,7 @@ partial void ProcessListClipsResponseContent( pathTemplate: "$\"/projects/{projectUuid}/clips\"", 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, @@ -243,7 +243,7 @@ partial void ProcessListClipsResponseContent( pathTemplate: "$\"/projects/{projectUuid}/clips\"", 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, @@ -284,7 +284,7 @@ partial void ProcessListClipsResponseContent( pathTemplate: "$\"/projects/{projectUuid}/clips\"", 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 ProcessListClipsResponseContent( pathTemplate: "$\"/projects/{projectUuid}/clips\"", 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, @@ -354,7 +354,7 @@ partial void ProcessListClipsResponseContent( pathTemplate: "$\"/projects/{projectUuid}/clips\"", 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/ResembleAI/Generated/ResembleAI.ClipsClient.UpdateClip.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.ClipsClient.UpdateClip.g.cs index 1fbf688..1c87f8d 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.ClipsClient.UpdateClip.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.ClipsClient.UpdateClip.g.cs @@ -184,8 +184,8 @@ partial void ProcessUpdateClipResponseContent( PrepareUpdateClipRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - projectUuid: projectUuid!, - clipUuid: clipUuid!, + projectUuid: projectUuid, + clipUuid: clipUuid, request: request); return __httpRequest; @@ -208,7 +208,7 @@ partial void ProcessUpdateClipResponseContent( pathTemplate: "$\"/projects/{projectUuid}/clips/{clipUuid}\"", httpMethod: "PATCH", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -242,7 +242,7 @@ partial void ProcessUpdateClipResponseContent( pathTemplate: "$\"/projects/{projectUuid}/clips/{clipUuid}\"", httpMethod: "PATCH", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -283,7 +283,7 @@ partial void ProcessUpdateClipResponseContent( pathTemplate: "$\"/projects/{projectUuid}/clips/{clipUuid}\"", httpMethod: "PATCH", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -331,7 +331,7 @@ partial void ProcessUpdateClipResponseContent( pathTemplate: "$\"/projects/{projectUuid}/clips/{clipUuid}\"", httpMethod: "PATCH", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -353,7 +353,7 @@ partial void ProcessUpdateClipResponseContent( pathTemplate: "$\"/projects/{projectUuid}/clips/{clipUuid}\"", httpMethod: "PATCH", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/ResembleAI/Generated/ResembleAI.CustomPronunciationsClient.BulkCreatePronunciations.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.CustomPronunciationsClient.BulkCreatePronunciations.g.cs index 2654f9b..f10dd0a 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.CustomPronunciationsClient.BulkCreatePronunciations.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.CustomPronunciationsClient.BulkCreatePronunciations.g.cs @@ -226,7 +226,7 @@ request.Zipname is null pathTemplate: "\"/pronunciations/bulk\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -260,7 +260,7 @@ request.Zipname is null pathTemplate: "\"/pronunciations/bulk\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -301,7 +301,7 @@ request.Zipname is null pathTemplate: "\"/pronunciations/bulk\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -349,7 +349,7 @@ request.Zipname is null pathTemplate: "\"/pronunciations/bulk\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -371,7 +371,7 @@ request.Zipname is null pathTemplate: "\"/pronunciations/bulk\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -674,7 +674,7 @@ request.Zipname is null pathTemplate: "\"/pronunciations/bulk\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -708,7 +708,7 @@ request.Zipname is null pathTemplate: "\"/pronunciations/bulk\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -749,7 +749,7 @@ request.Zipname is null pathTemplate: "\"/pronunciations/bulk\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -797,7 +797,7 @@ request.Zipname is null pathTemplate: "\"/pronunciations/bulk\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -819,7 +819,7 @@ request.Zipname is null pathTemplate: "\"/pronunciations/bulk\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1083,7 +1083,7 @@ request.Zipname is null pathTemplate: "\"/pronunciations/bulk\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -1117,7 +1117,7 @@ request.Zipname is null pathTemplate: "\"/pronunciations/bulk\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -1158,7 +1158,7 @@ request.Zipname is null pathTemplate: "\"/pronunciations/bulk\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1206,7 +1206,7 @@ request.Zipname is null pathTemplate: "\"/pronunciations/bulk\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1228,7 +1228,7 @@ request.Zipname is null pathTemplate: "\"/pronunciations/bulk\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/ResembleAI/Generated/ResembleAI.CustomPronunciationsClient.CreatePronunciation.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.CustomPronunciationsClient.CreatePronunciation.g.cs index d600d82..b2f1e6b 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.CustomPronunciationsClient.CreatePronunciation.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.CustomPronunciationsClient.CreatePronunciation.g.cs @@ -230,7 +230,7 @@ request.Audioname is null pathTemplate: "\"/pronunciations\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 @@ request.Audioname is null pathTemplate: "\"/pronunciations\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 @@ request.Audioname is null pathTemplate: "\"/pronunciations\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 @@ request.Audioname is null pathTemplate: "\"/pronunciations\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 @@ request.Audioname is null pathTemplate: "\"/pronunciations\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -729,7 +729,7 @@ request.Audioname is null pathTemplate: "\"/pronunciations\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -763,7 +763,7 @@ request.Audioname is null pathTemplate: "\"/pronunciations\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -804,7 +804,7 @@ request.Audioname is null pathTemplate: "\"/pronunciations\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -852,7 +852,7 @@ request.Audioname is null pathTemplate: "\"/pronunciations\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -874,7 +874,7 @@ request.Audioname is null pathTemplate: "\"/pronunciations\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1184,7 +1184,7 @@ request.Audioname is null pathTemplate: "\"/pronunciations\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -1218,7 +1218,7 @@ request.Audioname is null pathTemplate: "\"/pronunciations\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -1259,7 +1259,7 @@ request.Audioname is null pathTemplate: "\"/pronunciations\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1307,7 +1307,7 @@ request.Audioname is null pathTemplate: "\"/pronunciations\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1329,7 +1329,7 @@ request.Audioname is null pathTemplate: "\"/pronunciations\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/ResembleAI/Generated/ResembleAI.CustomPronunciationsClient.DeletePronunciation.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.CustomPronunciationsClient.DeletePronunciation.g.cs index 2257fcd..dca1d6a 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.CustomPronunciationsClient.DeletePronunciation.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.CustomPronunciationsClient.DeletePronunciation.g.cs @@ -157,7 +157,7 @@ partial void ProcessDeletePronunciationResponseContent( PrepareDeletePronunciationRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - uuid: uuid!); + uuid: uuid); return __httpRequest; } @@ -179,7 +179,7 @@ partial void ProcessDeletePronunciationResponseContent( pathTemplate: "$\"/pronunciations/{uuid}\"", 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, @@ -213,7 +213,7 @@ partial void ProcessDeletePronunciationResponseContent( pathTemplate: "$\"/pronunciations/{uuid}\"", 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, @@ -254,7 +254,7 @@ partial void ProcessDeletePronunciationResponseContent( pathTemplate: "$\"/pronunciations/{uuid}\"", 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, @@ -302,7 +302,7 @@ partial void ProcessDeletePronunciationResponseContent( pathTemplate: "$\"/pronunciations/{uuid}\"", 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, @@ -324,7 +324,7 @@ partial void ProcessDeletePronunciationResponseContent( pathTemplate: "$\"/pronunciations/{uuid}\"", 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/ResembleAI/Generated/ResembleAI.CustomPronunciationsClient.GetPronunciation.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.CustomPronunciationsClient.GetPronunciation.g.cs index 050fca3..111a8e2 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.CustomPronunciationsClient.GetPronunciation.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.CustomPronunciationsClient.GetPronunciation.g.cs @@ -157,7 +157,7 @@ partial void ProcessGetPronunciationResponseContent( PrepareGetPronunciationRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - uuid: uuid!); + uuid: uuid); return __httpRequest; } @@ -179,7 +179,7 @@ partial void ProcessGetPronunciationResponseContent( pathTemplate: "$\"/pronunciations/{uuid}\"", 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, @@ -213,7 +213,7 @@ partial void ProcessGetPronunciationResponseContent( pathTemplate: "$\"/pronunciations/{uuid}\"", 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, @@ -254,7 +254,7 @@ partial void ProcessGetPronunciationResponseContent( pathTemplate: "$\"/pronunciations/{uuid}\"", 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, @@ -302,7 +302,7 @@ partial void ProcessGetPronunciationResponseContent( pathTemplate: "$\"/pronunciations/{uuid}\"", 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 ProcessGetPronunciationResponseContent( pathTemplate: "$\"/pronunciations/{uuid}\"", 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/ResembleAI/Generated/ResembleAI.CustomPronunciationsClient.ListPronunciations.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.CustomPronunciationsClient.ListPronunciations.g.cs index 5034408..d721bfa 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.CustomPronunciationsClient.ListPronunciations.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.CustomPronunciationsClient.ListPronunciations.g.cs @@ -212,7 +212,7 @@ partial void ProcessListPronunciationsResponseContent( pathTemplate: "\"/pronunciations\"", 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, @@ -246,7 +246,7 @@ partial void ProcessListPronunciationsResponseContent( pathTemplate: "\"/pronunciations\"", 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, @@ -287,7 +287,7 @@ partial void ProcessListPronunciationsResponseContent( pathTemplate: "\"/pronunciations\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -335,7 +335,7 @@ partial void ProcessListPronunciationsResponseContent( pathTemplate: "\"/pronunciations\"", 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, @@ -357,7 +357,7 @@ partial void ProcessListPronunciationsResponseContent( pathTemplate: "\"/pronunciations\"", 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/ResembleAI/Generated/ResembleAI.CustomPronunciationsClient.UpdatePronunciation.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.CustomPronunciationsClient.UpdatePronunciation.g.cs index 48bd518..124838d 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.CustomPronunciationsClient.UpdatePronunciation.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.CustomPronunciationsClient.UpdatePronunciation.g.cs @@ -176,7 +176,7 @@ partial void ProcessUpdatePronunciationResponseContent( PrepareUpdatePronunciationRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - uuid: uuid!, + uuid: uuid, request: request); return __httpRequest; @@ -199,7 +199,7 @@ partial void ProcessUpdatePronunciationResponseContent( pathTemplate: "$\"/pronunciations/{uuid}\"", httpMethod: "PATCH", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -233,7 +233,7 @@ partial void ProcessUpdatePronunciationResponseContent( pathTemplate: "$\"/pronunciations/{uuid}\"", httpMethod: "PATCH", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -274,7 +274,7 @@ partial void ProcessUpdatePronunciationResponseContent( pathTemplate: "$\"/pronunciations/{uuid}\"", httpMethod: "PATCH", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -322,7 +322,7 @@ partial void ProcessUpdatePronunciationResponseContent( pathTemplate: "$\"/pronunciations/{uuid}\"", httpMethod: "PATCH", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -344,7 +344,7 @@ partial void ProcessUpdatePronunciationResponseContent( pathTemplate: "$\"/pronunciations/{uuid}\"", httpMethod: "PATCH", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.CreateDetectBatch.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.CreateDetectBatch.g.cs index a843610..9bb008b 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.CreateDetectBatch.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.CreateDetectBatch.g.cs @@ -385,7 +385,7 @@ request.Filename is null pathTemplate: "\"/detect/batch\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -419,7 +419,7 @@ request.Filename is null pathTemplate: "\"/detect/batch\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -460,7 +460,7 @@ request.Filename is null pathTemplate: "\"/detect/batch\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -508,7 +508,7 @@ request.Filename is null pathTemplate: "\"/detect/batch\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -530,7 +530,7 @@ request.Filename is null pathTemplate: "\"/detect/batch\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.CreateDetectFeedback.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.CreateDetectFeedback.g.cs index f34dfad..f30babe 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.CreateDetectFeedback.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.CreateDetectFeedback.g.cs @@ -192,7 +192,7 @@ partial void ProcessCreateDetectFeedbackResponseContent( PrepareCreateDetectFeedbackRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - uuid: uuid!, + uuid: uuid, request: request); return __httpRequest; @@ -215,7 +215,7 @@ partial void ProcessCreateDetectFeedbackResponseContent( pathTemplate: "$\"/detect/{uuid}/feedback\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -249,7 +249,7 @@ partial void ProcessCreateDetectFeedbackResponseContent( pathTemplate: "$\"/detect/{uuid}/feedback\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -290,7 +290,7 @@ partial void ProcessCreateDetectFeedbackResponseContent( pathTemplate: "$\"/detect/{uuid}/feedback\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCreateDetectFeedbackResponseContent( pathTemplate: "$\"/detect/{uuid}/feedback\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -360,7 +360,7 @@ partial void ProcessCreateDetectFeedbackResponseContent( pathTemplate: "$\"/detect/{uuid}/feedback\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.CreateDetection.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.CreateDetection.g.cs index 149527e..f59b674 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.CreateDetection.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.CreateDetection.g.cs @@ -383,7 +383,7 @@ request.Filename is null pathTemplate: "\"/detect\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -417,7 +417,7 @@ request.Filename is null pathTemplate: "\"/detect\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -458,7 +458,7 @@ request.Filename is null pathTemplate: "\"/detect\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -506,7 +506,7 @@ request.Filename is null pathTemplate: "\"/detect\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -528,7 +528,7 @@ request.Filename is null pathTemplate: "\"/detect\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1299,7 +1299,7 @@ request.Filename is null pathTemplate: "\"/detect\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -1333,7 +1333,7 @@ request.Filename is null pathTemplate: "\"/detect\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -1374,7 +1374,7 @@ request.Filename is null pathTemplate: "\"/detect\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1422,7 +1422,7 @@ request.Filename is null pathTemplate: "\"/detect\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1444,7 +1444,7 @@ request.Filename is null pathTemplate: "\"/detect\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -2066,7 +2066,7 @@ request.Filename is null pathTemplate: "\"/detect\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -2100,7 +2100,7 @@ request.Filename is null pathTemplate: "\"/detect\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -2141,7 +2141,7 @@ request.Filename is null pathTemplate: "\"/detect\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -2189,7 +2189,7 @@ request.Filename is null pathTemplate: "\"/detect\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -2211,7 +2211,7 @@ request.Filename is null pathTemplate: "\"/detect\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.DeleteDetectFeedback.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.DeleteDetectFeedback.g.cs index 3174bb2..699a684 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.DeleteDetectFeedback.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.DeleteDetectFeedback.g.cs @@ -161,7 +161,7 @@ partial void ProcessDeleteDetectFeedbackResponseContent( PrepareDeleteDetectFeedbackRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - uuid: uuid!); + uuid: uuid); return __httpRequest; } @@ -183,7 +183,7 @@ partial void ProcessDeleteDetectFeedbackResponseContent( pathTemplate: "$\"/detect/{uuid}/feedback\"", 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, @@ -217,7 +217,7 @@ partial void ProcessDeleteDetectFeedbackResponseContent( pathTemplate: "$\"/detect/{uuid}/feedback\"", 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, @@ -258,7 +258,7 @@ partial void ProcessDeleteDetectFeedbackResponseContent( pathTemplate: "$\"/detect/{uuid}/feedback\"", 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, @@ -306,7 +306,7 @@ partial void ProcessDeleteDetectFeedbackResponseContent( pathTemplate: "$\"/detect/{uuid}/feedback\"", 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, @@ -328,7 +328,7 @@ partial void ProcessDeleteDetectFeedbackResponseContent( pathTemplate: "$\"/detect/{uuid}/feedback\"", 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/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.DeleteDetection.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.DeleteDetection.g.cs index 35ad20b..dead443 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.DeleteDetection.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.DeleteDetection.g.cs @@ -157,7 +157,7 @@ partial void ProcessDeleteDetectionResponseContent( PrepareDeleteDetectionRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - uuid: uuid!); + uuid: uuid); return __httpRequest; } @@ -179,7 +179,7 @@ partial void ProcessDeleteDetectionResponseContent( pathTemplate: "$\"/detect/{uuid}\"", 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, @@ -213,7 +213,7 @@ partial void ProcessDeleteDetectionResponseContent( pathTemplate: "$\"/detect/{uuid}\"", 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, @@ -254,7 +254,7 @@ partial void ProcessDeleteDetectionResponseContent( pathTemplate: "$\"/detect/{uuid}\"", 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, @@ -302,7 +302,7 @@ partial void ProcessDeleteDetectionResponseContent( pathTemplate: "$\"/detect/{uuid}\"", 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, @@ -324,7 +324,7 @@ partial void ProcessDeleteDetectionResponseContent( pathTemplate: "$\"/detect/{uuid}\"", 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/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.GetDetectBatch.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.GetDetectBatch.g.cs index cc1da81..b07c907 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.GetDetectBatch.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.GetDetectBatch.g.cs @@ -163,7 +163,7 @@ partial void ProcessGetDetectBatchResponseContent( PrepareGetDetectBatchRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - uuid: uuid!); + uuid: uuid); return __httpRequest; } @@ -185,7 +185,7 @@ partial void ProcessGetDetectBatchResponseContent( pathTemplate: "$\"/detect/batch/{uuid}\"", 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 ProcessGetDetectBatchResponseContent( pathTemplate: "$\"/detect/batch/{uuid}\"", 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 ProcessGetDetectBatchResponseContent( pathTemplate: "$\"/detect/batch/{uuid}\"", 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 ProcessGetDetectBatchResponseContent( pathTemplate: "$\"/detect/batch/{uuid}\"", 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 ProcessGetDetectBatchResponseContent( pathTemplate: "$\"/detect/batch/{uuid}\"", 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/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.GetDetectFeedback.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.GetDetectFeedback.g.cs index d053047..04a9500 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.GetDetectFeedback.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.GetDetectFeedback.g.cs @@ -159,7 +159,7 @@ partial void ProcessGetDetectFeedbackResponseContent( PrepareGetDetectFeedbackRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - uuid: uuid!); + uuid: uuid); return __httpRequest; } @@ -181,7 +181,7 @@ partial void ProcessGetDetectFeedbackResponseContent( pathTemplate: "$\"/detect/{uuid}/feedback\"", 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, @@ -215,7 +215,7 @@ partial void ProcessGetDetectFeedbackResponseContent( pathTemplate: "$\"/detect/{uuid}/feedback\"", 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, @@ -256,7 +256,7 @@ partial void ProcessGetDetectFeedbackResponseContent( pathTemplate: "$\"/detect/{uuid}/feedback\"", 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, @@ -304,7 +304,7 @@ partial void ProcessGetDetectFeedbackResponseContent( pathTemplate: "$\"/detect/{uuid}/feedback\"", 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, @@ -326,7 +326,7 @@ partial void ProcessGetDetectFeedbackResponseContent( pathTemplate: "$\"/detect/{uuid}/feedback\"", 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/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.GetDetection.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.GetDetection.g.cs index 0056349..f7fbf9f 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.GetDetection.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.GetDetection.g.cs @@ -172,7 +172,7 @@ partial void ProcessGetDetectionResponseContent( PrepareGetDetectionRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - uuid: uuid!, + uuid: uuid, experts: experts); return __httpRequest; @@ -195,7 +195,7 @@ partial void ProcessGetDetectionResponseContent( pathTemplate: "$\"/detect/{uuid}\"", 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, @@ -229,7 +229,7 @@ partial void ProcessGetDetectionResponseContent( pathTemplate: "$\"/detect/{uuid}\"", 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, @@ -270,7 +270,7 @@ partial void ProcessGetDetectionResponseContent( pathTemplate: "$\"/detect/{uuid}\"", 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, @@ -318,7 +318,7 @@ partial void ProcessGetDetectionResponseContent( pathTemplate: "$\"/detect/{uuid}\"", 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, @@ -340,7 +340,7 @@ partial void ProcessGetDetectionResponseContent( pathTemplate: "$\"/detect/{uuid}\"", 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/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.ListDetections.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.ListDetections.g.cs index a38f882..14354bb 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.ListDetections.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.DeepfakeDetectionClient.ListDetections.g.cs @@ -130,7 +130,7 @@ partial void ProcessListDetectionsResponseContent( servers: s_ListDetectionsServers, defaultBaseUrl: "https://app.resemble.ai/api/v2")); __pathBuilder - .AddRequiredParameter("page", page.ToString()!) + .AddRequiredParameter("page", page.ToString() ?? throw new global::System.InvalidOperationException("A required query parameter returned null from ToString().")) .AddOptionalParameter("page_size", pageSize?.ToString()) ; var __path = __pathBuilder.ToString(); @@ -173,7 +173,7 @@ partial void ProcessListDetectionsResponseContent( PrepareListDetectionsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - page: page!, + page: page, pageSize: pageSize); return __httpRequest; @@ -196,7 +196,7 @@ partial void ProcessListDetectionsResponseContent( pathTemplate: "\"/detect\"", 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, @@ -230,7 +230,7 @@ partial void ProcessListDetectionsResponseContent( pathTemplate: "\"/detect\"", 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, @@ -271,7 +271,7 @@ partial void ProcessListDetectionsResponseContent( pathTemplate: "\"/detect\"", 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, @@ -319,7 +319,7 @@ partial void ProcessListDetectionsResponseContent( pathTemplate: "\"/detect\"", 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, @@ -341,7 +341,7 @@ partial void ProcessListDetectionsResponseContent( pathTemplate: "\"/detect\"", 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/ResembleAI/Generated/ResembleAI.DetectAgentsClient.GetDetectAgentInvestigationRun.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.DetectAgentsClient.GetDetectAgentInvestigationRun.g.cs index 2128cf9..5353072 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.DetectAgentsClient.GetDetectAgentInvestigationRun.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.DetectAgentsClient.GetDetectAgentInvestigationRun.g.cs @@ -167,8 +167,8 @@ partial void ProcessGetDetectAgentInvestigationRunResponseContent( PrepareGetDetectAgentInvestigationRunRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - uuid: uuid!, - runId: runId!); + uuid: uuid, + runId: runId); return __httpRequest; } @@ -190,7 +190,7 @@ partial void ProcessGetDetectAgentInvestigationRunResponseContent( pathTemplate: "$\"/agents/{uuid}/runs/{runId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -224,7 +224,7 @@ partial void ProcessGetDetectAgentInvestigationRunResponseContent( pathTemplate: "$\"/agents/{uuid}/runs/{runId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -265,7 +265,7 @@ partial void ProcessGetDetectAgentInvestigationRunResponseContent( pathTemplate: "$\"/agents/{uuid}/runs/{runId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -313,7 +313,7 @@ partial void ProcessGetDetectAgentInvestigationRunResponseContent( pathTemplate: "$\"/agents/{uuid}/runs/{runId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -335,7 +335,7 @@ partial void ProcessGetDetectAgentInvestigationRunResponseContent( pathTemplate: "$\"/agents/{uuid}/runs/{runId}\"", 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/ResembleAI/Generated/ResembleAI.DetectAgentsClient.ListDetectAgentInvestigationRuns.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.DetectAgentsClient.ListDetectAgentInvestigationRuns.g.cs index bc5948f..28169ae 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.DetectAgentsClient.ListDetectAgentInvestigationRuns.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.DetectAgentsClient.ListDetectAgentInvestigationRuns.g.cs @@ -159,7 +159,7 @@ partial void ProcessListDetectAgentInvestigationRunsResponseContent( PrepareListDetectAgentInvestigationRunsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - uuid: uuid!); + uuid: uuid); return __httpRequest; } @@ -181,7 +181,7 @@ partial void ProcessListDetectAgentInvestigationRunsResponseContent( pathTemplate: "$\"/agents/{uuid}/runs\"", 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, @@ -215,7 +215,7 @@ partial void ProcessListDetectAgentInvestigationRunsResponseContent( pathTemplate: "$\"/agents/{uuid}/runs\"", 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, @@ -256,7 +256,7 @@ partial void ProcessListDetectAgentInvestigationRunsResponseContent( pathTemplate: "$\"/agents/{uuid}/runs\"", 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, @@ -304,7 +304,7 @@ partial void ProcessListDetectAgentInvestigationRunsResponseContent( pathTemplate: "$\"/agents/{uuid}/runs\"", 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, @@ -326,7 +326,7 @@ partial void ProcessListDetectAgentInvestigationRunsResponseContent( pathTemplate: "$\"/agents/{uuid}/runs\"", 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/ResembleAI/Generated/ResembleAI.DetectAgentsClient.ListDetectAgents.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.DetectAgentsClient.ListDetectAgents.g.cs index 77a4adb..6ffb6c4 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.DetectAgentsClient.ListDetectAgents.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.DetectAgentsClient.ListDetectAgents.g.cs @@ -174,7 +174,7 @@ partial void ProcessListDetectAgentsResponseContent( pathTemplate: "\"/agents\"", 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, @@ -208,7 +208,7 @@ partial void ProcessListDetectAgentsResponseContent( pathTemplate: "\"/agents\"", 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, @@ -249,7 +249,7 @@ partial void ProcessListDetectAgentsResponseContent( pathTemplate: "\"/agents\"", 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, @@ -297,7 +297,7 @@ partial void ProcessListDetectAgentsResponseContent( pathTemplate: "\"/agents\"", 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, @@ -319,7 +319,7 @@ partial void ProcessListDetectAgentsResponseContent( pathTemplate: "\"/agents\"", 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/ResembleAI/Generated/ResembleAI.DetectAgentsClient.RunDetectAgentInvestigation.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.DetectAgentsClient.RunDetectAgentInvestigation.g.cs index 68f21d8..29432cb 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.DetectAgentsClient.RunDetectAgentInvestigation.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.DetectAgentsClient.RunDetectAgentInvestigation.g.cs @@ -263,7 +263,7 @@ request.Filename is null PrepareRunDetectAgentInvestigationRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - uuid: uuid!, + uuid: uuid, request: request); return __httpRequest; @@ -286,7 +286,7 @@ request.Filename is null pathTemplate: "$\"/agents/{uuid}/run\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -320,7 +320,7 @@ request.Filename is null pathTemplate: "$\"/agents/{uuid}/run\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -361,7 +361,7 @@ request.Filename is null pathTemplate: "$\"/agents/{uuid}/run\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 @@ request.Filename is null pathTemplate: "$\"/agents/{uuid}/run\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -431,7 +431,7 @@ request.Filename is null pathTemplate: "$\"/agents/{uuid}/run\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/ResembleAI/Generated/ResembleAI.DetectIntelligenceClient.AskDetectIntelligenceQuestion.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.DetectIntelligenceClient.AskDetectIntelligenceQuestion.g.cs index 7d78f46..3551b60 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.DetectIntelligenceClient.AskDetectIntelligenceQuestion.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.DetectIntelligenceClient.AskDetectIntelligenceQuestion.g.cs @@ -176,7 +176,7 @@ partial void ProcessAskDetectIntelligenceQuestionResponseContent( PrepareAskDetectIntelligenceQuestionRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - uuid: uuid!, + uuid: uuid, request: request); return __httpRequest; @@ -199,7 +199,7 @@ partial void ProcessAskDetectIntelligenceQuestionResponseContent( pathTemplate: "$\"/detects/{uuid}/intelligence\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -233,7 +233,7 @@ partial void ProcessAskDetectIntelligenceQuestionResponseContent( pathTemplate: "$\"/detects/{uuid}/intelligence\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -274,7 +274,7 @@ partial void ProcessAskDetectIntelligenceQuestionResponseContent( pathTemplate: "$\"/detects/{uuid}/intelligence\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -322,7 +322,7 @@ partial void ProcessAskDetectIntelligenceQuestionResponseContent( pathTemplate: "$\"/detects/{uuid}/intelligence\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -344,7 +344,7 @@ partial void ProcessAskDetectIntelligenceQuestionResponseContent( pathTemplate: "$\"/detects/{uuid}/intelligence\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/ResembleAI/Generated/ResembleAI.DetectIntelligenceClient.GetDetectIntelligenceQuestion.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.DetectIntelligenceClient.GetDetectIntelligenceQuestion.g.cs index 909a9a3..21146fe 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.DetectIntelligenceClient.GetDetectIntelligenceQuestion.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.DetectIntelligenceClient.GetDetectIntelligenceQuestion.g.cs @@ -165,8 +165,8 @@ partial void ProcessGetDetectIntelligenceQuestionResponseContent( PrepareGetDetectIntelligenceQuestionRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - uuid: uuid!, - questionUuid: questionUuid!); + uuid: uuid, + questionUuid: questionUuid); return __httpRequest; } @@ -188,7 +188,7 @@ partial void ProcessGetDetectIntelligenceQuestionResponseContent( pathTemplate: "$\"/detects/{uuid}/intelligence/{questionUuid}\"", 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, @@ -222,7 +222,7 @@ partial void ProcessGetDetectIntelligenceQuestionResponseContent( pathTemplate: "$\"/detects/{uuid}/intelligence/{questionUuid}\"", 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, @@ -263,7 +263,7 @@ partial void ProcessGetDetectIntelligenceQuestionResponseContent( pathTemplate: "$\"/detects/{uuid}/intelligence/{questionUuid}\"", 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, @@ -311,7 +311,7 @@ partial void ProcessGetDetectIntelligenceQuestionResponseContent( pathTemplate: "$\"/detects/{uuid}/intelligence/{questionUuid}\"", 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, @@ -333,7 +333,7 @@ partial void ProcessGetDetectIntelligenceQuestionResponseContent( pathTemplate: "$\"/detects/{uuid}/intelligence/{questionUuid}\"", 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/ResembleAI/Generated/ResembleAI.DuetsClient.CreateDuetVoice.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.DuetsClient.CreateDuetVoice.g.cs index 460167f..ee61556 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.DuetsClient.CreateDuetVoice.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.DuetsClient.CreateDuetVoice.g.cs @@ -238,7 +238,7 @@ request.Audioname is null pathTemplate: "\"/duet_voices\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -272,7 +272,7 @@ request.Audioname is null pathTemplate: "\"/duet_voices\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -313,7 +313,7 @@ request.Audioname is null pathTemplate: "\"/duet_voices\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 @@ request.Audioname is null pathTemplate: "\"/duet_voices\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 @@ request.Audioname is null pathTemplate: "\"/duet_voices\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -718,7 +718,7 @@ request.Audioname is null pathTemplate: "\"/duet_voices\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -752,7 +752,7 @@ request.Audioname is null pathTemplate: "\"/duet_voices\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -793,7 +793,7 @@ request.Audioname is null pathTemplate: "\"/duet_voices\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -841,7 +841,7 @@ request.Audioname is null pathTemplate: "\"/duet_voices\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -863,7 +863,7 @@ request.Audioname is null pathTemplate: "\"/duet_voices\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1149,7 +1149,7 @@ request.Audioname is null pathTemplate: "\"/duet_voices\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -1183,7 +1183,7 @@ request.Audioname is null pathTemplate: "\"/duet_voices\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -1224,7 +1224,7 @@ request.Audioname is null pathTemplate: "\"/duet_voices\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1272,7 +1272,7 @@ request.Audioname is null pathTemplate: "\"/duet_voices\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1294,7 +1294,7 @@ request.Audioname is null pathTemplate: "\"/duet_voices\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/ResembleAI/Generated/ResembleAI.DuetsClient.CreateDuetVoicePair.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.DuetsClient.CreateDuetVoicePair.g.cs index 7d3fd0e..5e73fe9 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.DuetsClient.CreateDuetVoicePair.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.DuetsClient.CreateDuetVoicePair.g.cs @@ -190,7 +190,7 @@ partial void ProcessCreateDuetVoicePairResponseContent( pathTemplate: "\"/duet_voice_pairs\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -224,7 +224,7 @@ partial void ProcessCreateDuetVoicePairResponseContent( pathTemplate: "\"/duet_voice_pairs\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -265,7 +265,7 @@ partial void ProcessCreateDuetVoicePairResponseContent( pathTemplate: "\"/duet_voice_pairs\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -313,7 +313,7 @@ partial void ProcessCreateDuetVoicePairResponseContent( pathTemplate: "\"/duet_voice_pairs\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCreateDuetVoicePairResponseContent( pathTemplate: "\"/duet_voice_pairs\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/ResembleAI/Generated/ResembleAI.DuetsClient.DeleteDuetVoice.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.DuetsClient.DeleteDuetVoice.g.cs index 7ac5cad..0ac8fcc 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.DuetsClient.DeleteDuetVoice.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.DuetsClient.DeleteDuetVoice.g.cs @@ -157,7 +157,7 @@ partial void ProcessDeleteDuetVoiceResponseContent( PrepareDeleteDuetVoiceRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id!); + id: id); return __httpRequest; } @@ -179,7 +179,7 @@ partial void ProcessDeleteDuetVoiceResponseContent( pathTemplate: "$\"/duet_voices/{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, @@ -213,7 +213,7 @@ partial void ProcessDeleteDuetVoiceResponseContent( pathTemplate: "$\"/duet_voices/{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, @@ -254,7 +254,7 @@ partial void ProcessDeleteDuetVoiceResponseContent( pathTemplate: "$\"/duet_voices/{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, @@ -302,7 +302,7 @@ partial void ProcessDeleteDuetVoiceResponseContent( pathTemplate: "$\"/duet_voices/{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, @@ -324,7 +324,7 @@ partial void ProcessDeleteDuetVoiceResponseContent( pathTemplate: "$\"/duet_voices/{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/ResembleAI/Generated/ResembleAI.DuetsClient.GenerateDuet.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.DuetsClient.GenerateDuet.g.cs index 1d94c88..0b18ace 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.DuetsClient.GenerateDuet.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.DuetsClient.GenerateDuet.g.cs @@ -190,7 +190,7 @@ partial void ProcessGenerateDuetResponseContent( pathTemplate: "\"/duet\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -224,7 +224,7 @@ partial void ProcessGenerateDuetResponseContent( pathTemplate: "\"/duet\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -265,7 +265,7 @@ partial void ProcessGenerateDuetResponseContent( pathTemplate: "\"/duet\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -313,7 +313,7 @@ partial void ProcessGenerateDuetResponseContent( pathTemplate: "\"/duet\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGenerateDuetResponseContent( pathTemplate: "\"/duet\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/ResembleAI/Generated/ResembleAI.DuetsClient.ListDuetVoicePairs.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.DuetsClient.ListDuetVoicePairs.g.cs index 052b062..b417748 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.DuetsClient.ListDuetVoicePairs.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.DuetsClient.ListDuetVoicePairs.g.cs @@ -170,7 +170,7 @@ partial void ProcessListDuetVoicePairsResponseContent( pathTemplate: "\"/duet_voice_pairs\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -204,7 +204,7 @@ partial void ProcessListDuetVoicePairsResponseContent( pathTemplate: "\"/duet_voice_pairs\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -245,7 +245,7 @@ partial void ProcessListDuetVoicePairsResponseContent( pathTemplate: "\"/duet_voice_pairs\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -293,7 +293,7 @@ partial void ProcessListDuetVoicePairsResponseContent( pathTemplate: "\"/duet_voice_pairs\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -315,7 +315,7 @@ partial void ProcessListDuetVoicePairsResponseContent( pathTemplate: "\"/duet_voice_pairs\"", 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/ResembleAI/Generated/ResembleAI.DuetsClient.ListDuetVoices.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.DuetsClient.ListDuetVoices.g.cs index 4795bab..49873d5 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.DuetsClient.ListDuetVoices.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.DuetsClient.ListDuetVoices.g.cs @@ -170,7 +170,7 @@ partial void ProcessListDuetVoicesResponseContent( pathTemplate: "\"/duet_voices\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -204,7 +204,7 @@ partial void ProcessListDuetVoicesResponseContent( pathTemplate: "\"/duet_voices\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -245,7 +245,7 @@ partial void ProcessListDuetVoicesResponseContent( pathTemplate: "\"/duet_voices\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -293,7 +293,7 @@ partial void ProcessListDuetVoicesResponseContent( pathTemplate: "\"/duet_voices\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -315,7 +315,7 @@ partial void ProcessListDuetVoicesResponseContent( pathTemplate: "\"/duet_voices\"", 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/ResembleAI/Generated/ResembleAI.DuetsClient.UpdateDuetVoice.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.DuetsClient.UpdateDuetVoice.g.cs index fe55ab3..9ea54fd 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.DuetsClient.UpdateDuetVoice.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.DuetsClient.UpdateDuetVoice.g.cs @@ -176,7 +176,7 @@ partial void ProcessUpdateDuetVoiceResponseContent( PrepareUpdateDuetVoiceRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id!, + id: id, request: request); return __httpRequest; @@ -199,7 +199,7 @@ partial void ProcessUpdateDuetVoiceResponseContent( pathTemplate: "$\"/duet_voices/{id}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -233,7 +233,7 @@ partial void ProcessUpdateDuetVoiceResponseContent( pathTemplate: "$\"/duet_voices/{id}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -274,7 +274,7 @@ partial void ProcessUpdateDuetVoiceResponseContent( pathTemplate: "$\"/duet_voices/{id}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -322,7 +322,7 @@ partial void ProcessUpdateDuetVoiceResponseContent( pathTemplate: "$\"/duet_voices/{id}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -344,7 +344,7 @@ partial void ProcessUpdateDuetVoiceResponseContent( pathTemplate: "$\"/duet_voices/{id}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + 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/ResembleAI/Generated/ResembleAI.IdentityClient.CreateIdentity.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.IdentityClient.CreateIdentity.g.cs index 16c0ed8..62725a2 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.IdentityClient.CreateIdentity.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.IdentityClient.CreateIdentity.g.cs @@ -188,7 +188,7 @@ partial void ProcessCreateIdentityResponseContent( pathTemplate: "\"/identity\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -222,7 +222,7 @@ partial void ProcessCreateIdentityResponseContent( pathTemplate: "\"/identity\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -263,7 +263,7 @@ partial void ProcessCreateIdentityResponseContent( pathTemplate: "\"/identity\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -311,7 +311,7 @@ partial void ProcessCreateIdentityResponseContent( pathTemplate: "\"/identity\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCreateIdentityResponseContent( pathTemplate: "\"/identity\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/ResembleAI/Generated/ResembleAI.IdentityClient.CreateIdentityAttachment.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.IdentityClient.CreateIdentityAttachment.g.cs index 3b9ff75..55e82d8 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.IdentityClient.CreateIdentityAttachment.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.IdentityClient.CreateIdentityAttachment.g.cs @@ -216,7 +216,7 @@ request.Filename is null PrepareCreateIdentityAttachmentRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - uuid: uuid!, + uuid: uuid, request: request); return __httpRequest; @@ -239,7 +239,7 @@ request.Filename is null pathTemplate: "$\"/identity/{uuid}/attachments\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -273,7 +273,7 @@ request.Filename is null pathTemplate: "$\"/identity/{uuid}/attachments\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -314,7 +314,7 @@ request.Filename is null pathTemplate: "$\"/identity/{uuid}/attachments\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -362,7 +362,7 @@ request.Filename is null pathTemplate: "$\"/identity/{uuid}/attachments\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -384,7 +384,7 @@ request.Filename is null pathTemplate: "$\"/identity/{uuid}/attachments\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -792,7 +792,7 @@ request.Filename is null PrepareCreateIdentityAttachmentRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - uuid: uuid!, + uuid: uuid, request: request); return __httpRequest; @@ -815,7 +815,7 @@ request.Filename is null pathTemplate: "$\"/identity/{uuid}/attachments\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -849,7 +849,7 @@ request.Filename is null pathTemplate: "$\"/identity/{uuid}/attachments\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -890,7 +890,7 @@ request.Filename is null pathTemplate: "$\"/identity/{uuid}/attachments\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -938,7 +938,7 @@ request.Filename is null pathTemplate: "$\"/identity/{uuid}/attachments\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -960,7 +960,7 @@ request.Filename is null pathTemplate: "$\"/identity/{uuid}/attachments\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1323,7 +1323,7 @@ request.Filename is null PrepareCreateIdentityAttachmentRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - uuid: uuid!, + uuid: uuid, request: request); return __httpRequest; @@ -1346,7 +1346,7 @@ request.Filename is null pathTemplate: "$\"/identity/{uuid}/attachments\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -1380,7 +1380,7 @@ request.Filename is null pathTemplate: "$\"/identity/{uuid}/attachments\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -1421,7 +1421,7 @@ request.Filename is null pathTemplate: "$\"/identity/{uuid}/attachments\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1469,7 +1469,7 @@ request.Filename is null pathTemplate: "$\"/identity/{uuid}/attachments\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1491,7 +1491,7 @@ request.Filename is null pathTemplate: "$\"/identity/{uuid}/attachments\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/ResembleAI/Generated/ResembleAI.IdentityClient.DeleteIdentity.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.IdentityClient.DeleteIdentity.g.cs index 67f5b94..aa30688 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.IdentityClient.DeleteIdentity.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.IdentityClient.DeleteIdentity.g.cs @@ -157,7 +157,7 @@ partial void ProcessDeleteIdentityResponseContent( PrepareDeleteIdentityRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - uuid: uuid!); + uuid: uuid); return __httpRequest; } @@ -179,7 +179,7 @@ partial void ProcessDeleteIdentityResponseContent( pathTemplate: "$\"/identity/{uuid}\"", 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, @@ -213,7 +213,7 @@ partial void ProcessDeleteIdentityResponseContent( pathTemplate: "$\"/identity/{uuid}\"", 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, @@ -254,7 +254,7 @@ partial void ProcessDeleteIdentityResponseContent( pathTemplate: "$\"/identity/{uuid}\"", 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, @@ -302,7 +302,7 @@ partial void ProcessDeleteIdentityResponseContent( pathTemplate: "$\"/identity/{uuid}\"", 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, @@ -324,7 +324,7 @@ partial void ProcessDeleteIdentityResponseContent( pathTemplate: "$\"/identity/{uuid}\"", 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/ResembleAI/Generated/ResembleAI.IdentityClient.DeleteIdentityAttachment.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.IdentityClient.DeleteIdentityAttachment.g.cs index 2bb0c40..6697ad6 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.IdentityClient.DeleteIdentityAttachment.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.IdentityClient.DeleteIdentityAttachment.g.cs @@ -165,8 +165,8 @@ partial void ProcessDeleteIdentityAttachmentResponseContent( PrepareDeleteIdentityAttachmentRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - uuid: uuid!, - attachmentId: attachmentId!); + uuid: uuid, + attachmentId: attachmentId); return __httpRequest; } @@ -188,7 +188,7 @@ partial void ProcessDeleteIdentityAttachmentResponseContent( pathTemplate: "$\"/identity/{uuid}/attachments/{attachmentId}\"", 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, @@ -222,7 +222,7 @@ partial void ProcessDeleteIdentityAttachmentResponseContent( pathTemplate: "$\"/identity/{uuid}/attachments/{attachmentId}\"", 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, @@ -263,7 +263,7 @@ partial void ProcessDeleteIdentityAttachmentResponseContent( pathTemplate: "$\"/identity/{uuid}/attachments/{attachmentId}\"", 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, @@ -311,7 +311,7 @@ partial void ProcessDeleteIdentityAttachmentResponseContent( pathTemplate: "$\"/identity/{uuid}/attachments/{attachmentId}\"", 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, @@ -333,7 +333,7 @@ partial void ProcessDeleteIdentityAttachmentResponseContent( pathTemplate: "$\"/identity/{uuid}/attachments/{attachmentId}\"", 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/ResembleAI/Generated/ResembleAI.IdentityClient.ListIdentities.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.IdentityClient.ListIdentities.g.cs index 97e9d25..b44411e 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.IdentityClient.ListIdentities.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.IdentityClient.ListIdentities.g.cs @@ -210,7 +210,7 @@ partial void ProcessListIdentitiesResponseContent( pathTemplate: "\"/identity\"", 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, @@ -244,7 +244,7 @@ partial void ProcessListIdentitiesResponseContent( pathTemplate: "\"/identity\"", 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, @@ -285,7 +285,7 @@ partial void ProcessListIdentitiesResponseContent( pathTemplate: "\"/identity\"", 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, @@ -333,7 +333,7 @@ partial void ProcessListIdentitiesResponseContent( pathTemplate: "\"/identity\"", 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, @@ -355,7 +355,7 @@ partial void ProcessListIdentitiesResponseContent( pathTemplate: "\"/identity\"", 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/ResembleAI/Generated/ResembleAI.IdentityClient.SearchIdentities.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.IdentityClient.SearchIdentities.g.cs index 786c6d3..a28e50b 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.IdentityClient.SearchIdentities.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.IdentityClient.SearchIdentities.g.cs @@ -190,7 +190,7 @@ partial void ProcessSearchIdentitiesResponseContent( pathTemplate: "\"/identity/search\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -224,7 +224,7 @@ partial void ProcessSearchIdentitiesResponseContent( pathTemplate: "\"/identity/search\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -265,7 +265,7 @@ partial void ProcessSearchIdentitiesResponseContent( pathTemplate: "\"/identity/search\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -313,7 +313,7 @@ partial void ProcessSearchIdentitiesResponseContent( pathTemplate: "\"/identity/search\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -335,7 +335,7 @@ partial void ProcessSearchIdentitiesResponseContent( pathTemplate: "\"/identity/search\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/ResembleAI/Generated/ResembleAI.IntelligenceClient.GetIntelligence.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.IntelligenceClient.GetIntelligence.g.cs index c45cd3c..30ae0ff 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.IntelligenceClient.GetIntelligence.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.IntelligenceClient.GetIntelligence.g.cs @@ -157,7 +157,7 @@ partial void ProcessGetIntelligenceResponseContent( PrepareGetIntelligenceRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - uuid: uuid!); + uuid: uuid); return __httpRequest; } @@ -179,7 +179,7 @@ partial void ProcessGetIntelligenceResponseContent( pathTemplate: "$\"/intelligences/{uuid}\"", 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, @@ -213,7 +213,7 @@ partial void ProcessGetIntelligenceResponseContent( pathTemplate: "$\"/intelligences/{uuid}\"", 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, @@ -254,7 +254,7 @@ partial void ProcessGetIntelligenceResponseContent( pathTemplate: "$\"/intelligences/{uuid}\"", 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, @@ -302,7 +302,7 @@ partial void ProcessGetIntelligenceResponseContent( pathTemplate: "$\"/intelligences/{uuid}\"", 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 ProcessGetIntelligenceResponseContent( pathTemplate: "$\"/intelligences/{uuid}\"", 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/ResembleAI/Generated/ResembleAI.IntelligenceClient.ListIntelligences.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.IntelligenceClient.ListIntelligences.g.cs index 6023cee..783c5c4 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.IntelligenceClient.ListIntelligences.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.IntelligenceClient.ListIntelligences.g.cs @@ -130,7 +130,7 @@ partial void ProcessListIntelligencesResponseContent( servers: s_ListIntelligencesServers, defaultBaseUrl: "https://app.resemble.ai/api/v2")); __pathBuilder - .AddRequiredParameter("page", page.ToString()!) + .AddRequiredParameter("page", page.ToString() ?? throw new global::System.InvalidOperationException("A required query parameter returned null from ToString().")) .AddOptionalParameter("page_size", pageSize?.ToString()) ; var __path = __pathBuilder.ToString(); @@ -173,7 +173,7 @@ partial void ProcessListIntelligencesResponseContent( PrepareListIntelligencesRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - page: page!, + page: page, pageSize: pageSize); return __httpRequest; @@ -196,7 +196,7 @@ partial void ProcessListIntelligencesResponseContent( pathTemplate: "\"/intelligences\"", 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, @@ -230,7 +230,7 @@ partial void ProcessListIntelligencesResponseContent( pathTemplate: "\"/intelligences\"", 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, @@ -271,7 +271,7 @@ partial void ProcessListIntelligencesResponseContent( pathTemplate: "\"/intelligences\"", 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, @@ -319,7 +319,7 @@ partial void ProcessListIntelligencesResponseContent( pathTemplate: "\"/intelligences\"", 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, @@ -341,7 +341,7 @@ partial void ProcessListIntelligencesResponseContent( pathTemplate: "\"/intelligences\"", 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/ResembleAI/Generated/ResembleAI.IntelligenceClient.RunIntelligence.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.IntelligenceClient.RunIntelligence.g.cs index f121954..029ba74 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.IntelligenceClient.RunIntelligence.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.IntelligenceClient.RunIntelligence.g.cs @@ -190,7 +190,7 @@ partial void ProcessRunIntelligenceResponseContent( pathTemplate: "\"/intelligence\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -224,7 +224,7 @@ partial void ProcessRunIntelligenceResponseContent( pathTemplate: "\"/intelligence\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -265,7 +265,7 @@ partial void ProcessRunIntelligenceResponseContent( pathTemplate: "\"/intelligence\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -313,7 +313,7 @@ partial void ProcessRunIntelligenceResponseContent( pathTemplate: "\"/intelligence\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessRunIntelligenceResponseContent( pathTemplate: "\"/intelligence\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/ResembleAI/Generated/ResembleAI.JsonConverters.ChangeBillingPlanRequestUnprocessableEntityError.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.ChangeBillingPlanRequestUnprocessableEntityError.g.cs index c4aa2b7..319cbf3 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.ChangeBillingPlanRequestUnprocessableEntityError.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.ChangeBillingPlanRequestUnprocessableEntityError.g.cs @@ -128,13 +128,13 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::ResembleAI.BillingError), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::ResembleAI.BillingError).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.BillingError!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBillingError(), typeInfo); } else if (value.IsBillingValidationErrors) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::ResembleAI.BillingValidationErrors), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::ResembleAI.BillingValidationErrors).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.BillingValidationErrors!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBillingValidationErrors(), typeInfo); } } } diff --git a/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.ConfirmBillingSubscriptionPaymentRequestUnprocessableEntityError.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.ConfirmBillingSubscriptionPaymentRequestUnprocessableEntityError.g.cs index caf70e5..261d66a 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.ConfirmBillingSubscriptionPaymentRequestUnprocessableEntityError.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.ConfirmBillingSubscriptionPaymentRequestUnprocessableEntityError.g.cs @@ -128,13 +128,13 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::ResembleAI.BillingError), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::ResembleAI.BillingError).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.BillingError!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBillingError(), typeInfo); } else if (value.IsBillingValidationErrors) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::ResembleAI.BillingValidationErrors), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::ResembleAI.BillingValidationErrors).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.BillingValidationErrors!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBillingValidationErrors(), typeInfo); } } } diff --git a/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectIntelligenceResultDescription.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectIntelligenceResultDescription.g.cs index 1d2b78a..4199e66 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectIntelligenceResultDescription.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectIntelligenceResultDescription.g.cs @@ -156,13 +156,13 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(string), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(string).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.DetectIntelligenceResultDescriptionVariant1!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickDetectIntelligenceResultDescriptionVariant1(), typeInfo); } else if (value.IsDetectIntelligenceResultDescription1) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::ResembleAI.DetectIntelligenceResultDescription1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::ResembleAI.DetectIntelligenceResultDescription1).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.DetectIntelligenceResultDescription1!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickDetectIntelligenceResultDescription1(), typeInfo); } } } diff --git a/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription.g.cs index 70f2d23..aa063ea 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription.g.cs @@ -156,13 +156,13 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(string), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(string).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickDetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1(), typeInfo); } else if (value.IsDetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription1) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription1).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription1!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickDetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription1(), typeInfo); } } } diff --git a/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence.g.cs index fd305bc..2203ebf 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence.g.cs @@ -132,13 +132,13 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::ResembleAI.DetectIntelligenceResult), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::ResembleAI.DetectIntelligenceResult).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.DetectIntelligenceResult!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickDetectIntelligenceResult(), typeInfo); } else if (value.IsDetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.Collections.Generic.IList), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.Collections.Generic.IList).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickDetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1(), typeInfo); } } } diff --git a/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectWatermarkAnalysisMetrics.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectWatermarkAnalysisMetrics.g.cs index fd38542..a0a5f07 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectWatermarkAnalysisMetrics.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.DetectWatermarkAnalysisMetrics.g.cs @@ -140,13 +140,13 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::ResembleAI.WatermarkAudioDetectionMetrics), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::ResembleAI.WatermarkAudioDetectionMetrics).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.WatermarkAudioDetectionMetrics!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickWatermarkAudioDetectionMetrics(), typeInfo); } else if (value.IsWatermarkVisionDetectionMetrics) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::ResembleAI.WatermarkVisionDetectionMetrics), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::ResembleAI.WatermarkVisionDetectionMetrics).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.WatermarkVisionDetectionMetrics!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickWatermarkVisionDetectionMetrics(), typeInfo); } } } diff --git a/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.IdentityCreateIdentityRequest.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.IdentityCreateIdentityRequest.g.cs index d9bfe92..64ea7d5 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.IdentityCreateIdentityRequest.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.IdentityCreateIdentityRequest.g.cs @@ -142,13 +142,13 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::ResembleAI.IdentityCreateIdentityRequest0), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::ResembleAI.IdentityCreateIdentityRequest0).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.IdentityCreateIdentityRequest0!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickIdentityCreateIdentityRequest0(), typeInfo); } else if (value.IsIdentityCreateIdentityRequest1) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::ResembleAI.IdentityCreateIdentityRequest1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::ResembleAI.IdentityCreateIdentityRequest1).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.IdentityCreateIdentityRequest1!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickIdentityCreateIdentityRequest1(), typeInfo); } } } diff --git a/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.UpdateBillingAutoReloadRequestUnprocessableEntityError.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.UpdateBillingAutoReloadRequestUnprocessableEntityError.g.cs index eb913a3..f1608c5 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.UpdateBillingAutoReloadRequestUnprocessableEntityError.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.UpdateBillingAutoReloadRequestUnprocessableEntityError.g.cs @@ -128,13 +128,13 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::ResembleAI.BillingError), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::ResembleAI.BillingError).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.BillingError!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBillingError(), typeInfo); } else if (value.IsBillingValidationErrors) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::ResembleAI.BillingValidationErrors), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::ResembleAI.BillingValidationErrors).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.BillingValidationErrors!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBillingValidationErrors(), typeInfo); } } } diff --git a/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.UpdateBillingSubscriptionProductsRequestUnprocessableEntityError.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.UpdateBillingSubscriptionProductsRequestUnprocessableEntityError.g.cs index c6249f5..982db80 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.UpdateBillingSubscriptionProductsRequestUnprocessableEntityError.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.UpdateBillingSubscriptionProductsRequestUnprocessableEntityError.g.cs @@ -128,13 +128,13 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::ResembleAI.BillingError), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::ResembleAI.BillingError).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.BillingError!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBillingError(), typeInfo); } else if (value.IsBillingValidationErrors) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::ResembleAI.BillingValidationErrors), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::ResembleAI.BillingValidationErrors).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.BillingValidationErrors!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBillingValidationErrors(), typeInfo); } } } diff --git a/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.WatermarkDetectItemMetrics.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.WatermarkDetectItemMetrics.g.cs index fb549bc..cc2646e 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.WatermarkDetectItemMetrics.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.JsonConverters.WatermarkDetectItemMetrics.g.cs @@ -140,13 +140,13 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::ResembleAI.WatermarkAudioDetectionMetrics), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::ResembleAI.WatermarkAudioDetectionMetrics).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.WatermarkAudioDetectionMetrics!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickWatermarkAudioDetectionMetrics(), typeInfo); } else if (value.IsWatermarkVisionDetectionMetrics) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::ResembleAI.WatermarkVisionDetectionMetrics), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::ResembleAI.WatermarkVisionDetectionMetrics).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.WatermarkVisionDetectionMetrics!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickWatermarkVisionDetectionMetrics(), typeInfo); } } } diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.ChangeBillingPlanRequestUnprocessableEntityError.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.ChangeBillingPlanRequestUnprocessableEntityError.g.cs index 0492aab..e89d8be 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.ChangeBillingPlanRequestUnprocessableEntityError.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.ChangeBillingPlanRequestUnprocessableEntityError.g.cs @@ -42,8 +42,8 @@ public bool TryPickBillingError( /// /// /// - public global::ResembleAI.BillingError PickBillingError() => IsBillingError - ? BillingError! + public global::ResembleAI.BillingError PickBillingError() => BillingError is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'BillingError' but the value was {ToString()}."); /// @@ -79,8 +79,8 @@ public bool TryPickBillingValidationErrors( /// /// /// - public global::ResembleAI.BillingValidationErrors PickBillingValidationErrors() => IsBillingValidationErrors - ? BillingValidationErrors! + public global::ResembleAI.BillingValidationErrors PickBillingValidationErrors() => BillingValidationErrors is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'BillingValidationErrors' but the value was {ToString()}."); /// /// @@ -177,13 +177,13 @@ public bool Validate() Validate(); } - if (IsBillingError && billingError != null) + if (BillingError is { } __value0 && billingError != null) { - return billingError(BillingError!); + return billingError(__value0); } - else if (IsBillingValidationErrors && billingValidationErrors != null) + else if (BillingValidationErrors is { } __value1 && billingValidationErrors != null) { - return billingValidationErrors(BillingValidationErrors!); + return billingValidationErrors(__value1); } return default(TResult); @@ -203,13 +203,13 @@ public void Match( Validate(); } - if (IsBillingError) + if (BillingError is { } __value0) { - billingError?.Invoke(BillingError!); + billingError?.Invoke(__value0); } - else if (IsBillingValidationErrors) + else if (BillingValidationErrors is { } __value1) { - billingValidationErrors?.Invoke(BillingValidationErrors!); + billingValidationErrors?.Invoke(__value1); } } @@ -226,13 +226,13 @@ public void Switch( Validate(); } - if (IsBillingError) + if (BillingError is { } __value0) { - billingError?.Invoke(BillingError!); + billingError?.Invoke(__value0); } - else if (IsBillingValidationErrors) + else if (BillingValidationErrors is { } __value1) { - billingValidationErrors?.Invoke(BillingValidationErrors!); + billingValidationErrors?.Invoke(__value1); } } diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.ConfirmBillingSubscriptionPaymentRequestUnprocessableEntityError.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.ConfirmBillingSubscriptionPaymentRequestUnprocessableEntityError.g.cs index 10f9ae8..c85480d 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.ConfirmBillingSubscriptionPaymentRequestUnprocessableEntityError.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.ConfirmBillingSubscriptionPaymentRequestUnprocessableEntityError.g.cs @@ -42,8 +42,8 @@ public bool TryPickBillingError( /// /// /// - public global::ResembleAI.BillingError PickBillingError() => IsBillingError - ? BillingError! + public global::ResembleAI.BillingError PickBillingError() => BillingError is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'BillingError' but the value was {ToString()}."); /// @@ -79,8 +79,8 @@ public bool TryPickBillingValidationErrors( /// /// /// - public global::ResembleAI.BillingValidationErrors PickBillingValidationErrors() => IsBillingValidationErrors - ? BillingValidationErrors! + public global::ResembleAI.BillingValidationErrors PickBillingValidationErrors() => BillingValidationErrors is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'BillingValidationErrors' but the value was {ToString()}."); /// /// @@ -177,13 +177,13 @@ public bool Validate() Validate(); } - if (IsBillingError && billingError != null) + if (BillingError is { } __value0 && billingError != null) { - return billingError(BillingError!); + return billingError(__value0); } - else if (IsBillingValidationErrors && billingValidationErrors != null) + else if (BillingValidationErrors is { } __value1 && billingValidationErrors != null) { - return billingValidationErrors(BillingValidationErrors!); + return billingValidationErrors(__value1); } return default(TResult); @@ -203,13 +203,13 @@ public void Match( Validate(); } - if (IsBillingError) + if (BillingError is { } __value0) { - billingError?.Invoke(BillingError!); + billingError?.Invoke(__value0); } - else if (IsBillingValidationErrors) + else if (BillingValidationErrors is { } __value1) { - billingValidationErrors?.Invoke(BillingValidationErrors!); + billingValidationErrors?.Invoke(__value1); } } @@ -226,13 +226,13 @@ public void Switch( Validate(); } - if (IsBillingError) + if (BillingError is { } __value0) { - billingError?.Invoke(BillingError!); + billingError?.Invoke(__value0); } - else if (IsBillingValidationErrors) + else if (BillingValidationErrors is { } __value1) { - billingValidationErrors?.Invoke(BillingValidationErrors!); + billingValidationErrors?.Invoke(__value1); } } diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectIntelligenceResultDescription.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectIntelligenceResultDescription.g.cs index e1a77af..2bea520 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectIntelligenceResultDescription.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectIntelligenceResultDescription.g.cs @@ -42,8 +42,8 @@ public bool TryPickDetectIntelligenceResultDescriptionVariant1( /// /// /// - public string PickDetectIntelligenceResultDescriptionVariant1() => IsDetectIntelligenceResultDescriptionVariant1 - ? DetectIntelligenceResultDescriptionVariant1! + public string PickDetectIntelligenceResultDescriptionVariant1() => DetectIntelligenceResultDescriptionVariant1 is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'DetectIntelligenceResultDescriptionVariant1' but the value was {ToString()}."); /// @@ -79,8 +79,8 @@ public bool TryPickDetectIntelligenceResultDescription1( /// /// /// - public global::ResembleAI.DetectIntelligenceResultDescription1 PickDetectIntelligenceResultDescription1() => IsDetectIntelligenceResultDescription1 - ? DetectIntelligenceResultDescription1! + public global::ResembleAI.DetectIntelligenceResultDescription1 PickDetectIntelligenceResultDescription1() => DetectIntelligenceResultDescription1 is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'DetectIntelligenceResultDescription1' but the value was {ToString()}."); /// /// @@ -177,13 +177,13 @@ public bool Validate() Validate(); } - if (IsDetectIntelligenceResultDescriptionVariant1 && detectIntelligenceResultDescriptionVariant1 != null) + if (DetectIntelligenceResultDescriptionVariant1 is { } __value0 && detectIntelligenceResultDescriptionVariant1 != null) { - return detectIntelligenceResultDescriptionVariant1(DetectIntelligenceResultDescriptionVariant1!); + return detectIntelligenceResultDescriptionVariant1(__value0); } - else if (IsDetectIntelligenceResultDescription1 && detectIntelligenceResultDescription1 != null) + else if (DetectIntelligenceResultDescription1 is { } __value1 && detectIntelligenceResultDescription1 != null) { - return detectIntelligenceResultDescription1(DetectIntelligenceResultDescription1!); + return detectIntelligenceResultDescription1(__value1); } return default(TResult); @@ -203,13 +203,13 @@ public void Match( Validate(); } - if (IsDetectIntelligenceResultDescriptionVariant1) + if (DetectIntelligenceResultDescriptionVariant1 is { } __value0) { - detectIntelligenceResultDescriptionVariant1?.Invoke(DetectIntelligenceResultDescriptionVariant1!); + detectIntelligenceResultDescriptionVariant1?.Invoke(__value0); } - else if (IsDetectIntelligenceResultDescription1) + else if (DetectIntelligenceResultDescription1 is { } __value1) { - detectIntelligenceResultDescription1?.Invoke(DetectIntelligenceResultDescription1!); + detectIntelligenceResultDescription1?.Invoke(__value1); } } @@ -226,13 +226,13 @@ public void Switch( Validate(); } - if (IsDetectIntelligenceResultDescriptionVariant1) + if (DetectIntelligenceResultDescriptionVariant1 is { } __value0) { - detectIntelligenceResultDescriptionVariant1?.Invoke(DetectIntelligenceResultDescriptionVariant1!); + detectIntelligenceResultDescriptionVariant1?.Invoke(__value0); } - else if (IsDetectIntelligenceResultDescription1) + else if (DetectIntelligenceResultDescription1 is { } __value1) { - detectIntelligenceResultDescription1?.Invoke(DetectIntelligenceResultDescription1!); + detectIntelligenceResultDescription1?.Invoke(__value1); } } diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription.g.cs index 1b2591e..5fac424 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription.g.cs @@ -42,8 +42,8 @@ public bool TryPickDetectPostResponsesContentApplicationJsonSchemaItemIntelligen /// /// /// - public string PickDetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1() => IsDetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1 - ? DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1! + public string PickDetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1() => DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1 is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1' but the value was {ToString()}."); /// @@ -79,8 +79,8 @@ public bool TryPickDetectPostResponsesContentApplicationJsonSchemaItemIntelligen /// /// /// - public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription1 PickDetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription1() => IsDetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription1 - ? DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription1! + public global::ResembleAI.DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription1 PickDetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription1() => DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription1 is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription1' but the value was {ToString()}."); /// /// @@ -177,13 +177,13 @@ public bool Validate() Validate(); } - if (IsDetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1 && detectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1 != null) + if (DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1 is { } __value0 && detectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1 != null) { - return detectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1(DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1!); + return detectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1(__value0); } - else if (IsDetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription1 && detectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription1 != null) + else if (DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription1 is { } __value1 && detectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription1 != null) { - return detectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription1(DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription1!); + return detectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription1(__value1); } return default(TResult); @@ -203,13 +203,13 @@ public void Match( Validate(); } - if (IsDetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1) + if (DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1 is { } __value0) { - detectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1?.Invoke(DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1!); + detectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1?.Invoke(__value0); } - else if (IsDetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription1) + else if (DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription1 is { } __value1) { - detectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription1?.Invoke(DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription1!); + detectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription1?.Invoke(__value1); } } @@ -226,13 +226,13 @@ public void Switch( Validate(); } - if (IsDetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1) + if (DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1 is { } __value0) { - detectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1?.Invoke(DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1!); + detectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescriptionVariant1?.Invoke(__value0); } - else if (IsDetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription1) + else if (DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription1 is { } __value1) { - detectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription1?.Invoke(DetectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription1!); + detectPostResponsesContentApplicationJsonSchemaItemIntelligenceDescription1?.Invoke(__value1); } } diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence.g.cs index 529df87..8739253 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence.g.cs @@ -42,8 +42,8 @@ public bool TryPickDetectIntelligenceResult( /// /// /// - public global::ResembleAI.DetectIntelligenceResult PickDetectIntelligenceResult() => IsDetectIntelligenceResult - ? DetectIntelligenceResult! + public global::ResembleAI.DetectIntelligenceResult PickDetectIntelligenceResult() => DetectIntelligenceResult is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'DetectIntelligenceResult' but the value was {ToString()}."); /// @@ -79,8 +79,8 @@ public bool TryPickDetectUuidGetResponsesContentApplicationJsonSchemaItemIntelli /// /// /// - public global::System.Collections.Generic.IList PickDetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1() => IsDetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1 - ? DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1! + public global::System.Collections.Generic.IList PickDetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1() => DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1 is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1' but the value was {ToString()}."); /// /// @@ -154,13 +154,13 @@ public bool Validate() Validate(); } - if (IsDetectIntelligenceResult && detectIntelligenceResult != null) + if (DetectIntelligenceResult is { } __value0 && detectIntelligenceResult != null) { - return detectIntelligenceResult(DetectIntelligenceResult!); + return detectIntelligenceResult(__value0); } - else if (IsDetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1 && detectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1 != null) + else if (DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1 is { } __value1 && detectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1 != null) { - return detectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1(DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1!); + return detectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1(__value1); } return default(TResult); @@ -180,13 +180,13 @@ public void Match( Validate(); } - if (IsDetectIntelligenceResult) + if (DetectIntelligenceResult is { } __value0) { - detectIntelligenceResult?.Invoke(DetectIntelligenceResult!); + detectIntelligenceResult?.Invoke(__value0); } - else if (IsDetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1) + else if (DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1 is { } __value1) { - detectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1?.Invoke(DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1!); + detectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1?.Invoke(__value1); } } @@ -203,13 +203,13 @@ public void Switch( Validate(); } - if (IsDetectIntelligenceResult) + if (DetectIntelligenceResult is { } __value0) { - detectIntelligenceResult?.Invoke(DetectIntelligenceResult!); + detectIntelligenceResult?.Invoke(__value0); } - else if (IsDetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1) + else if (DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1 is { } __value1) { - detectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1?.Invoke(DetectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1!); + detectUuidGetResponsesContentApplicationJsonSchemaItemIntelligence1?.Invoke(__value1); } } diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectWatermarkAnalysisMetrics.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectWatermarkAnalysisMetrics.g.cs index eb06c37..060294f 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectWatermarkAnalysisMetrics.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.DetectWatermarkAnalysisMetrics.g.cs @@ -42,8 +42,8 @@ public bool TryPickWatermarkAudioDetectionMetrics( /// /// /// - public global::ResembleAI.WatermarkAudioDetectionMetrics PickWatermarkAudioDetectionMetrics() => IsWatermarkAudioDetectionMetrics - ? WatermarkAudioDetectionMetrics! + public global::ResembleAI.WatermarkAudioDetectionMetrics PickWatermarkAudioDetectionMetrics() => WatermarkAudioDetectionMetrics is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'WatermarkAudioDetectionMetrics' but the value was {ToString()}."); /// @@ -79,8 +79,8 @@ public bool TryPickWatermarkVisionDetectionMetrics( /// /// /// - public global::ResembleAI.WatermarkVisionDetectionMetrics PickWatermarkVisionDetectionMetrics() => IsWatermarkVisionDetectionMetrics - ? WatermarkVisionDetectionMetrics! + public global::ResembleAI.WatermarkVisionDetectionMetrics PickWatermarkVisionDetectionMetrics() => WatermarkVisionDetectionMetrics is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'WatermarkVisionDetectionMetrics' but the value was {ToString()}."); /// /// @@ -177,13 +177,13 @@ public bool Validate() Validate(); } - if (IsWatermarkAudioDetectionMetrics && watermarkAudioDetectionMetrics != null) + if (WatermarkAudioDetectionMetrics is { } __value0 && watermarkAudioDetectionMetrics != null) { - return watermarkAudioDetectionMetrics(WatermarkAudioDetectionMetrics!); + return watermarkAudioDetectionMetrics(__value0); } - else if (IsWatermarkVisionDetectionMetrics && watermarkVisionDetectionMetrics != null) + else if (WatermarkVisionDetectionMetrics is { } __value1 && watermarkVisionDetectionMetrics != null) { - return watermarkVisionDetectionMetrics(WatermarkVisionDetectionMetrics!); + return watermarkVisionDetectionMetrics(__value1); } return default(TResult); @@ -203,13 +203,13 @@ public void Match( Validate(); } - if (IsWatermarkAudioDetectionMetrics) + if (WatermarkAudioDetectionMetrics is { } __value0) { - watermarkAudioDetectionMetrics?.Invoke(WatermarkAudioDetectionMetrics!); + watermarkAudioDetectionMetrics?.Invoke(__value0); } - else if (IsWatermarkVisionDetectionMetrics) + else if (WatermarkVisionDetectionMetrics is { } __value1) { - watermarkVisionDetectionMetrics?.Invoke(WatermarkVisionDetectionMetrics!); + watermarkVisionDetectionMetrics?.Invoke(__value1); } } @@ -226,13 +226,13 @@ public void Switch( Validate(); } - if (IsWatermarkAudioDetectionMetrics) + if (WatermarkAudioDetectionMetrics is { } __value0) { - watermarkAudioDetectionMetrics?.Invoke(WatermarkAudioDetectionMetrics!); + watermarkAudioDetectionMetrics?.Invoke(__value0); } - else if (IsWatermarkVisionDetectionMetrics) + else if (WatermarkVisionDetectionMetrics is { } __value1) { - watermarkVisionDetectionMetrics?.Invoke(WatermarkVisionDetectionMetrics!); + watermarkVisionDetectionMetrics?.Invoke(__value1); } } diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.IdentityCreateIdentityRequest.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.IdentityCreateIdentityRequest.g.cs index e808e71..ebf3444 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.IdentityCreateIdentityRequest.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.IdentityCreateIdentityRequest.g.cs @@ -42,8 +42,8 @@ public bool TryPickIdentityCreateIdentityRequest0( /// /// /// - public global::ResembleAI.IdentityCreateIdentityRequest0 PickIdentityCreateIdentityRequest0() => IsIdentityCreateIdentityRequest0 - ? IdentityCreateIdentityRequest0! + public global::ResembleAI.IdentityCreateIdentityRequest0 PickIdentityCreateIdentityRequest0() => IdentityCreateIdentityRequest0 is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'IdentityCreateIdentityRequest0' but the value was {ToString()}."); /// @@ -79,8 +79,8 @@ public bool TryPickIdentityCreateIdentityRequest1( /// /// /// - public global::ResembleAI.IdentityCreateIdentityRequest1 PickIdentityCreateIdentityRequest1() => IsIdentityCreateIdentityRequest1 - ? IdentityCreateIdentityRequest1! + public global::ResembleAI.IdentityCreateIdentityRequest1 PickIdentityCreateIdentityRequest1() => IdentityCreateIdentityRequest1 is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'IdentityCreateIdentityRequest1' but the value was {ToString()}."); /// /// @@ -177,13 +177,13 @@ public bool Validate() Validate(); } - if (IsIdentityCreateIdentityRequest0 && identityCreateIdentityRequest0 != null) + if (IdentityCreateIdentityRequest0 is { } __value0 && identityCreateIdentityRequest0 != null) { - return identityCreateIdentityRequest0(IdentityCreateIdentityRequest0!); + return identityCreateIdentityRequest0(__value0); } - else if (IsIdentityCreateIdentityRequest1 && identityCreateIdentityRequest1 != null) + else if (IdentityCreateIdentityRequest1 is { } __value1 && identityCreateIdentityRequest1 != null) { - return identityCreateIdentityRequest1(IdentityCreateIdentityRequest1!); + return identityCreateIdentityRequest1(__value1); } return default(TResult); @@ -203,13 +203,13 @@ public void Match( Validate(); } - if (IsIdentityCreateIdentityRequest0) + if (IdentityCreateIdentityRequest0 is { } __value0) { - identityCreateIdentityRequest0?.Invoke(IdentityCreateIdentityRequest0!); + identityCreateIdentityRequest0?.Invoke(__value0); } - else if (IsIdentityCreateIdentityRequest1) + else if (IdentityCreateIdentityRequest1 is { } __value1) { - identityCreateIdentityRequest1?.Invoke(IdentityCreateIdentityRequest1!); + identityCreateIdentityRequest1?.Invoke(__value1); } } @@ -226,13 +226,13 @@ public void Switch( Validate(); } - if (IsIdentityCreateIdentityRequest0) + if (IdentityCreateIdentityRequest0 is { } __value0) { - identityCreateIdentityRequest0?.Invoke(IdentityCreateIdentityRequest0!); + identityCreateIdentityRequest0?.Invoke(__value0); } - else if (IsIdentityCreateIdentityRequest1) + else if (IdentityCreateIdentityRequest1 is { } __value1) { - identityCreateIdentityRequest1?.Invoke(IdentityCreateIdentityRequest1!); + identityCreateIdentityRequest1?.Invoke(__value1); } } diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.UpdateBillingAutoReloadRequestUnprocessableEntityError.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.UpdateBillingAutoReloadRequestUnprocessableEntityError.g.cs index 3e76958..a3f90ba 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.UpdateBillingAutoReloadRequestUnprocessableEntityError.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.UpdateBillingAutoReloadRequestUnprocessableEntityError.g.cs @@ -42,8 +42,8 @@ public bool TryPickBillingError( /// /// /// - public global::ResembleAI.BillingError PickBillingError() => IsBillingError - ? BillingError! + public global::ResembleAI.BillingError PickBillingError() => BillingError is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'BillingError' but the value was {ToString()}."); /// @@ -79,8 +79,8 @@ public bool TryPickBillingValidationErrors( /// /// /// - public global::ResembleAI.BillingValidationErrors PickBillingValidationErrors() => IsBillingValidationErrors - ? BillingValidationErrors! + public global::ResembleAI.BillingValidationErrors PickBillingValidationErrors() => BillingValidationErrors is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'BillingValidationErrors' but the value was {ToString()}."); /// /// @@ -177,13 +177,13 @@ public bool Validate() Validate(); } - if (IsBillingError && billingError != null) + if (BillingError is { } __value0 && billingError != null) { - return billingError(BillingError!); + return billingError(__value0); } - else if (IsBillingValidationErrors && billingValidationErrors != null) + else if (BillingValidationErrors is { } __value1 && billingValidationErrors != null) { - return billingValidationErrors(BillingValidationErrors!); + return billingValidationErrors(__value1); } return default(TResult); @@ -203,13 +203,13 @@ public void Match( Validate(); } - if (IsBillingError) + if (BillingError is { } __value0) { - billingError?.Invoke(BillingError!); + billingError?.Invoke(__value0); } - else if (IsBillingValidationErrors) + else if (BillingValidationErrors is { } __value1) { - billingValidationErrors?.Invoke(BillingValidationErrors!); + billingValidationErrors?.Invoke(__value1); } } @@ -226,13 +226,13 @@ public void Switch( Validate(); } - if (IsBillingError) + if (BillingError is { } __value0) { - billingError?.Invoke(BillingError!); + billingError?.Invoke(__value0); } - else if (IsBillingValidationErrors) + else if (BillingValidationErrors is { } __value1) { - billingValidationErrors?.Invoke(BillingValidationErrors!); + billingValidationErrors?.Invoke(__value1); } } diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.UpdateBillingSubscriptionProductsRequestUnprocessableEntityError.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.UpdateBillingSubscriptionProductsRequestUnprocessableEntityError.g.cs index 4ed74ba..4d7321e 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.UpdateBillingSubscriptionProductsRequestUnprocessableEntityError.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.UpdateBillingSubscriptionProductsRequestUnprocessableEntityError.g.cs @@ -42,8 +42,8 @@ public bool TryPickBillingError( /// /// /// - public global::ResembleAI.BillingError PickBillingError() => IsBillingError - ? BillingError! + public global::ResembleAI.BillingError PickBillingError() => BillingError is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'BillingError' but the value was {ToString()}."); /// @@ -79,8 +79,8 @@ public bool TryPickBillingValidationErrors( /// /// /// - public global::ResembleAI.BillingValidationErrors PickBillingValidationErrors() => IsBillingValidationErrors - ? BillingValidationErrors! + public global::ResembleAI.BillingValidationErrors PickBillingValidationErrors() => BillingValidationErrors is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'BillingValidationErrors' but the value was {ToString()}."); /// /// @@ -177,13 +177,13 @@ public bool Validate() Validate(); } - if (IsBillingError && billingError != null) + if (BillingError is { } __value0 && billingError != null) { - return billingError(BillingError!); + return billingError(__value0); } - else if (IsBillingValidationErrors && billingValidationErrors != null) + else if (BillingValidationErrors is { } __value1 && billingValidationErrors != null) { - return billingValidationErrors(BillingValidationErrors!); + return billingValidationErrors(__value1); } return default(TResult); @@ -203,13 +203,13 @@ public void Match( Validate(); } - if (IsBillingError) + if (BillingError is { } __value0) { - billingError?.Invoke(BillingError!); + billingError?.Invoke(__value0); } - else if (IsBillingValidationErrors) + else if (BillingValidationErrors is { } __value1) { - billingValidationErrors?.Invoke(BillingValidationErrors!); + billingValidationErrors?.Invoke(__value1); } } @@ -226,13 +226,13 @@ public void Switch( Validate(); } - if (IsBillingError) + if (BillingError is { } __value0) { - billingError?.Invoke(BillingError!); + billingError?.Invoke(__value0); } - else if (IsBillingValidationErrors) + else if (BillingValidationErrors is { } __value1) { - billingValidationErrors?.Invoke(BillingValidationErrors!); + billingValidationErrors?.Invoke(__value1); } } diff --git a/src/libs/ResembleAI/Generated/ResembleAI.Models.WatermarkDetectItemMetrics.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.Models.WatermarkDetectItemMetrics.g.cs index 216d325..5da3f40 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.Models.WatermarkDetectItemMetrics.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.Models.WatermarkDetectItemMetrics.g.cs @@ -42,8 +42,8 @@ public bool TryPickWatermarkAudioDetectionMetrics( /// /// /// - public global::ResembleAI.WatermarkAudioDetectionMetrics PickWatermarkAudioDetectionMetrics() => IsWatermarkAudioDetectionMetrics - ? WatermarkAudioDetectionMetrics! + public global::ResembleAI.WatermarkAudioDetectionMetrics PickWatermarkAudioDetectionMetrics() => WatermarkAudioDetectionMetrics is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'WatermarkAudioDetectionMetrics' but the value was {ToString()}."); /// @@ -79,8 +79,8 @@ public bool TryPickWatermarkVisionDetectionMetrics( /// /// /// - public global::ResembleAI.WatermarkVisionDetectionMetrics PickWatermarkVisionDetectionMetrics() => IsWatermarkVisionDetectionMetrics - ? WatermarkVisionDetectionMetrics! + public global::ResembleAI.WatermarkVisionDetectionMetrics PickWatermarkVisionDetectionMetrics() => WatermarkVisionDetectionMetrics is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'WatermarkVisionDetectionMetrics' but the value was {ToString()}."); /// /// @@ -177,13 +177,13 @@ public bool Validate() Validate(); } - if (IsWatermarkAudioDetectionMetrics && watermarkAudioDetectionMetrics != null) + if (WatermarkAudioDetectionMetrics is { } __value0 && watermarkAudioDetectionMetrics != null) { - return watermarkAudioDetectionMetrics(WatermarkAudioDetectionMetrics!); + return watermarkAudioDetectionMetrics(__value0); } - else if (IsWatermarkVisionDetectionMetrics && watermarkVisionDetectionMetrics != null) + else if (WatermarkVisionDetectionMetrics is { } __value1 && watermarkVisionDetectionMetrics != null) { - return watermarkVisionDetectionMetrics(WatermarkVisionDetectionMetrics!); + return watermarkVisionDetectionMetrics(__value1); } return default(TResult); @@ -203,13 +203,13 @@ public void Match( Validate(); } - if (IsWatermarkAudioDetectionMetrics) + if (WatermarkAudioDetectionMetrics is { } __value0) { - watermarkAudioDetectionMetrics?.Invoke(WatermarkAudioDetectionMetrics!); + watermarkAudioDetectionMetrics?.Invoke(__value0); } - else if (IsWatermarkVisionDetectionMetrics) + else if (WatermarkVisionDetectionMetrics is { } __value1) { - watermarkVisionDetectionMetrics?.Invoke(WatermarkVisionDetectionMetrics!); + watermarkVisionDetectionMetrics?.Invoke(__value1); } } @@ -226,13 +226,13 @@ public void Switch( Validate(); } - if (IsWatermarkAudioDetectionMetrics) + if (WatermarkAudioDetectionMetrics is { } __value0) { - watermarkAudioDetectionMetrics?.Invoke(WatermarkAudioDetectionMetrics!); + watermarkAudioDetectionMetrics?.Invoke(__value0); } - else if (IsWatermarkVisionDetectionMetrics) + else if (WatermarkVisionDetectionMetrics is { } __value1) { - watermarkVisionDetectionMetrics?.Invoke(WatermarkVisionDetectionMetrics!); + watermarkVisionDetectionMetrics?.Invoke(__value1); } } diff --git a/src/libs/ResembleAI/Generated/ResembleAI.ProjectsClient.CreateProject.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.ProjectsClient.CreateProject.g.cs index 3b4a9ac..dfe45f8 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.ProjectsClient.CreateProject.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.ProjectsClient.CreateProject.g.cs @@ -190,7 +190,7 @@ partial void ProcessCreateProjectResponseContent( pathTemplate: "\"/projects\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -224,7 +224,7 @@ partial void ProcessCreateProjectResponseContent( pathTemplate: "\"/projects\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -265,7 +265,7 @@ partial void ProcessCreateProjectResponseContent( pathTemplate: "\"/projects\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -313,7 +313,7 @@ partial void ProcessCreateProjectResponseContent( pathTemplate: "\"/projects\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCreateProjectResponseContent( pathTemplate: "\"/projects\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/ResembleAI/Generated/ResembleAI.ProjectsClient.DeleteProject.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.ProjectsClient.DeleteProject.g.cs index 52f3b1b..9856bd0 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.ProjectsClient.DeleteProject.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.ProjectsClient.DeleteProject.g.cs @@ -157,7 +157,7 @@ partial void ProcessDeleteProjectResponseContent( PrepareDeleteProjectRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - projectUuid: projectUuid!); + projectUuid: projectUuid); return __httpRequest; } @@ -179,7 +179,7 @@ partial void ProcessDeleteProjectResponseContent( pathTemplate: "$\"/projects/{projectUuid}\"", 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, @@ -213,7 +213,7 @@ partial void ProcessDeleteProjectResponseContent( pathTemplate: "$\"/projects/{projectUuid}\"", 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, @@ -254,7 +254,7 @@ partial void ProcessDeleteProjectResponseContent( pathTemplate: "$\"/projects/{projectUuid}\"", 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, @@ -302,7 +302,7 @@ partial void ProcessDeleteProjectResponseContent( pathTemplate: "$\"/projects/{projectUuid}\"", 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, @@ -324,7 +324,7 @@ partial void ProcessDeleteProjectResponseContent( pathTemplate: "$\"/projects/{projectUuid}\"", 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/ResembleAI/Generated/ResembleAI.ProjectsClient.GetProject.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.ProjectsClient.GetProject.g.cs index 6a08674..2f46bcf 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.ProjectsClient.GetProject.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.ProjectsClient.GetProject.g.cs @@ -157,7 +157,7 @@ partial void ProcessGetProjectResponseContent( PrepareGetProjectRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - projectUuid: projectUuid!); + projectUuid: projectUuid); return __httpRequest; } @@ -179,7 +179,7 @@ partial void ProcessGetProjectResponseContent( pathTemplate: "$\"/projects/{projectUuid}\"", 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, @@ -213,7 +213,7 @@ partial void ProcessGetProjectResponseContent( pathTemplate: "$\"/projects/{projectUuid}\"", 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, @@ -254,7 +254,7 @@ partial void ProcessGetProjectResponseContent( pathTemplate: "$\"/projects/{projectUuid}\"", 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, @@ -302,7 +302,7 @@ partial void ProcessGetProjectResponseContent( pathTemplate: "$\"/projects/{projectUuid}\"", 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 ProcessGetProjectResponseContent( pathTemplate: "$\"/projects/{projectUuid}\"", 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/ResembleAI/Generated/ResembleAI.ProjectsClient.ListProjects.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.ProjectsClient.ListProjects.g.cs index febc278..00036a2 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.ProjectsClient.ListProjects.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.ProjectsClient.ListProjects.g.cs @@ -134,7 +134,7 @@ partial void ProcessListProjectsResponseContent( servers: s_ListProjectsServers, defaultBaseUrl: "https://app.resemble.ai/api/v2")); __pathBuilder - .AddRequiredParameter("page", page.ToString()!) + .AddRequiredParameter("page", page.ToString() ?? throw new global::System.InvalidOperationException("A required query parameter returned null from ToString().")) .AddOptionalParameter("page_size", pageSize?.ToString()) ; var __path = __pathBuilder.ToString(); @@ -177,7 +177,7 @@ partial void ProcessListProjectsResponseContent( PrepareListProjectsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - page: page!, + page: page, pageSize: pageSize); return __httpRequest; @@ -200,7 +200,7 @@ partial void ProcessListProjectsResponseContent( pathTemplate: "\"/projects\"", 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, @@ -234,7 +234,7 @@ partial void ProcessListProjectsResponseContent( pathTemplate: "\"/projects\"", 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, @@ -275,7 +275,7 @@ partial void ProcessListProjectsResponseContent( pathTemplate: "\"/projects\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -323,7 +323,7 @@ partial void ProcessListProjectsResponseContent( pathTemplate: "\"/projects\"", 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, @@ -345,7 +345,7 @@ partial void ProcessListProjectsResponseContent( pathTemplate: "\"/projects\"", 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/ResembleAI/Generated/ResembleAI.ProjectsClient.UpdateProject.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.ProjectsClient.UpdateProject.g.cs index db757df..94b2c35 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.ProjectsClient.UpdateProject.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.ProjectsClient.UpdateProject.g.cs @@ -176,7 +176,7 @@ partial void ProcessUpdateProjectResponseContent( PrepareUpdateProjectRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - projectUuid: projectUuid!, + projectUuid: projectUuid, request: request); return __httpRequest; @@ -199,7 +199,7 @@ partial void ProcessUpdateProjectResponseContent( pathTemplate: "$\"/projects/{projectUuid}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -233,7 +233,7 @@ partial void ProcessUpdateProjectResponseContent( pathTemplate: "$\"/projects/{projectUuid}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -274,7 +274,7 @@ partial void ProcessUpdateProjectResponseContent( pathTemplate: "$\"/projects/{projectUuid}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -322,7 +322,7 @@ partial void ProcessUpdateProjectResponseContent( pathTemplate: "$\"/projects/{projectUuid}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -344,7 +344,7 @@ partial void ProcessUpdateProjectResponseContent( pathTemplate: "$\"/projects/{projectUuid}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + 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/ResembleAI/Generated/ResembleAI.RecordingsClient.CreateRecording.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.RecordingsClient.CreateRecording.g.cs index f8d88f3..66705bb 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.RecordingsClient.CreateRecording.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.RecordingsClient.CreateRecording.g.cs @@ -237,7 +237,7 @@ request.Filename is null PrepareCreateRecordingRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - voiceUuid: voiceUuid!, + voiceUuid: voiceUuid, request: request); return __httpRequest; @@ -260,7 +260,7 @@ request.Filename is null pathTemplate: "$\"/voices/{voiceUuid}/recordings\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 @@ request.Filename is null pathTemplate: "$\"/voices/{voiceUuid}/recordings\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 @@ request.Filename is null pathTemplate: "$\"/voices/{voiceUuid}/recordings\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 @@ request.Filename is null pathTemplate: "$\"/voices/{voiceUuid}/recordings\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 @@ request.Filename is null pathTemplate: "$\"/voices/{voiceUuid}/recordings\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -767,7 +767,7 @@ request.Filename is null PrepareCreateRecordingRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - voiceUuid: voiceUuid!, + voiceUuid: voiceUuid, request: request); return __httpRequest; @@ -790,7 +790,7 @@ request.Filename is null pathTemplate: "$\"/voices/{voiceUuid}/recordings\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -824,7 +824,7 @@ request.Filename is null pathTemplate: "$\"/voices/{voiceUuid}/recordings\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -865,7 +865,7 @@ request.Filename is null pathTemplate: "$\"/voices/{voiceUuid}/recordings\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -913,7 +913,7 @@ request.Filename is null pathTemplate: "$\"/voices/{voiceUuid}/recordings\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -935,7 +935,7 @@ request.Filename is null pathTemplate: "$\"/voices/{voiceUuid}/recordings\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1230,7 +1230,7 @@ request.Filename is null PrepareCreateRecordingRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - voiceUuid: voiceUuid!, + voiceUuid: voiceUuid, request: request); return __httpRequest; @@ -1253,7 +1253,7 @@ request.Filename is null pathTemplate: "$\"/voices/{voiceUuid}/recordings\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -1287,7 +1287,7 @@ request.Filename is null pathTemplate: "$\"/voices/{voiceUuid}/recordings\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -1328,7 +1328,7 @@ request.Filename is null pathTemplate: "$\"/voices/{voiceUuid}/recordings\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1376,7 +1376,7 @@ request.Filename is null pathTemplate: "$\"/voices/{voiceUuid}/recordings\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1398,7 +1398,7 @@ request.Filename is null pathTemplate: "$\"/voices/{voiceUuid}/recordings\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/ResembleAI/Generated/ResembleAI.RecordingsClient.DeleteRecording.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.RecordingsClient.DeleteRecording.g.cs index cb4401d..4990382 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.RecordingsClient.DeleteRecording.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.RecordingsClient.DeleteRecording.g.cs @@ -165,8 +165,8 @@ partial void ProcessDeleteRecordingResponseContent( PrepareDeleteRecordingRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - voiceUuid: voiceUuid!, - recordingId: recordingId!); + voiceUuid: voiceUuid, + recordingId: recordingId); return __httpRequest; } @@ -188,7 +188,7 @@ partial void ProcessDeleteRecordingResponseContent( pathTemplate: "$\"/voices/{voiceUuid}/recordings/{recordingId}\"", 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, @@ -222,7 +222,7 @@ partial void ProcessDeleteRecordingResponseContent( pathTemplate: "$\"/voices/{voiceUuid}/recordings/{recordingId}\"", 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, @@ -263,7 +263,7 @@ partial void ProcessDeleteRecordingResponseContent( pathTemplate: "$\"/voices/{voiceUuid}/recordings/{recordingId}\"", 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, @@ -311,7 +311,7 @@ partial void ProcessDeleteRecordingResponseContent( pathTemplate: "$\"/voices/{voiceUuid}/recordings/{recordingId}\"", 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, @@ -333,7 +333,7 @@ partial void ProcessDeleteRecordingResponseContent( pathTemplate: "$\"/voices/{voiceUuid}/recordings/{recordingId}\"", 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/ResembleAI/Generated/ResembleAI.RecordingsClient.GetRecording.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.RecordingsClient.GetRecording.g.cs index ca4a98e..821bc02 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.RecordingsClient.GetRecording.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.RecordingsClient.GetRecording.g.cs @@ -165,8 +165,8 @@ partial void ProcessGetRecordingResponseContent( PrepareGetRecordingRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - voiceUuid: voiceUuid!, - recordingId: recordingId!); + voiceUuid: voiceUuid, + recordingId: recordingId); return __httpRequest; } @@ -188,7 +188,7 @@ partial void ProcessGetRecordingResponseContent( pathTemplate: "$\"/voices/{voiceUuid}/recordings/{recordingId}\"", 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, @@ -222,7 +222,7 @@ partial void ProcessGetRecordingResponseContent( pathTemplate: "$\"/voices/{voiceUuid}/recordings/{recordingId}\"", 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, @@ -263,7 +263,7 @@ partial void ProcessGetRecordingResponseContent( pathTemplate: "$\"/voices/{voiceUuid}/recordings/{recordingId}\"", 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, @@ -311,7 +311,7 @@ partial void ProcessGetRecordingResponseContent( pathTemplate: "$\"/voices/{voiceUuid}/recordings/{recordingId}\"", 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, @@ -333,7 +333,7 @@ partial void ProcessGetRecordingResponseContent( pathTemplate: "$\"/voices/{voiceUuid}/recordings/{recordingId}\"", 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/ResembleAI/Generated/ResembleAI.RecordingsClient.ListRecordings.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.RecordingsClient.ListRecordings.g.cs index d524b28..79bc2f8 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.RecordingsClient.ListRecordings.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.RecordingsClient.ListRecordings.g.cs @@ -142,7 +142,7 @@ partial void ProcessListRecordingsResponseContent( servers: s_ListRecordingsServers, defaultBaseUrl: "https://app.resemble.ai/api/v2")); __pathBuilder - .AddRequiredParameter("page", page.ToString()!) + .AddRequiredParameter("page", page.ToString() ?? throw new global::System.InvalidOperationException("A required query parameter returned null from ToString().")) .AddOptionalParameter("page_size", pageSize?.ToString()) ; var __path = __pathBuilder.ToString(); @@ -185,8 +185,8 @@ partial void ProcessListRecordingsResponseContent( PrepareListRecordingsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - voiceUuid: voiceUuid!, - page: page!, + voiceUuid: voiceUuid, + page: page, pageSize: pageSize); return __httpRequest; @@ -209,7 +209,7 @@ partial void ProcessListRecordingsResponseContent( pathTemplate: "$\"/voices/{voiceUuid}/recordings\"", 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, @@ -243,7 +243,7 @@ partial void ProcessListRecordingsResponseContent( pathTemplate: "$\"/voices/{voiceUuid}/recordings\"", 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, @@ -284,7 +284,7 @@ partial void ProcessListRecordingsResponseContent( pathTemplate: "$\"/voices/{voiceUuid}/recordings\"", 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 ProcessListRecordingsResponseContent( pathTemplate: "$\"/voices/{voiceUuid}/recordings\"", 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, @@ -354,7 +354,7 @@ partial void ProcessListRecordingsResponseContent( pathTemplate: "$\"/voices/{voiceUuid}/recordings\"", 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/ResembleAI/Generated/ResembleAI.RecordingsClient.UpdateRecording.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.RecordingsClient.UpdateRecording.g.cs index fbe6449..fd34ce7 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.RecordingsClient.UpdateRecording.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.RecordingsClient.UpdateRecording.g.cs @@ -184,8 +184,8 @@ partial void ProcessUpdateRecordingResponseContent( PrepareUpdateRecordingRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - voiceUuid: voiceUuid!, - recordingId: recordingId!, + voiceUuid: voiceUuid, + recordingId: recordingId, request: request); return __httpRequest; @@ -208,7 +208,7 @@ partial void ProcessUpdateRecordingResponseContent( pathTemplate: "$\"/voices/{voiceUuid}/recordings/{recordingId}\"", httpMethod: "PATCH", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -242,7 +242,7 @@ partial void ProcessUpdateRecordingResponseContent( pathTemplate: "$\"/voices/{voiceUuid}/recordings/{recordingId}\"", httpMethod: "PATCH", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -283,7 +283,7 @@ partial void ProcessUpdateRecordingResponseContent( pathTemplate: "$\"/voices/{voiceUuid}/recordings/{recordingId}\"", httpMethod: "PATCH", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -331,7 +331,7 @@ partial void ProcessUpdateRecordingResponseContent( pathTemplate: "$\"/voices/{voiceUuid}/recordings/{recordingId}\"", httpMethod: "PATCH", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -353,7 +353,7 @@ partial void ProcessUpdateRecordingResponseContent( pathTemplate: "$\"/voices/{voiceUuid}/recordings/{recordingId}\"", httpMethod: "PATCH", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/ResembleAI/Generated/ResembleAI.SecureUploadsClient.CreateSecureUpload.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.SecureUploadsClient.CreateSecureUpload.g.cs index c18873b..efd6491 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.SecureUploadsClient.CreateSecureUpload.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.SecureUploadsClient.CreateSecureUpload.g.cs @@ -236,7 +236,7 @@ request.Filename is null pathTemplate: "\"/secure_uploads\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -270,7 +270,7 @@ request.Filename is null pathTemplate: "\"/secure_uploads\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -311,7 +311,7 @@ request.Filename is null pathTemplate: "\"/secure_uploads\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 @@ request.Filename is null pathTemplate: "\"/secure_uploads\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 @@ request.Filename is null pathTemplate: "\"/secure_uploads\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -768,7 +768,7 @@ request.Filename is null pathTemplate: "\"/secure_uploads\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -802,7 +802,7 @@ request.Filename is null pathTemplate: "\"/secure_uploads\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -843,7 +843,7 @@ request.Filename is null pathTemplate: "\"/secure_uploads\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -891,7 +891,7 @@ request.Filename is null pathTemplate: "\"/secure_uploads\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -913,7 +913,7 @@ request.Filename is null pathTemplate: "\"/secure_uploads\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1256,7 +1256,7 @@ request.Filename is null pathTemplate: "\"/secure_uploads\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -1290,7 +1290,7 @@ request.Filename is null pathTemplate: "\"/secure_uploads\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -1331,7 +1331,7 @@ request.Filename is null pathTemplate: "\"/secure_uploads\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1379,7 +1379,7 @@ request.Filename is null pathTemplate: "\"/secure_uploads\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1401,7 +1401,7 @@ request.Filename is null pathTemplate: "\"/secure_uploads\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/ResembleAI/Generated/ResembleAI.SignalClient.CreateSignalCustomCategory.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.SignalClient.CreateSignalCustomCategory.g.cs index f351c92..08966b2 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.SignalClient.CreateSignalCustomCategory.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.SignalClient.CreateSignalCustomCategory.g.cs @@ -194,7 +194,7 @@ partial void ProcessCreateSignalCustomCategoryResponseContent( pathTemplate: "\"/signal/custom_categories\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -228,7 +228,7 @@ partial void ProcessCreateSignalCustomCategoryResponseContent( pathTemplate: "\"/signal/custom_categories\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -269,7 +269,7 @@ partial void ProcessCreateSignalCustomCategoryResponseContent( pathTemplate: "\"/signal/custom_categories\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCreateSignalCustomCategoryResponseContent( pathTemplate: "\"/signal/custom_categories\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCreateSignalCustomCategoryResponseContent( pathTemplate: "\"/signal/custom_categories\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/ResembleAI/Generated/ResembleAI.SignalClient.CreateSignalSubmission.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.SignalClient.CreateSignalSubmission.g.cs index 13cfada..ee27a5c 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.SignalClient.CreateSignalSubmission.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.SignalClient.CreateSignalSubmission.g.cs @@ -202,7 +202,7 @@ partial void ProcessCreateSignalSubmissionResponseContent( pathTemplate: "\"/signal\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -236,7 +236,7 @@ partial void ProcessCreateSignalSubmissionResponseContent( pathTemplate: "\"/signal\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -277,7 +277,7 @@ partial void ProcessCreateSignalSubmissionResponseContent( pathTemplate: "\"/signal\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -325,7 +325,7 @@ partial void ProcessCreateSignalSubmissionResponseContent( pathTemplate: "\"/signal\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -347,7 +347,7 @@ partial void ProcessCreateSignalSubmissionResponseContent( pathTemplate: "\"/signal\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/ResembleAI/Generated/ResembleAI.SignalClient.DeleteSignalCustomCategory.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.SignalClient.DeleteSignalCustomCategory.g.cs index ba932c1..645321b 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.SignalClient.DeleteSignalCustomCategory.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.SignalClient.DeleteSignalCustomCategory.g.cs @@ -157,7 +157,7 @@ partial void ProcessDeleteSignalCustomCategoryResponseContent( PrepareDeleteSignalCustomCategoryRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id!); + id: id); return __httpRequest; } @@ -179,7 +179,7 @@ partial void ProcessDeleteSignalCustomCategoryResponseContent( pathTemplate: "$\"/signal/custom_categories/{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, @@ -213,7 +213,7 @@ partial void ProcessDeleteSignalCustomCategoryResponseContent( pathTemplate: "$\"/signal/custom_categories/{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, @@ -254,7 +254,7 @@ partial void ProcessDeleteSignalCustomCategoryResponseContent( pathTemplate: "$\"/signal/custom_categories/{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, @@ -302,7 +302,7 @@ partial void ProcessDeleteSignalCustomCategoryResponseContent( pathTemplate: "$\"/signal/custom_categories/{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, @@ -324,7 +324,7 @@ partial void ProcessDeleteSignalCustomCategoryResponseContent( pathTemplate: "$\"/signal/custom_categories/{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/ResembleAI/Generated/ResembleAI.SignalClient.DeleteSignalSubmission.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.SignalClient.DeleteSignalSubmission.g.cs index 5fbcdb3..58f854e 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.SignalClient.DeleteSignalSubmission.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.SignalClient.DeleteSignalSubmission.g.cs @@ -157,7 +157,7 @@ partial void ProcessDeleteSignalSubmissionResponseContent( PrepareDeleteSignalSubmissionRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id!); + id: id); return __httpRequest; } @@ -179,7 +179,7 @@ partial void ProcessDeleteSignalSubmissionResponseContent( pathTemplate: "$\"/signal/{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, @@ -213,7 +213,7 @@ partial void ProcessDeleteSignalSubmissionResponseContent( pathTemplate: "$\"/signal/{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, @@ -254,7 +254,7 @@ partial void ProcessDeleteSignalSubmissionResponseContent( pathTemplate: "$\"/signal/{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, @@ -302,7 +302,7 @@ partial void ProcessDeleteSignalSubmissionResponseContent( pathTemplate: "$\"/signal/{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, @@ -324,7 +324,7 @@ partial void ProcessDeleteSignalSubmissionResponseContent( pathTemplate: "$\"/signal/{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/ResembleAI/Generated/ResembleAI.SignalClient.GetSignalCustomCategory.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.SignalClient.GetSignalCustomCategory.g.cs index ecf5075..f5b48ab 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.SignalClient.GetSignalCustomCategory.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.SignalClient.GetSignalCustomCategory.g.cs @@ -157,7 +157,7 @@ partial void ProcessGetSignalCustomCategoryResponseContent( PrepareGetSignalCustomCategoryRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id!); + id: id); return __httpRequest; } @@ -179,7 +179,7 @@ partial void ProcessGetSignalCustomCategoryResponseContent( pathTemplate: "$\"/signal/custom_categories/{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, @@ -213,7 +213,7 @@ partial void ProcessGetSignalCustomCategoryResponseContent( pathTemplate: "$\"/signal/custom_categories/{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, @@ -254,7 +254,7 @@ partial void ProcessGetSignalCustomCategoryResponseContent( pathTemplate: "$\"/signal/custom_categories/{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, @@ -302,7 +302,7 @@ partial void ProcessGetSignalCustomCategoryResponseContent( pathTemplate: "$\"/signal/custom_categories/{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 ProcessGetSignalCustomCategoryResponseContent( pathTemplate: "$\"/signal/custom_categories/{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/ResembleAI/Generated/ResembleAI.SignalClient.ListSignalCustomCategories.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.SignalClient.ListSignalCustomCategories.g.cs index 879b230..b9a2862 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.SignalClient.ListSignalCustomCategories.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.SignalClient.ListSignalCustomCategories.g.cs @@ -170,7 +170,7 @@ partial void ProcessListSignalCustomCategoriesResponseContent( pathTemplate: "\"/signal/custom_categories\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -204,7 +204,7 @@ partial void ProcessListSignalCustomCategoriesResponseContent( pathTemplate: "\"/signal/custom_categories\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -245,7 +245,7 @@ partial void ProcessListSignalCustomCategoriesResponseContent( pathTemplate: "\"/signal/custom_categories\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -293,7 +293,7 @@ partial void ProcessListSignalCustomCategoriesResponseContent( pathTemplate: "\"/signal/custom_categories\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -315,7 +315,7 @@ partial void ProcessListSignalCustomCategoriesResponseContent( pathTemplate: "\"/signal/custom_categories\"", 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/ResembleAI/Generated/ResembleAI.SignalClient.ListSignalSubmissions.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.SignalClient.ListSignalSubmissions.g.cs index ea838ab..66ed295 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.SignalClient.ListSignalSubmissions.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.SignalClient.ListSignalSubmissions.g.cs @@ -200,7 +200,7 @@ partial void ProcessListSignalSubmissionsResponseContent( pathTemplate: "\"/signal\"", 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, @@ -234,7 +234,7 @@ partial void ProcessListSignalSubmissionsResponseContent( pathTemplate: "\"/signal\"", 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, @@ -275,7 +275,7 @@ partial void ProcessListSignalSubmissionsResponseContent( pathTemplate: "\"/signal\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -323,7 +323,7 @@ partial void ProcessListSignalSubmissionsResponseContent( pathTemplate: "\"/signal\"", 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, @@ -345,7 +345,7 @@ partial void ProcessListSignalSubmissionsResponseContent( pathTemplate: "\"/signal\"", 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/ResembleAI/Generated/ResembleAI.SignalClient.UpdateSignalCustomCategory.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.SignalClient.UpdateSignalCustomCategory.g.cs index f52b310..dd670bf 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.SignalClient.UpdateSignalCustomCategory.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.SignalClient.UpdateSignalCustomCategory.g.cs @@ -176,7 +176,7 @@ partial void ProcessUpdateSignalCustomCategoryResponseContent( PrepareUpdateSignalCustomCategoryRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id!, + id: id, request: request); return __httpRequest; @@ -199,7 +199,7 @@ partial void ProcessUpdateSignalCustomCategoryResponseContent( pathTemplate: "$\"/signal/custom_categories/{id}\"", httpMethod: "PATCH", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -233,7 +233,7 @@ partial void ProcessUpdateSignalCustomCategoryResponseContent( pathTemplate: "$\"/signal/custom_categories/{id}\"", httpMethod: "PATCH", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -274,7 +274,7 @@ partial void ProcessUpdateSignalCustomCategoryResponseContent( pathTemplate: "$\"/signal/custom_categories/{id}\"", httpMethod: "PATCH", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -322,7 +322,7 @@ partial void ProcessUpdateSignalCustomCategoryResponseContent( pathTemplate: "$\"/signal/custom_categories/{id}\"", httpMethod: "PATCH", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -344,7 +344,7 @@ partial void ProcessUpdateSignalCustomCategoryResponseContent( pathTemplate: "$\"/signal/custom_categories/{id}\"", httpMethod: "PATCH", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/ResembleAI/Generated/ResembleAI.SignalClient.UpdateSignalSettings.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.SignalClient.UpdateSignalSettings.g.cs index a7b4838..1b5cb6a 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.SignalClient.UpdateSignalSettings.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.SignalClient.UpdateSignalSettings.g.cs @@ -190,7 +190,7 @@ partial void ProcessUpdateSignalSettingsResponseContent( pathTemplate: "\"/signal/settings\"", httpMethod: "PATCH", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -224,7 +224,7 @@ partial void ProcessUpdateSignalSettingsResponseContent( pathTemplate: "\"/signal/settings\"", httpMethod: "PATCH", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -265,7 +265,7 @@ partial void ProcessUpdateSignalSettingsResponseContent( pathTemplate: "\"/signal/settings\"", httpMethod: "PATCH", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -313,7 +313,7 @@ partial void ProcessUpdateSignalSettingsResponseContent( pathTemplate: "\"/signal/settings\"", httpMethod: "PATCH", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -335,7 +335,7 @@ partial void ProcessUpdateSignalSettingsResponseContent( pathTemplate: "\"/signal/settings\"", httpMethod: "PATCH", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/ResembleAI/Generated/ResembleAI.SpeechToTextClient.AskTranscriptQuestion.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.SpeechToTextClient.AskTranscriptQuestion.g.cs index 22ec260..2c848ae 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.SpeechToTextClient.AskTranscriptQuestion.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.SpeechToTextClient.AskTranscriptQuestion.g.cs @@ -176,7 +176,7 @@ partial void ProcessAskTranscriptQuestionResponseContent( PrepareAskTranscriptQuestionRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - uuid: uuid!, + uuid: uuid, request: request); return __httpRequest; @@ -199,7 +199,7 @@ partial void ProcessAskTranscriptQuestionResponseContent( pathTemplate: "$\"/speech-to-text/{uuid}/ask\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -233,7 +233,7 @@ partial void ProcessAskTranscriptQuestionResponseContent( pathTemplate: "$\"/speech-to-text/{uuid}/ask\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -274,7 +274,7 @@ partial void ProcessAskTranscriptQuestionResponseContent( pathTemplate: "$\"/speech-to-text/{uuid}/ask\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -322,7 +322,7 @@ partial void ProcessAskTranscriptQuestionResponseContent( pathTemplate: "$\"/speech-to-text/{uuid}/ask\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -344,7 +344,7 @@ partial void ProcessAskTranscriptQuestionResponseContent( pathTemplate: "$\"/speech-to-text/{uuid}/ask\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/ResembleAI/Generated/ResembleAI.SpeechToTextClient.CreateTranscript.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.SpeechToTextClient.CreateTranscript.g.cs index 828c597..4288828 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.SpeechToTextClient.CreateTranscript.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.SpeechToTextClient.CreateTranscript.g.cs @@ -255,7 +255,7 @@ request.Filename is null pathTemplate: "\"/speech-to-text\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -289,7 +289,7 @@ request.Filename is null pathTemplate: "\"/speech-to-text\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -330,7 +330,7 @@ request.Filename is null pathTemplate: "\"/speech-to-text\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -378,7 +378,7 @@ request.Filename is null pathTemplate: "\"/speech-to-text\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -400,7 +400,7 @@ request.Filename is null pathTemplate: "\"/speech-to-text\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/ResembleAI/Generated/ResembleAI.SpeechToTextClient.GetTranscript.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.SpeechToTextClient.GetTranscript.g.cs index 3463c29..7d1cb04 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.SpeechToTextClient.GetTranscript.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.SpeechToTextClient.GetTranscript.g.cs @@ -157,7 +157,7 @@ partial void ProcessGetTranscriptResponseContent( PrepareGetTranscriptRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - uuid: uuid!); + uuid: uuid); return __httpRequest; } @@ -179,7 +179,7 @@ partial void ProcessGetTranscriptResponseContent( pathTemplate: "$\"/speech-to-text/{uuid}\"", 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, @@ -213,7 +213,7 @@ partial void ProcessGetTranscriptResponseContent( pathTemplate: "$\"/speech-to-text/{uuid}\"", 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, @@ -254,7 +254,7 @@ partial void ProcessGetTranscriptResponseContent( pathTemplate: "$\"/speech-to-text/{uuid}\"", 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, @@ -302,7 +302,7 @@ partial void ProcessGetTranscriptResponseContent( pathTemplate: "$\"/speech-to-text/{uuid}\"", 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 ProcessGetTranscriptResponseContent( pathTemplate: "$\"/speech-to-text/{uuid}\"", 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/ResembleAI/Generated/ResembleAI.SpeechToTextClient.GetTranscriptQuestion.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.SpeechToTextClient.GetTranscriptQuestion.g.cs index 7fbeb89..a055a6f 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.SpeechToTextClient.GetTranscriptQuestion.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.SpeechToTextClient.GetTranscriptQuestion.g.cs @@ -165,8 +165,8 @@ partial void ProcessGetTranscriptQuestionResponseContent( PrepareGetTranscriptQuestionRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - uuid: uuid!, - questionUuid: questionUuid!); + uuid: uuid, + questionUuid: questionUuid); return __httpRequest; } @@ -188,7 +188,7 @@ partial void ProcessGetTranscriptQuestionResponseContent( pathTemplate: "$\"/speech-to-text/{uuid}/questions/{questionUuid}\"", 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, @@ -222,7 +222,7 @@ partial void ProcessGetTranscriptQuestionResponseContent( pathTemplate: "$\"/speech-to-text/{uuid}/questions/{questionUuid}\"", 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, @@ -263,7 +263,7 @@ partial void ProcessGetTranscriptQuestionResponseContent( pathTemplate: "$\"/speech-to-text/{uuid}/questions/{questionUuid}\"", 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, @@ -311,7 +311,7 @@ partial void ProcessGetTranscriptQuestionResponseContent( pathTemplate: "$\"/speech-to-text/{uuid}/questions/{questionUuid}\"", 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, @@ -333,7 +333,7 @@ partial void ProcessGetTranscriptQuestionResponseContent( pathTemplate: "$\"/speech-to-text/{uuid}/questions/{questionUuid}\"", 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/ResembleAI/Generated/ResembleAI.SpeechToTextClient.ListTranscriptQuestions.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.SpeechToTextClient.ListTranscriptQuestions.g.cs index f061555..b545ecd 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.SpeechToTextClient.ListTranscriptQuestions.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.SpeechToTextClient.ListTranscriptQuestions.g.cs @@ -142,7 +142,7 @@ partial void ProcessListTranscriptQuestionsResponseContent( servers: s_ListTranscriptQuestionsServers, defaultBaseUrl: "https://app.resemble.ai/api/v2")); __pathBuilder - .AddRequiredParameter("page", page.ToString()!) + .AddRequiredParameter("page", page.ToString() ?? throw new global::System.InvalidOperationException("A required query parameter returned null from ToString().")) .AddOptionalParameter("per_page", perPage?.ToString()) ; var __path = __pathBuilder.ToString(); @@ -185,8 +185,8 @@ partial void ProcessListTranscriptQuestionsResponseContent( PrepareListTranscriptQuestionsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - uuid: uuid!, - page: page!, + uuid: uuid, + page: page, perPage: perPage); return __httpRequest; @@ -209,7 +209,7 @@ partial void ProcessListTranscriptQuestionsResponseContent( pathTemplate: "$\"/speech-to-text/{uuid}/questions\"", 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, @@ -243,7 +243,7 @@ partial void ProcessListTranscriptQuestionsResponseContent( pathTemplate: "$\"/speech-to-text/{uuid}/questions\"", 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, @@ -284,7 +284,7 @@ partial void ProcessListTranscriptQuestionsResponseContent( pathTemplate: "$\"/speech-to-text/{uuid}/questions\"", 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 ProcessListTranscriptQuestionsResponseContent( pathTemplate: "$\"/speech-to-text/{uuid}/questions\"", 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, @@ -354,7 +354,7 @@ partial void ProcessListTranscriptQuestionsResponseContent( pathTemplate: "$\"/speech-to-text/{uuid}/questions\"", 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/ResembleAI/Generated/ResembleAI.SpeechToTextClient.ListTranscripts.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.SpeechToTextClient.ListTranscripts.g.cs index 55ee416..954f4e8 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.SpeechToTextClient.ListTranscripts.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.SpeechToTextClient.ListTranscripts.g.cs @@ -134,7 +134,7 @@ partial void ProcessListTranscriptsResponseContent( servers: s_ListTranscriptsServers, defaultBaseUrl: "https://app.resemble.ai/api/v2")); __pathBuilder - .AddRequiredParameter("page", page.ToString()!) + .AddRequiredParameter("page", page.ToString() ?? throw new global::System.InvalidOperationException("A required query parameter returned null from ToString().")) .AddOptionalParameter("per_page", perPage?.ToString()) ; var __path = __pathBuilder.ToString(); @@ -177,7 +177,7 @@ partial void ProcessListTranscriptsResponseContent( PrepareListTranscriptsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - page: page!, + page: page, perPage: perPage); return __httpRequest; @@ -200,7 +200,7 @@ partial void ProcessListTranscriptsResponseContent( pathTemplate: "\"/speech-to-text\"", 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, @@ -234,7 +234,7 @@ partial void ProcessListTranscriptsResponseContent( pathTemplate: "\"/speech-to-text\"", 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, @@ -275,7 +275,7 @@ partial void ProcessListTranscriptsResponseContent( pathTemplate: "\"/speech-to-text\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -323,7 +323,7 @@ partial void ProcessListTranscriptsResponseContent( pathTemplate: "\"/speech-to-text\"", 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, @@ -345,7 +345,7 @@ partial void ProcessListTranscriptsResponseContent( pathTemplate: "\"/speech-to-text\"", 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/ResembleAI/Generated/ResembleAI.TermSubstitutionsClient.CreateTermSubstitution.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.TermSubstitutionsClient.CreateTermSubstitution.g.cs index 1baae88..1e3d588 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.TermSubstitutionsClient.CreateTermSubstitution.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.TermSubstitutionsClient.CreateTermSubstitution.g.cs @@ -190,7 +190,7 @@ partial void ProcessCreateTermSubstitutionResponseContent( pathTemplate: "\"/term_substitutions\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -224,7 +224,7 @@ partial void ProcessCreateTermSubstitutionResponseContent( pathTemplate: "\"/term_substitutions\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -265,7 +265,7 @@ partial void ProcessCreateTermSubstitutionResponseContent( pathTemplate: "\"/term_substitutions\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -313,7 +313,7 @@ partial void ProcessCreateTermSubstitutionResponseContent( pathTemplate: "\"/term_substitutions\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCreateTermSubstitutionResponseContent( pathTemplate: "\"/term_substitutions\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/ResembleAI/Generated/ResembleAI.TermSubstitutionsClient.DeleteTermSubstitution.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.TermSubstitutionsClient.DeleteTermSubstitution.g.cs index 0787536..bca8ce7 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.TermSubstitutionsClient.DeleteTermSubstitution.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.TermSubstitutionsClient.DeleteTermSubstitution.g.cs @@ -157,7 +157,7 @@ partial void ProcessDeleteTermSubstitutionResponseContent( PrepareDeleteTermSubstitutionRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id!); + id: id); return __httpRequest; } @@ -179,7 +179,7 @@ partial void ProcessDeleteTermSubstitutionResponseContent( pathTemplate: "$\"/term_substitutions/{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, @@ -213,7 +213,7 @@ partial void ProcessDeleteTermSubstitutionResponseContent( pathTemplate: "$\"/term_substitutions/{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, @@ -254,7 +254,7 @@ partial void ProcessDeleteTermSubstitutionResponseContent( pathTemplate: "$\"/term_substitutions/{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, @@ -302,7 +302,7 @@ partial void ProcessDeleteTermSubstitutionResponseContent( pathTemplate: "$\"/term_substitutions/{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, @@ -324,7 +324,7 @@ partial void ProcessDeleteTermSubstitutionResponseContent( pathTemplate: "$\"/term_substitutions/{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/ResembleAI/Generated/ResembleAI.TermSubstitutionsClient.GetTermSubstitution.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.TermSubstitutionsClient.GetTermSubstitution.g.cs index 85e8c0b..3adc720 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.TermSubstitutionsClient.GetTermSubstitution.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.TermSubstitutionsClient.GetTermSubstitution.g.cs @@ -157,7 +157,7 @@ partial void ProcessGetTermSubstitutionResponseContent( PrepareGetTermSubstitutionRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id!); + id: id); return __httpRequest; } @@ -179,7 +179,7 @@ partial void ProcessGetTermSubstitutionResponseContent( pathTemplate: "$\"/term_substitutions/{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, @@ -213,7 +213,7 @@ partial void ProcessGetTermSubstitutionResponseContent( pathTemplate: "$\"/term_substitutions/{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, @@ -254,7 +254,7 @@ partial void ProcessGetTermSubstitutionResponseContent( pathTemplate: "$\"/term_substitutions/{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, @@ -302,7 +302,7 @@ partial void ProcessGetTermSubstitutionResponseContent( pathTemplate: "$\"/term_substitutions/{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 ProcessGetTermSubstitutionResponseContent( pathTemplate: "$\"/term_substitutions/{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/ResembleAI/Generated/ResembleAI.TermSubstitutionsClient.ListTermSubstitutions.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.TermSubstitutionsClient.ListTermSubstitutions.g.cs index e74927e..10dcf4b 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.TermSubstitutionsClient.ListTermSubstitutions.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.TermSubstitutionsClient.ListTermSubstitutions.g.cs @@ -134,7 +134,7 @@ partial void ProcessListTermSubstitutionsResponseContent( servers: s_ListTermSubstitutionsServers, defaultBaseUrl: "https://app.resemble.ai/api/v2")); __pathBuilder - .AddRequiredParameter("page", page.ToString()!) + .AddRequiredParameter("page", page.ToString() ?? throw new global::System.InvalidOperationException("A required query parameter returned null from ToString().")) .AddOptionalParameter("page_size", pageSize?.ToString()) ; var __path = __pathBuilder.ToString(); @@ -177,7 +177,7 @@ partial void ProcessListTermSubstitutionsResponseContent( PrepareListTermSubstitutionsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - page: page!, + page: page, pageSize: pageSize); return __httpRequest; @@ -200,7 +200,7 @@ partial void ProcessListTermSubstitutionsResponseContent( pathTemplate: "\"/term_substitutions\"", 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, @@ -234,7 +234,7 @@ partial void ProcessListTermSubstitutionsResponseContent( pathTemplate: "\"/term_substitutions\"", 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, @@ -275,7 +275,7 @@ partial void ProcessListTermSubstitutionsResponseContent( pathTemplate: "\"/term_substitutions\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -323,7 +323,7 @@ partial void ProcessListTermSubstitutionsResponseContent( pathTemplate: "\"/term_substitutions\"", 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, @@ -345,7 +345,7 @@ partial void ProcessListTermSubstitutionsResponseContent( pathTemplate: "\"/term_substitutions\"", 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/ResembleAI/Generated/ResembleAI.TextDetectionClient.CreateTextDetection.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.TextDetectionClient.CreateTextDetection.g.cs index df74340..cb5ae88 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.TextDetectionClient.CreateTextDetection.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.TextDetectionClient.CreateTextDetection.g.cs @@ -221,7 +221,7 @@ partial void ProcessCreateTextDetectionResponseContent( pathTemplate: "\"/text_detect\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -255,7 +255,7 @@ partial void ProcessCreateTextDetectionResponseContent( pathTemplate: "\"/text_detect\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -296,7 +296,7 @@ partial void ProcessCreateTextDetectionResponseContent( pathTemplate: "\"/text_detect\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -344,7 +344,7 @@ partial void ProcessCreateTextDetectionResponseContent( pathTemplate: "\"/text_detect\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -366,7 +366,7 @@ partial void ProcessCreateTextDetectionResponseContent( pathTemplate: "\"/text_detect\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/ResembleAI/Generated/ResembleAI.TextDetectionClient.GetTextDetection.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.TextDetectionClient.GetTextDetection.g.cs index 6ec0dc9..08cb738 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.TextDetectionClient.GetTextDetection.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.TextDetectionClient.GetTextDetection.g.cs @@ -157,7 +157,7 @@ partial void ProcessGetTextDetectionResponseContent( PrepareGetTextDetectionRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - uuid: uuid!); + uuid: uuid); return __httpRequest; } @@ -179,7 +179,7 @@ partial void ProcessGetTextDetectionResponseContent( pathTemplate: "$\"/text_detect/{uuid}\"", 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, @@ -213,7 +213,7 @@ partial void ProcessGetTextDetectionResponseContent( pathTemplate: "$\"/text_detect/{uuid}\"", 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, @@ -254,7 +254,7 @@ partial void ProcessGetTextDetectionResponseContent( pathTemplate: "$\"/text_detect/{uuid}\"", 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, @@ -302,7 +302,7 @@ partial void ProcessGetTextDetectionResponseContent( pathTemplate: "$\"/text_detect/{uuid}\"", 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 ProcessGetTextDetectionResponseContent( pathTemplate: "$\"/text_detect/{uuid}\"", 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/ResembleAI/Generated/ResembleAI.TextDetectionClient.ListTextDetections.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.TextDetectionClient.ListTextDetections.g.cs index 70423dc..6767bc7 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.TextDetectionClient.ListTextDetections.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.TextDetectionClient.ListTextDetections.g.cs @@ -130,7 +130,7 @@ partial void ProcessListTextDetectionsResponseContent( servers: s_ListTextDetectionsServers, defaultBaseUrl: "https://app.resemble.ai/api/v2")); __pathBuilder - .AddRequiredParameter("page", page.ToString()!) + .AddRequiredParameter("page", page.ToString() ?? throw new global::System.InvalidOperationException("A required query parameter returned null from ToString().")) .AddOptionalParameter("page_size", pageSize?.ToString()) ; var __path = __pathBuilder.ToString(); @@ -173,7 +173,7 @@ partial void ProcessListTextDetectionsResponseContent( PrepareListTextDetectionsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - page: page!, + page: page, pageSize: pageSize); return __httpRequest; @@ -196,7 +196,7 @@ partial void ProcessListTextDetectionsResponseContent( pathTemplate: "\"/text_detect\"", 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, @@ -230,7 +230,7 @@ partial void ProcessListTextDetectionsResponseContent( pathTemplate: "\"/text_detect\"", 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, @@ -271,7 +271,7 @@ partial void ProcessListTextDetectionsResponseContent( pathTemplate: "\"/text_detect\"", 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, @@ -319,7 +319,7 @@ partial void ProcessListTextDetectionsResponseContent( pathTemplate: "\"/text_detect\"", 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, @@ -341,7 +341,7 @@ partial void ProcessListTextDetectionsResponseContent( pathTemplate: "\"/text_detect\"", 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/ResembleAI/Generated/ResembleAI.TextToSpeechClient.StreamSynthesize.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.TextToSpeechClient.StreamSynthesize.g.cs index 84c4712..b640bb0 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.TextToSpeechClient.StreamSynthesize.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.TextToSpeechClient.StreamSynthesize.g.cs @@ -190,7 +190,7 @@ partial void ProcessStreamSynthesizeResponseContent( pathTemplate: "\"/stream\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -224,7 +224,7 @@ partial void ProcessStreamSynthesizeResponseContent( pathTemplate: "\"/stream\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -265,7 +265,7 @@ partial void ProcessStreamSynthesizeResponseContent( pathTemplate: "\"/stream\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -313,7 +313,7 @@ partial void ProcessStreamSynthesizeResponseContent( pathTemplate: "\"/stream\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessStreamSynthesizeResponseContent( pathTemplate: "\"/stream\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -553,7 +553,7 @@ partial void ProcessStreamSynthesizeResponseContent( pathTemplate: "\"/stream\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -587,7 +587,7 @@ partial void ProcessStreamSynthesizeResponseContent( pathTemplate: "\"/stream\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -628,7 +628,7 @@ partial void ProcessStreamSynthesizeResponseContent( pathTemplate: "\"/stream\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -676,7 +676,7 @@ partial void ProcessStreamSynthesizeResponseContent( pathTemplate: "\"/stream\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -698,7 +698,7 @@ partial void ProcessStreamSynthesizeResponseContent( pathTemplate: "\"/stream\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/ResembleAI/Generated/ResembleAI.TextToSpeechClient.Synthesize.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.TextToSpeechClient.Synthesize.g.cs index 367bb80..65081fe 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.TextToSpeechClient.Synthesize.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.TextToSpeechClient.Synthesize.g.cs @@ -190,7 +190,7 @@ partial void ProcessSynthesizeResponseContent( pathTemplate: "\"/synthesize\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -224,7 +224,7 @@ partial void ProcessSynthesizeResponseContent( pathTemplate: "\"/synthesize\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -265,7 +265,7 @@ partial void ProcessSynthesizeResponseContent( pathTemplate: "\"/synthesize\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -313,7 +313,7 @@ partial void ProcessSynthesizeResponseContent( pathTemplate: "\"/synthesize\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessSynthesizeResponseContent( pathTemplate: "\"/synthesize\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/ResembleAI/Generated/ResembleAI.VoiceDesignClient.CreateVoiceFromCandidate.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.VoiceDesignClient.CreateVoiceFromCandidate.g.cs index a207df1..0366cb6 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.VoiceDesignClient.CreateVoiceFromCandidate.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.VoiceDesignClient.CreateVoiceFromCandidate.g.cs @@ -190,7 +190,7 @@ partial void ProcessCreateVoiceFromCandidateResponseContent( pathTemplate: "\"/voice-design/create\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -224,7 +224,7 @@ partial void ProcessCreateVoiceFromCandidateResponseContent( pathTemplate: "\"/voice-design/create\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -265,7 +265,7 @@ partial void ProcessCreateVoiceFromCandidateResponseContent( pathTemplate: "\"/voice-design/create\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -313,7 +313,7 @@ partial void ProcessCreateVoiceFromCandidateResponseContent( pathTemplate: "\"/voice-design/create\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCreateVoiceFromCandidateResponseContent( pathTemplate: "\"/voice-design/create\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/ResembleAI/Generated/ResembleAI.VoiceDesignClient.GenerateVoiceDesign.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.VoiceDesignClient.GenerateVoiceDesign.g.cs index a590020..5a4a1b0 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.VoiceDesignClient.GenerateVoiceDesign.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.VoiceDesignClient.GenerateVoiceDesign.g.cs @@ -192,7 +192,7 @@ partial void ProcessGenerateVoiceDesignResponseContent( pathTemplate: "\"/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, @@ -226,7 +226,7 @@ partial void ProcessGenerateVoiceDesignResponseContent( pathTemplate: "\"/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, @@ -267,7 +267,7 @@ partial void ProcessGenerateVoiceDesignResponseContent( pathTemplate: "\"/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, @@ -315,7 +315,7 @@ partial void ProcessGenerateVoiceDesignResponseContent( pathTemplate: "\"/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, @@ -337,7 +337,7 @@ partial void ProcessGenerateVoiceDesignResponseContent( pathTemplate: "\"/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/ResembleAI/Generated/ResembleAI.VoiceSettingsPresetsClient.CreateVoiceSettingsPreset.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.VoiceSettingsPresetsClient.CreateVoiceSettingsPreset.g.cs index 7c2a952..9b6aa25 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.VoiceSettingsPresetsClient.CreateVoiceSettingsPreset.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.VoiceSettingsPresetsClient.CreateVoiceSettingsPreset.g.cs @@ -190,7 +190,7 @@ partial void ProcessCreateVoiceSettingsPresetResponseContent( pathTemplate: "\"/voice_settings_presets\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -224,7 +224,7 @@ partial void ProcessCreateVoiceSettingsPresetResponseContent( pathTemplate: "\"/voice_settings_presets\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -265,7 +265,7 @@ partial void ProcessCreateVoiceSettingsPresetResponseContent( pathTemplate: "\"/voice_settings_presets\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -313,7 +313,7 @@ partial void ProcessCreateVoiceSettingsPresetResponseContent( pathTemplate: "\"/voice_settings_presets\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCreateVoiceSettingsPresetResponseContent( pathTemplate: "\"/voice_settings_presets\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/ResembleAI/Generated/ResembleAI.VoiceSettingsPresetsClient.DeleteVoiceSettingsPreset.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.VoiceSettingsPresetsClient.DeleteVoiceSettingsPreset.g.cs index efd3d3c..fd5b843 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.VoiceSettingsPresetsClient.DeleteVoiceSettingsPreset.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.VoiceSettingsPresetsClient.DeleteVoiceSettingsPreset.g.cs @@ -157,7 +157,7 @@ partial void ProcessDeleteVoiceSettingsPresetResponseContent( PrepareDeleteVoiceSettingsPresetRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - uuid: uuid!); + uuid: uuid); return __httpRequest; } @@ -179,7 +179,7 @@ partial void ProcessDeleteVoiceSettingsPresetResponseContent( pathTemplate: "$\"/voice_settings_presets/{uuid}\"", 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, @@ -213,7 +213,7 @@ partial void ProcessDeleteVoiceSettingsPresetResponseContent( pathTemplate: "$\"/voice_settings_presets/{uuid}\"", 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, @@ -254,7 +254,7 @@ partial void ProcessDeleteVoiceSettingsPresetResponseContent( pathTemplate: "$\"/voice_settings_presets/{uuid}\"", 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, @@ -302,7 +302,7 @@ partial void ProcessDeleteVoiceSettingsPresetResponseContent( pathTemplate: "$\"/voice_settings_presets/{uuid}\"", 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, @@ -324,7 +324,7 @@ partial void ProcessDeleteVoiceSettingsPresetResponseContent( pathTemplate: "$\"/voice_settings_presets/{uuid}\"", 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/ResembleAI/Generated/ResembleAI.VoiceSettingsPresetsClient.GetVoiceSettingsPreset.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.VoiceSettingsPresetsClient.GetVoiceSettingsPreset.g.cs index a7ecd34..230bbe1 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.VoiceSettingsPresetsClient.GetVoiceSettingsPreset.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.VoiceSettingsPresetsClient.GetVoiceSettingsPreset.g.cs @@ -157,7 +157,7 @@ partial void ProcessGetVoiceSettingsPresetResponseContent( PrepareGetVoiceSettingsPresetRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - uuid: uuid!); + uuid: uuid); return __httpRequest; } @@ -179,7 +179,7 @@ partial void ProcessGetVoiceSettingsPresetResponseContent( pathTemplate: "$\"/voice_settings_presets/{uuid}\"", 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, @@ -213,7 +213,7 @@ partial void ProcessGetVoiceSettingsPresetResponseContent( pathTemplate: "$\"/voice_settings_presets/{uuid}\"", 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, @@ -254,7 +254,7 @@ partial void ProcessGetVoiceSettingsPresetResponseContent( pathTemplate: "$\"/voice_settings_presets/{uuid}\"", 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, @@ -302,7 +302,7 @@ partial void ProcessGetVoiceSettingsPresetResponseContent( pathTemplate: "$\"/voice_settings_presets/{uuid}\"", 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 ProcessGetVoiceSettingsPresetResponseContent( pathTemplate: "$\"/voice_settings_presets/{uuid}\"", 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/ResembleAI/Generated/ResembleAI.VoiceSettingsPresetsClient.ListVoiceSettingsPresets.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.VoiceSettingsPresetsClient.ListVoiceSettingsPresets.g.cs index 2ebe51b..a7109dd 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.VoiceSettingsPresetsClient.ListVoiceSettingsPresets.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.VoiceSettingsPresetsClient.ListVoiceSettingsPresets.g.cs @@ -170,7 +170,7 @@ partial void ProcessListVoiceSettingsPresetsResponseContent( pathTemplate: "\"/voice_settings_presets\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -204,7 +204,7 @@ partial void ProcessListVoiceSettingsPresetsResponseContent( pathTemplate: "\"/voice_settings_presets\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -245,7 +245,7 @@ partial void ProcessListVoiceSettingsPresetsResponseContent( pathTemplate: "\"/voice_settings_presets\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -293,7 +293,7 @@ partial void ProcessListVoiceSettingsPresetsResponseContent( pathTemplate: "\"/voice_settings_presets\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -315,7 +315,7 @@ partial void ProcessListVoiceSettingsPresetsResponseContent( pathTemplate: "\"/voice_settings_presets\"", 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/ResembleAI/Generated/ResembleAI.VoiceSettingsPresetsClient.UpdateVoiceSettingsPreset.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.VoiceSettingsPresetsClient.UpdateVoiceSettingsPreset.g.cs index e179851..197d312 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.VoiceSettingsPresetsClient.UpdateVoiceSettingsPreset.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.VoiceSettingsPresetsClient.UpdateVoiceSettingsPreset.g.cs @@ -176,7 +176,7 @@ partial void ProcessUpdateVoiceSettingsPresetResponseContent( PrepareUpdateVoiceSettingsPresetRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - uuid: uuid!, + uuid: uuid, request: request); return __httpRequest; @@ -199,7 +199,7 @@ partial void ProcessUpdateVoiceSettingsPresetResponseContent( pathTemplate: "$\"/voice_settings_presets/{uuid}\"", httpMethod: "PATCH", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -233,7 +233,7 @@ partial void ProcessUpdateVoiceSettingsPresetResponseContent( pathTemplate: "$\"/voice_settings_presets/{uuid}\"", httpMethod: "PATCH", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -274,7 +274,7 @@ partial void ProcessUpdateVoiceSettingsPresetResponseContent( pathTemplate: "$\"/voice_settings_presets/{uuid}\"", httpMethod: "PATCH", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -322,7 +322,7 @@ partial void ProcessUpdateVoiceSettingsPresetResponseContent( pathTemplate: "$\"/voice_settings_presets/{uuid}\"", httpMethod: "PATCH", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -344,7 +344,7 @@ partial void ProcessUpdateVoiceSettingsPresetResponseContent( pathTemplate: "$\"/voice_settings_presets/{uuid}\"", httpMethod: "PATCH", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/ResembleAI/Generated/ResembleAI.VoicesClient.BuildVoice.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.VoicesClient.BuildVoice.g.cs index 1a32cd8..f39c18c 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.VoicesClient.BuildVoice.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.VoicesClient.BuildVoice.g.cs @@ -176,7 +176,7 @@ partial void ProcessBuildVoiceResponseContent( PrepareBuildVoiceRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - voiceUuid: voiceUuid!, + voiceUuid: voiceUuid, request: request); return __httpRequest; @@ -199,7 +199,7 @@ partial void ProcessBuildVoiceResponseContent( pathTemplate: "$\"/voices/{voiceUuid}/build\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -233,7 +233,7 @@ partial void ProcessBuildVoiceResponseContent( pathTemplate: "$\"/voices/{voiceUuid}/build\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -274,7 +274,7 @@ partial void ProcessBuildVoiceResponseContent( pathTemplate: "$\"/voices/{voiceUuid}/build\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -322,7 +322,7 @@ partial void ProcessBuildVoiceResponseContent( pathTemplate: "$\"/voices/{voiceUuid}/build\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -344,7 +344,7 @@ partial void ProcessBuildVoiceResponseContent( pathTemplate: "$\"/voices/{voiceUuid}/build\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/ResembleAI/Generated/ResembleAI.VoicesClient.CreateVoice.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.VoicesClient.CreateVoice.g.cs index bc85347..fe9c46d 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.VoicesClient.CreateVoice.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.VoicesClient.CreateVoice.g.cs @@ -190,7 +190,7 @@ partial void ProcessCreateVoiceResponseContent( pathTemplate: "\"/voices\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -224,7 +224,7 @@ partial void ProcessCreateVoiceResponseContent( pathTemplate: "\"/voices\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -265,7 +265,7 @@ partial void ProcessCreateVoiceResponseContent( pathTemplate: "\"/voices\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -313,7 +313,7 @@ partial void ProcessCreateVoiceResponseContent( pathTemplate: "\"/voices\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCreateVoiceResponseContent( pathTemplate: "\"/voices\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/ResembleAI/Generated/ResembleAI.VoicesClient.DeleteVoice.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.VoicesClient.DeleteVoice.g.cs index 13d0e44..37b80e9 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.VoicesClient.DeleteVoice.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.VoicesClient.DeleteVoice.g.cs @@ -157,7 +157,7 @@ partial void ProcessDeleteVoiceResponseContent( PrepareDeleteVoiceRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - voiceUuid: voiceUuid!); + voiceUuid: voiceUuid); return __httpRequest; } @@ -179,7 +179,7 @@ partial void ProcessDeleteVoiceResponseContent( pathTemplate: "$\"/voices/{voiceUuid}\"", 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, @@ -213,7 +213,7 @@ partial void ProcessDeleteVoiceResponseContent( pathTemplate: "$\"/voices/{voiceUuid}\"", 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, @@ -254,7 +254,7 @@ partial void ProcessDeleteVoiceResponseContent( pathTemplate: "$\"/voices/{voiceUuid}\"", 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, @@ -302,7 +302,7 @@ partial void ProcessDeleteVoiceResponseContent( pathTemplate: "$\"/voices/{voiceUuid}\"", 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, @@ -324,7 +324,7 @@ partial void ProcessDeleteVoiceResponseContent( pathTemplate: "$\"/voices/{voiceUuid}\"", 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/ResembleAI/Generated/ResembleAI.VoicesClient.GetVoice.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.VoicesClient.GetVoice.g.cs index 701ac84..faca232 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.VoicesClient.GetVoice.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.VoicesClient.GetVoice.g.cs @@ -157,7 +157,7 @@ partial void ProcessGetVoiceResponseContent( PrepareGetVoiceRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - voiceUuid: voiceUuid!); + voiceUuid: voiceUuid); return __httpRequest; } @@ -179,7 +179,7 @@ partial void ProcessGetVoiceResponseContent( pathTemplate: "$\"/voices/{voiceUuid}\"", 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, @@ -213,7 +213,7 @@ partial void ProcessGetVoiceResponseContent( pathTemplate: "$\"/voices/{voiceUuid}\"", 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, @@ -254,7 +254,7 @@ partial void ProcessGetVoiceResponseContent( pathTemplate: "$\"/voices/{voiceUuid}\"", 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, @@ -302,7 +302,7 @@ partial void ProcessGetVoiceResponseContent( pathTemplate: "$\"/voices/{voiceUuid}\"", 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 ProcessGetVoiceResponseContent( pathTemplate: "$\"/voices/{voiceUuid}\"", 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/ResembleAI/Generated/ResembleAI.VoicesClient.ListVoices.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.VoicesClient.ListVoices.g.cs index 5901604..516f121 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.VoicesClient.ListVoices.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.VoicesClient.ListVoices.g.cs @@ -146,7 +146,7 @@ partial void ProcessListVoicesResponseContent( servers: s_ListVoicesServers, defaultBaseUrl: "https://app.resemble.ai/api/v2")); __pathBuilder - .AddRequiredParameter("page", page.ToString()!) + .AddRequiredParameter("page", page.ToString() ?? throw new global::System.InvalidOperationException("A required query parameter returned null from ToString().")) .AddOptionalParameter("page_size", pageSize?.ToString()) .AddOptionalParameter("advanced", advanced?.ToString().ToLowerInvariant()) ; @@ -190,7 +190,7 @@ partial void ProcessListVoicesResponseContent( PrepareListVoicesRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - page: page!, + page: page, pageSize: pageSize, advanced: advanced); @@ -214,7 +214,7 @@ partial void ProcessListVoicesResponseContent( pathTemplate: "\"/voices\"", 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 ProcessListVoicesResponseContent( pathTemplate: "\"/voices\"", 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 ProcessListVoicesResponseContent( pathTemplate: "\"/voices\"", 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 ProcessListVoicesResponseContent( pathTemplate: "\"/voices\"", 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 ProcessListVoicesResponseContent( pathTemplate: "\"/voices\"", 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/ResembleAI/Generated/ResembleAI.WatermarkClient.ApplyWatermark.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.WatermarkClient.ApplyWatermark.g.cs index 2ea3284..53814df 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.WatermarkClient.ApplyWatermark.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.WatermarkClient.ApplyWatermark.g.cs @@ -205,7 +205,7 @@ partial void ProcessApplyWatermarkResponseContent( pathTemplate: "\"/watermark/apply\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -239,7 +239,7 @@ partial void ProcessApplyWatermarkResponseContent( pathTemplate: "\"/watermark/apply\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -280,7 +280,7 @@ partial void ProcessApplyWatermarkResponseContent( pathTemplate: "\"/watermark/apply\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -328,7 +328,7 @@ partial void ProcessApplyWatermarkResponseContent( pathTemplate: "\"/watermark/apply\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -350,7 +350,7 @@ partial void ProcessApplyWatermarkResponseContent( pathTemplate: "\"/watermark/apply\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/ResembleAI/Generated/ResembleAI.WatermarkClient.DetectWatermark.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.WatermarkClient.DetectWatermark.g.cs index 4de163f..f3afde4 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.WatermarkClient.DetectWatermark.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.WatermarkClient.DetectWatermark.g.cs @@ -205,7 +205,7 @@ partial void ProcessDetectWatermarkResponseContent( pathTemplate: "\"/watermark/detect\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -239,7 +239,7 @@ partial void ProcessDetectWatermarkResponseContent( pathTemplate: "\"/watermark/detect\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -280,7 +280,7 @@ partial void ProcessDetectWatermarkResponseContent( pathTemplate: "\"/watermark/detect\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -328,7 +328,7 @@ partial void ProcessDetectWatermarkResponseContent( pathTemplate: "\"/watermark/detect\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -350,7 +350,7 @@ partial void ProcessDetectWatermarkResponseContent( pathTemplate: "\"/watermark/detect\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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/ResembleAI/Generated/ResembleAI.WatermarkClient.GetWatermarkApplyResult.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.WatermarkClient.GetWatermarkApplyResult.g.cs index 5e4e6f1..18ff17b 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.WatermarkClient.GetWatermarkApplyResult.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.WatermarkClient.GetWatermarkApplyResult.g.cs @@ -157,7 +157,7 @@ partial void ProcessGetWatermarkApplyResultResponseContent( PrepareGetWatermarkApplyResultRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - uuid: uuid!); + uuid: uuid); return __httpRequest; } @@ -179,7 +179,7 @@ partial void ProcessGetWatermarkApplyResultResponseContent( pathTemplate: "$\"/watermark/apply/{uuid}/result\"", 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, @@ -213,7 +213,7 @@ partial void ProcessGetWatermarkApplyResultResponseContent( pathTemplate: "$\"/watermark/apply/{uuid}/result\"", 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, @@ -254,7 +254,7 @@ partial void ProcessGetWatermarkApplyResultResponseContent( pathTemplate: "$\"/watermark/apply/{uuid}/result\"", 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, @@ -302,7 +302,7 @@ partial void ProcessGetWatermarkApplyResultResponseContent( pathTemplate: "$\"/watermark/apply/{uuid}/result\"", 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 ProcessGetWatermarkApplyResultResponseContent( pathTemplate: "$\"/watermark/apply/{uuid}/result\"", 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/ResembleAI/Generated/ResembleAI.WatermarkClient.GetWatermarkDetectionResult.g.cs b/src/libs/ResembleAI/Generated/ResembleAI.WatermarkClient.GetWatermarkDetectionResult.g.cs index 32037a9..6b16af7 100644 --- a/src/libs/ResembleAI/Generated/ResembleAI.WatermarkClient.GetWatermarkDetectionResult.g.cs +++ b/src/libs/ResembleAI/Generated/ResembleAI.WatermarkClient.GetWatermarkDetectionResult.g.cs @@ -157,7 +157,7 @@ partial void ProcessGetWatermarkDetectionResultResponseContent( PrepareGetWatermarkDetectionResultRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - uuid: uuid!); + uuid: uuid); return __httpRequest; } @@ -179,7 +179,7 @@ partial void ProcessGetWatermarkDetectionResultResponseContent( pathTemplate: "$\"/watermark/detect/{uuid}/result\"", 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, @@ -213,7 +213,7 @@ partial void ProcessGetWatermarkDetectionResultResponseContent( pathTemplate: "$\"/watermark/detect/{uuid}/result\"", 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, @@ -254,7 +254,7 @@ partial void ProcessGetWatermarkDetectionResultResponseContent( pathTemplate: "$\"/watermark/detect/{uuid}/result\"", 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, @@ -302,7 +302,7 @@ partial void ProcessGetWatermarkDetectionResultResponseContent( pathTemplate: "$\"/watermark/detect/{uuid}/result\"", 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 ProcessGetWatermarkDetectionResultResponseContent( pathTemplate: "$\"/watermark/detect/{uuid}/result\"", 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,