diff --git a/src/libs/Speechify/Generated/Speechify.AdminClient.ForceEnd.g.cs b/src/libs/Speechify/Generated/Speechify.AdminClient.ForceEnd.g.cs index 52bb1bbe..5aafa712 100644 --- a/src/libs/Speechify/Generated/Speechify.AdminClient.ForceEnd.g.cs +++ b/src/libs/Speechify/Generated/Speechify.AdminClient.ForceEnd.g.cs @@ -173,7 +173,7 @@ partial void ProcessForceEndResponseContent( PrepareForceEndRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - conversationId: conversationId!, + conversationId: conversationId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -196,7 +196,7 @@ partial void ProcessForceEndResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/end\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessForceEndResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/end\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessForceEndResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/end\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessForceEndResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/end\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessForceEndResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/end\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.AdminClient.ShadowToken.g.cs b/src/libs/Speechify/Generated/Speechify.AdminClient.ShadowToken.g.cs index ba000ec0..f689c263 100644 --- a/src/libs/Speechify/Generated/Speechify.AdminClient.ShadowToken.g.cs +++ b/src/libs/Speechify/Generated/Speechify.AdminClient.ShadowToken.g.cs @@ -177,7 +177,7 @@ partial void ProcessShadowTokenResponseContent( PrepareShadowTokenRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - conversationId: conversationId!, + conversationId: conversationId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -200,7 +200,7 @@ partial void ProcessShadowTokenResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/shadow-token\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessShadowTokenResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/shadow-token\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessShadowTokenResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/shadow-token\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessShadowTokenResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/shadow-token\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessShadowTokenResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/shadow-token\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.AgentClient.AttachKnowledgeBase.g.cs b/src/libs/Speechify/Generated/Speechify.AgentClient.AttachKnowledgeBase.g.cs index 93b9d32e..7a3b9dbd 100644 --- a/src/libs/Speechify/Generated/Speechify.AgentClient.AttachKnowledgeBase.g.cs +++ b/src/libs/Speechify/Generated/Speechify.AgentClient.AttachKnowledgeBase.g.cs @@ -173,8 +173,8 @@ partial void ProcessAttachKnowledgeBaseResponseContent( PrepareAttachKnowledgeBaseRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - agentId: agentId!, - kbId: kbId!, + agentId: agentId, + kbId: kbId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -197,7 +197,7 @@ partial void ProcessAttachKnowledgeBaseResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/knowledge-bases/{kbId}\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -231,7 +231,7 @@ partial void ProcessAttachKnowledgeBaseResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/knowledge-bases/{kbId}\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -272,7 +272,7 @@ partial void ProcessAttachKnowledgeBaseResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/knowledge-bases/{kbId}\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -320,7 +320,7 @@ partial void ProcessAttachKnowledgeBaseResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/knowledge-bases/{kbId}\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -342,7 +342,7 @@ partial void ProcessAttachKnowledgeBaseResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/knowledge-bases/{kbId}\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.AgentClient.AttachTool.g.cs b/src/libs/Speechify/Generated/Speechify.AgentClient.AttachTool.g.cs index 0aba9458..bb37af75 100644 --- a/src/libs/Speechify/Generated/Speechify.AgentClient.AttachTool.g.cs +++ b/src/libs/Speechify/Generated/Speechify.AgentClient.AttachTool.g.cs @@ -173,8 +173,8 @@ partial void ProcessAttachToolResponseContent( PrepareAttachToolRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - agentId: agentId!, - toolId: toolId!, + agentId: agentId, + toolId: toolId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -197,7 +197,7 @@ partial void ProcessAttachToolResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/tools/{toolId}\"", 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, @@ -231,7 +231,7 @@ partial void ProcessAttachToolResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/tools/{toolId}\"", 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, @@ -272,7 +272,7 @@ partial void ProcessAttachToolResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/tools/{toolId}\"", 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, @@ -320,7 +320,7 @@ partial void ProcessAttachToolResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/tools/{toolId}\"", 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, @@ -342,7 +342,7 @@ partial void ProcessAttachToolResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/tools/{toolId}\"", 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/Speechify/Generated/Speechify.AgentClient.Create.g.cs b/src/libs/Speechify/Generated/Speechify.AgentClient.Create.g.cs index d5e44218..a9da360a 100644 --- a/src/libs/Speechify/Generated/Speechify.AgentClient.Create.g.cs +++ b/src/libs/Speechify/Generated/Speechify.AgentClient.Create.g.cs @@ -205,7 +205,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "\"/v1/agents\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCreateResponseContent( pathTemplate: "\"/v1/agents\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCreateResponseContent( pathTemplate: "\"/v1/agents\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCreateResponseContent( pathTemplate: "\"/v1/agents\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCreateResponseContent( pathTemplate: "\"/v1/agents\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.AgentClient.CreateConversation.g.cs b/src/libs/Speechify/Generated/Speechify.AgentClient.CreateConversation.g.cs index 9425d029..5f81df0d 100644 --- a/src/libs/Speechify/Generated/Speechify.AgentClient.CreateConversation.g.cs +++ b/src/libs/Speechify/Generated/Speechify.AgentClient.CreateConversation.g.cs @@ -230,7 +230,7 @@ partial void ProcessCreateConversationResponseContent( PrepareCreateConversationRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - agentId: agentId!, + agentId: agentId, speechifyVersion: speechifyVersion, idempotencyKey: idempotencyKey, request: request); @@ -255,7 +255,7 @@ partial void ProcessCreateConversationResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/conversations\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 @@ partial void ProcessCreateConversationResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/conversations\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 @@ partial void ProcessCreateConversationResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/conversations\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 @@ partial void ProcessCreateConversationResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/conversations\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -400,7 +400,7 @@ partial void ProcessCreateConversationResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/conversations\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.AgentClient.CreateSession.g.cs b/src/libs/Speechify/Generated/Speechify.AgentClient.CreateSession.g.cs index c015861a..39d62f9b 100644 --- a/src/libs/Speechify/Generated/Speechify.AgentClient.CreateSession.g.cs +++ b/src/libs/Speechify/Generated/Speechify.AgentClient.CreateSession.g.cs @@ -230,7 +230,7 @@ partial void ProcessCreateSessionResponseContent( PrepareCreateSessionRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - agentId: agentId!, + agentId: agentId, speechifyVersion: speechifyVersion, idempotencyKey: idempotencyKey, request: request); @@ -255,7 +255,7 @@ partial void ProcessCreateSessionResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/sessions\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 @@ partial void ProcessCreateSessionResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/sessions\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 @@ partial void ProcessCreateSessionResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/sessions\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 @@ partial void ProcessCreateSessionResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/sessions\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -400,7 +400,7 @@ partial void ProcessCreateSessionResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/sessions\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.AgentClient.CreateTool.g.cs b/src/libs/Speechify/Generated/Speechify.AgentClient.CreateTool.g.cs index 11beab21..4e2fc052 100644 --- a/src/libs/Speechify/Generated/Speechify.AgentClient.CreateTool.g.cs +++ b/src/libs/Speechify/Generated/Speechify.AgentClient.CreateTool.g.cs @@ -214,7 +214,7 @@ partial void ProcessCreateToolResponseContent( PrepareCreateToolRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - agentId: agentId!, + agentId: agentId, speechifyVersion: speechifyVersion, request: request); @@ -238,7 +238,7 @@ partial void ProcessCreateToolResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/tools\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 @@ partial void ProcessCreateToolResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/tools\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 @@ partial void ProcessCreateToolResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/tools\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -361,7 +361,7 @@ partial void ProcessCreateToolResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/tools\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -383,7 +383,7 @@ partial void ProcessCreateToolResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/tools\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.AgentClient.Delete.g.cs b/src/libs/Speechify/Generated/Speechify.AgentClient.Delete.g.cs index e35bdd9a..a67be57c 100644 --- a/src/libs/Speechify/Generated/Speechify.AgentClient.Delete.g.cs +++ b/src/libs/Speechify/Generated/Speechify.AgentClient.Delete.g.cs @@ -201,7 +201,7 @@ partial void ProcessDeleteResponseContent( PrepareDeleteRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - agentId: agentId!, + agentId: agentId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -224,7 +224,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/agents/{agentId}\"", 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, @@ -258,7 +258,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/agents/{agentId}\"", 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, @@ -299,7 +299,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/agents/{agentId}\"", 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, @@ -347,7 +347,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/agents/{agentId}\"", 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, @@ -369,7 +369,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/agents/{agentId}\"", 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/Speechify/Generated/Speechify.AgentClient.DeleteTool.g.cs b/src/libs/Speechify/Generated/Speechify.AgentClient.DeleteTool.g.cs index 7a46d39b..da854db0 100644 --- a/src/libs/Speechify/Generated/Speechify.AgentClient.DeleteTool.g.cs +++ b/src/libs/Speechify/Generated/Speechify.AgentClient.DeleteTool.g.cs @@ -185,8 +185,8 @@ partial void ProcessDeleteToolResponseContent( PrepareDeleteToolRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - agentId: agentId!, - toolId: toolId!, + agentId: agentId, + toolId: toolId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -209,7 +209,7 @@ partial void ProcessDeleteToolResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/tools/{toolId}\"", 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, @@ -243,7 +243,7 @@ partial void ProcessDeleteToolResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/tools/{toolId}\"", 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, @@ -284,7 +284,7 @@ partial void ProcessDeleteToolResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/tools/{toolId}\"", 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, @@ -332,7 +332,7 @@ partial void ProcessDeleteToolResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/tools/{toolId}\"", 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, @@ -354,7 +354,7 @@ partial void ProcessDeleteToolResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/tools/{toolId}\"", 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/Speechify/Generated/Speechify.AgentClient.DetachKnowledgeBase.g.cs b/src/libs/Speechify/Generated/Speechify.AgentClient.DetachKnowledgeBase.g.cs index 316b6084..234e8ad8 100644 --- a/src/libs/Speechify/Generated/Speechify.AgentClient.DetachKnowledgeBase.g.cs +++ b/src/libs/Speechify/Generated/Speechify.AgentClient.DetachKnowledgeBase.g.cs @@ -169,8 +169,8 @@ partial void ProcessDetachKnowledgeBaseResponseContent( PrepareDetachKnowledgeBaseRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - agentId: agentId!, - kbId: kbId!, + agentId: agentId, + kbId: kbId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -193,7 +193,7 @@ partial void ProcessDetachKnowledgeBaseResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/knowledge-bases/{kbId}\"", 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, @@ -227,7 +227,7 @@ partial void ProcessDetachKnowledgeBaseResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/knowledge-bases/{kbId}\"", 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, @@ -268,7 +268,7 @@ partial void ProcessDetachKnowledgeBaseResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/knowledge-bases/{kbId}\"", 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, @@ -316,7 +316,7 @@ partial void ProcessDetachKnowledgeBaseResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/knowledge-bases/{kbId}\"", 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, @@ -338,7 +338,7 @@ partial void ProcessDetachKnowledgeBaseResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/knowledge-bases/{kbId}\"", 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/Speechify/Generated/Speechify.AgentClient.Get.g.cs b/src/libs/Speechify/Generated/Speechify.AgentClient.Get.g.cs index 0f8ce2bc..242f0b21 100644 --- a/src/libs/Speechify/Generated/Speechify.AgentClient.Get.g.cs +++ b/src/libs/Speechify/Generated/Speechify.AgentClient.Get.g.cs @@ -161,7 +161,7 @@ partial void ProcessGetResponseContent( PrepareGetRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - agentId: agentId!, + agentId: agentId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -184,7 +184,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/{agentId}\"", httpMethod: "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, @@ -218,7 +218,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/{agentId}\"", httpMethod: "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, @@ -259,7 +259,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/{agentId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -307,7 +307,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/{agentId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -329,7 +329,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/{agentId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.AgentClient.GetDynamicVariables.g.cs b/src/libs/Speechify/Generated/Speechify.AgentClient.GetDynamicVariables.g.cs index 81b768c9..83dba54e 100644 --- a/src/libs/Speechify/Generated/Speechify.AgentClient.GetDynamicVariables.g.cs +++ b/src/libs/Speechify/Generated/Speechify.AgentClient.GetDynamicVariables.g.cs @@ -167,7 +167,7 @@ partial void ProcessGetDynamicVariablesResponseContent( PrepareGetDynamicVariablesRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - agentId: agentId!, + agentId: agentId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -190,7 +190,7 @@ partial void ProcessGetDynamicVariablesResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/variables\"", httpMethod: "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 ProcessGetDynamicVariablesResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/variables\"", httpMethod: "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 ProcessGetDynamicVariablesResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/variables\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetDynamicVariablesResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/variables\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetDynamicVariablesResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/variables\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.AgentClient.GetEvaluationConfig.g.cs b/src/libs/Speechify/Generated/Speechify.AgentClient.GetEvaluationConfig.g.cs index 7e483abc..4423aa87 100644 --- a/src/libs/Speechify/Generated/Speechify.AgentClient.GetEvaluationConfig.g.cs +++ b/src/libs/Speechify/Generated/Speechify.AgentClient.GetEvaluationConfig.g.cs @@ -161,7 +161,7 @@ partial void ProcessGetEvaluationConfigResponseContent( PrepareGetEvaluationConfigRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - agentId: agentId!, + agentId: agentId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -184,7 +184,7 @@ partial void ProcessGetEvaluationConfigResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/evaluation-config\"", httpMethod: "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, @@ -218,7 +218,7 @@ partial void ProcessGetEvaluationConfigResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/evaluation-config\"", httpMethod: "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, @@ -259,7 +259,7 @@ partial void ProcessGetEvaluationConfigResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/evaluation-config\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -307,7 +307,7 @@ partial void ProcessGetEvaluationConfigResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/evaluation-config\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -329,7 +329,7 @@ partial void ProcessGetEvaluationConfigResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/evaluation-config\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.AgentClient.GetTool.g.cs b/src/libs/Speechify/Generated/Speechify.AgentClient.GetTool.g.cs index 94ef4733..3bab7ea7 100644 --- a/src/libs/Speechify/Generated/Speechify.AgentClient.GetTool.g.cs +++ b/src/libs/Speechify/Generated/Speechify.AgentClient.GetTool.g.cs @@ -169,8 +169,8 @@ partial void ProcessGetToolResponseContent( PrepareGetToolRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - agentId: agentId!, - toolId: toolId!, + agentId: agentId, + toolId: toolId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -193,7 +193,7 @@ partial void ProcessGetToolResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/tools/{toolId}\"", httpMethod: "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, @@ -227,7 +227,7 @@ partial void ProcessGetToolResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/tools/{toolId}\"", httpMethod: "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, @@ -268,7 +268,7 @@ partial void ProcessGetToolResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/tools/{toolId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -316,7 +316,7 @@ partial void ProcessGetToolResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/tools/{toolId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetToolResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/tools/{toolId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.AgentClient.GetWidgetConfig.g.cs b/src/libs/Speechify/Generated/Speechify.AgentClient.GetWidgetConfig.g.cs index 57323d36..c9489256 100644 --- a/src/libs/Speechify/Generated/Speechify.AgentClient.GetWidgetConfig.g.cs +++ b/src/libs/Speechify/Generated/Speechify.AgentClient.GetWidgetConfig.g.cs @@ -163,7 +163,7 @@ partial void ProcessGetWidgetConfigResponseContent( PrepareGetWidgetConfigRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - agentId: agentId!, + agentId: agentId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -186,7 +186,7 @@ partial void ProcessGetWidgetConfigResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/widget-config\"", httpMethod: "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, @@ -220,7 +220,7 @@ partial void ProcessGetWidgetConfigResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/widget-config\"", httpMethod: "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, @@ -261,7 +261,7 @@ partial void ProcessGetWidgetConfigResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/widget-config\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -309,7 +309,7 @@ partial void ProcessGetWidgetConfigResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/widget-config\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetWidgetConfigResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/widget-config\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.AgentClient.List.g.cs b/src/libs/Speechify/Generated/Speechify.AgentClient.List.g.cs index b6edc237..71256d8a 100644 --- a/src/libs/Speechify/Generated/Speechify.AgentClient.List.g.cs +++ b/src/libs/Speechify/Generated/Speechify.AgentClient.List.g.cs @@ -215,7 +215,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/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, @@ -249,7 +249,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/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, @@ -290,7 +290,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/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, @@ -338,7 +338,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/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, @@ -360,7 +360,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/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/Speechify/Generated/Speechify.AgentClient.ListAgentKnowledgeBases.g.cs b/src/libs/Speechify/Generated/Speechify.AgentClient.ListAgentKnowledgeBases.g.cs index 48310259..d2479fc1 100644 --- a/src/libs/Speechify/Generated/Speechify.AgentClient.ListAgentKnowledgeBases.g.cs +++ b/src/libs/Speechify/Generated/Speechify.AgentClient.ListAgentKnowledgeBases.g.cs @@ -189,7 +189,7 @@ partial void ProcessListAgentKnowledgeBasesResponseContent( PrepareListAgentKnowledgeBasesRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - agentId: agentId!, + agentId: agentId, cursor: cursor, limit: limit, speechifyVersion: speechifyVersion); @@ -214,7 +214,7 @@ partial void ProcessListAgentKnowledgeBasesResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/knowledge-bases\"", httpMethod: "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 ProcessListAgentKnowledgeBasesResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/knowledge-bases\"", httpMethod: "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 ProcessListAgentKnowledgeBasesResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/knowledge-bases\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessListAgentKnowledgeBasesResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/knowledge-bases\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessListAgentKnowledgeBasesResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/knowledge-bases\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.AgentClient.ListAgentVoices.g.cs b/src/libs/Speechify/Generated/Speechify.AgentClient.ListAgentVoices.g.cs index bf273067..b4f279d0 100644 --- a/src/libs/Speechify/Generated/Speechify.AgentClient.ListAgentVoices.g.cs +++ b/src/libs/Speechify/Generated/Speechify.AgentClient.ListAgentVoices.g.cs @@ -227,7 +227,7 @@ partial void ProcessListAgentVoicesResponseContent( pathTemplate: "\"/v1/agents/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, @@ -261,7 +261,7 @@ partial void ProcessListAgentVoicesResponseContent( pathTemplate: "\"/v1/agents/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, @@ -302,7 +302,7 @@ partial void ProcessListAgentVoicesResponseContent( pathTemplate: "\"/v1/agents/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, @@ -350,7 +350,7 @@ partial void ProcessListAgentVoicesResponseContent( pathTemplate: "\"/v1/agents/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, @@ -372,7 +372,7 @@ partial void ProcessListAgentVoicesResponseContent( pathTemplate: "\"/v1/agents/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/Speechify/Generated/Speechify.AgentClient.ListMemories.g.cs b/src/libs/Speechify/Generated/Speechify.AgentClient.ListMemories.g.cs index 40330ac9..8ecc69cb 100644 --- a/src/libs/Speechify/Generated/Speechify.AgentClient.ListMemories.g.cs +++ b/src/libs/Speechify/Generated/Speechify.AgentClient.ListMemories.g.cs @@ -193,7 +193,7 @@ partial void ProcessListMemoriesResponseContent( PrepareListMemoriesRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - agentId: agentId!, + agentId: agentId, cursor: cursor, limit: limit, speechifyVersion: speechifyVersion); @@ -218,7 +218,7 @@ partial void ProcessListMemoriesResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/memories\"", httpMethod: "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, @@ -252,7 +252,7 @@ partial void ProcessListMemoriesResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/memories\"", httpMethod: "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, @@ -293,7 +293,7 @@ partial void ProcessListMemoriesResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/memories\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessListMemoriesResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/memories\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -363,7 +363,7 @@ partial void ProcessListMemoriesResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/memories\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.AgentClient.ListTTSModels.g.cs b/src/libs/Speechify/Generated/Speechify.AgentClient.ListTTSModels.g.cs index bfaae855..0604cdf0 100644 --- a/src/libs/Speechify/Generated/Speechify.AgentClient.ListTTSModels.g.cs +++ b/src/libs/Speechify/Generated/Speechify.AgentClient.ListTTSModels.g.cs @@ -211,7 +211,7 @@ partial void ProcessListTTSModelsResponseContent( pathTemplate: "\"/v1/agents/tts-models\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -245,7 +245,7 @@ partial void ProcessListTTSModelsResponseContent( pathTemplate: "\"/v1/agents/tts-models\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -286,7 +286,7 @@ partial void ProcessListTTSModelsResponseContent( pathTemplate: "\"/v1/agents/tts-models\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -334,7 +334,7 @@ partial void ProcessListTTSModelsResponseContent( pathTemplate: "\"/v1/agents/tts-models\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -356,7 +356,7 @@ partial void ProcessListTTSModelsResponseContent( pathTemplate: "\"/v1/agents/tts-models\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.AgentClient.ListToolCapabilities.g.cs b/src/libs/Speechify/Generated/Speechify.AgentClient.ListToolCapabilities.g.cs index 22146d7a..14528787 100644 --- a/src/libs/Speechify/Generated/Speechify.AgentClient.ListToolCapabilities.g.cs +++ b/src/libs/Speechify/Generated/Speechify.AgentClient.ListToolCapabilities.g.cs @@ -193,7 +193,7 @@ partial void ProcessListToolCapabilitiesResponseContent( pathTemplate: "\"/v1/agents/tool-capabilities\"", httpMethod: "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, @@ -227,7 +227,7 @@ partial void ProcessListToolCapabilitiesResponseContent( pathTemplate: "\"/v1/agents/tool-capabilities\"", httpMethod: "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, @@ -268,7 +268,7 @@ partial void ProcessListToolCapabilitiesResponseContent( pathTemplate: "\"/v1/agents/tool-capabilities\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -316,7 +316,7 @@ partial void ProcessListToolCapabilitiesResponseContent( pathTemplate: "\"/v1/agents/tool-capabilities\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessListToolCapabilitiesResponseContent( pathTemplate: "\"/v1/agents/tool-capabilities\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.AgentClient.ListTools.g.cs b/src/libs/Speechify/Generated/Speechify.AgentClient.ListTools.g.cs index fca230e1..eded4dbd 100644 --- a/src/libs/Speechify/Generated/Speechify.AgentClient.ListTools.g.cs +++ b/src/libs/Speechify/Generated/Speechify.AgentClient.ListTools.g.cs @@ -193,7 +193,7 @@ partial void ProcessListToolsResponseContent( PrepareListToolsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - agentId: agentId!, + agentId: agentId, cursor: cursor, limit: limit, speechifyVersion: speechifyVersion); @@ -218,7 +218,7 @@ partial void ProcessListToolsResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/tools\"", httpMethod: "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, @@ -252,7 +252,7 @@ partial void ProcessListToolsResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/tools\"", httpMethod: "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, @@ -293,7 +293,7 @@ partial void ProcessListToolsResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/tools\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessListToolsResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/tools\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -363,7 +363,7 @@ partial void ProcessListToolsResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/tools\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.AgentClient.Publish.g.cs b/src/libs/Speechify/Generated/Speechify.AgentClient.Publish.g.cs index ab64737e..3049caf8 100644 --- a/src/libs/Speechify/Generated/Speechify.AgentClient.Publish.g.cs +++ b/src/libs/Speechify/Generated/Speechify.AgentClient.Publish.g.cs @@ -232,7 +232,7 @@ partial void ProcessPublishResponseContent( PreparePublishRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - agentId: agentId!, + agentId: agentId, speechifyVersion: speechifyVersion, idempotencyKey: idempotencyKey, request: request); @@ -257,7 +257,7 @@ partial void ProcessPublishResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/publish\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -291,7 +291,7 @@ partial void ProcessPublishResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/publish\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -332,7 +332,7 @@ partial void ProcessPublishResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/publish\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -380,7 +380,7 @@ partial void ProcessPublishResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/publish\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -402,7 +402,7 @@ partial void ProcessPublishResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/publish\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.AgentClient.RunAllTests.g.cs b/src/libs/Speechify/Generated/Speechify.AgentClient.RunAllTests.g.cs index b93b353a..85711107 100644 --- a/src/libs/Speechify/Generated/Speechify.AgentClient.RunAllTests.g.cs +++ b/src/libs/Speechify/Generated/Speechify.AgentClient.RunAllTests.g.cs @@ -224,7 +224,7 @@ partial void ProcessRunAllTestsResponseContent( PrepareRunAllTestsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - agentId: agentId!, + agentId: agentId, speechifyVersion: speechifyVersion, idempotencyKey: idempotencyKey, request: request); @@ -249,7 +249,7 @@ partial void ProcessRunAllTestsResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/tests/runs\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -283,7 +283,7 @@ partial void ProcessRunAllTestsResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/tests/runs\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -324,7 +324,7 @@ partial void ProcessRunAllTestsResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/tests/runs\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -372,7 +372,7 @@ partial void ProcessRunAllTestsResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/tests/runs\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -394,7 +394,7 @@ partial void ProcessRunAllTestsResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/tests/runs\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.AgentClient.Update.g.cs b/src/libs/Speechify/Generated/Speechify.AgentClient.Update.g.cs index 30b73610..8405fc8d 100644 --- a/src/libs/Speechify/Generated/Speechify.AgentClient.Update.g.cs +++ b/src/libs/Speechify/Generated/Speechify.AgentClient.Update.g.cs @@ -180,7 +180,7 @@ partial void ProcessUpdateResponseContent( PrepareUpdateRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - agentId: agentId!, + agentId: agentId, speechifyVersion: speechifyVersion, request: request); @@ -204,7 +204,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/agents/{agentId}\"", 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, @@ -238,7 +238,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/agents/{agentId}\"", 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, @@ -279,7 +279,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/agents/{agentId}\"", 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, @@ -327,7 +327,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/agents/{agentId}\"", 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, @@ -349,7 +349,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/agents/{agentId}\"", 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/Speechify/Generated/Speechify.AgentClient.UpdateDynamicVariables.g.cs b/src/libs/Speechify/Generated/Speechify.AgentClient.UpdateDynamicVariables.g.cs index 9011fbaa..59680920 100644 --- a/src/libs/Speechify/Generated/Speechify.AgentClient.UpdateDynamicVariables.g.cs +++ b/src/libs/Speechify/Generated/Speechify.AgentClient.UpdateDynamicVariables.g.cs @@ -190,7 +190,7 @@ partial void ProcessUpdateDynamicVariablesResponseContent( PrepareUpdateDynamicVariablesRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - agentId: agentId!, + agentId: agentId, speechifyVersion: speechifyVersion, request: request); @@ -214,7 +214,7 @@ partial void ProcessUpdateDynamicVariablesResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/variables\"", 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, @@ -248,7 +248,7 @@ partial void ProcessUpdateDynamicVariablesResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/variables\"", 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, @@ -289,7 +289,7 @@ partial void ProcessUpdateDynamicVariablesResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/variables\"", 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, @@ -337,7 +337,7 @@ partial void ProcessUpdateDynamicVariablesResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/variables\"", 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, @@ -359,7 +359,7 @@ partial void ProcessUpdateDynamicVariablesResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/variables\"", 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/Speechify/Generated/Speechify.AgentClient.UpdateEvaluationConfig.g.cs b/src/libs/Speechify/Generated/Speechify.AgentClient.UpdateEvaluationConfig.g.cs index 140114c3..e64de8fd 100644 --- a/src/libs/Speechify/Generated/Speechify.AgentClient.UpdateEvaluationConfig.g.cs +++ b/src/libs/Speechify/Generated/Speechify.AgentClient.UpdateEvaluationConfig.g.cs @@ -180,7 +180,7 @@ partial void ProcessUpdateEvaluationConfigResponseContent( PrepareUpdateEvaluationConfigRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - agentId: agentId!, + agentId: agentId, speechifyVersion: speechifyVersion, request: request); @@ -204,7 +204,7 @@ partial void ProcessUpdateEvaluationConfigResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/evaluation-config\"", 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, @@ -238,7 +238,7 @@ partial void ProcessUpdateEvaluationConfigResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/evaluation-config\"", 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, @@ -279,7 +279,7 @@ partial void ProcessUpdateEvaluationConfigResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/evaluation-config\"", 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, @@ -327,7 +327,7 @@ partial void ProcessUpdateEvaluationConfigResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/evaluation-config\"", 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, @@ -349,7 +349,7 @@ partial void ProcessUpdateEvaluationConfigResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/evaluation-config\"", 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/Speechify/Generated/Speechify.AgentClient.UpdateTool.g.cs b/src/libs/Speechify/Generated/Speechify.AgentClient.UpdateTool.g.cs index 5828af11..cedcecba 100644 --- a/src/libs/Speechify/Generated/Speechify.AgentClient.UpdateTool.g.cs +++ b/src/libs/Speechify/Generated/Speechify.AgentClient.UpdateTool.g.cs @@ -210,8 +210,8 @@ partial void ProcessUpdateToolResponseContent( PrepareUpdateToolRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - agentId: agentId!, - toolId: toolId!, + agentId: agentId, + toolId: toolId, speechifyVersion: speechifyVersion, request: request); @@ -235,7 +235,7 @@ partial void ProcessUpdateToolResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/tools/{toolId}\"", 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, @@ -269,7 +269,7 @@ partial void ProcessUpdateToolResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/tools/{toolId}\"", 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, @@ -310,7 +310,7 @@ partial void ProcessUpdateToolResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/tools/{toolId}\"", 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, @@ -358,7 +358,7 @@ partial void ProcessUpdateToolResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/tools/{toolId}\"", 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, @@ -380,7 +380,7 @@ partial void ProcessUpdateToolResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/tools/{toolId}\"", 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/Speechify/Generated/Speechify.AgentsClient.AttachSkill.g.cs b/src/libs/Speechify/Generated/Speechify.AgentsClient.AttachSkill.g.cs index 9bcdb4f1..0f36a0ee 100644 --- a/src/libs/Speechify/Generated/Speechify.AgentsClient.AttachSkill.g.cs +++ b/src/libs/Speechify/Generated/Speechify.AgentsClient.AttachSkill.g.cs @@ -210,8 +210,8 @@ partial void ProcessAttachSkillResponseContent( PrepareAttachSkillRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - agentId: agentId!, - skillId: skillId!, + agentId: agentId, + skillId: skillId, speechifyVersion: speechifyVersion, request: request); @@ -235,7 +235,7 @@ partial void ProcessAttachSkillResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/skills/{skillId}\"", 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, @@ -269,7 +269,7 @@ partial void ProcessAttachSkillResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/skills/{skillId}\"", 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, @@ -310,7 +310,7 @@ partial void ProcessAttachSkillResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/skills/{skillId}\"", 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, @@ -358,7 +358,7 @@ partial void ProcessAttachSkillResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/skills/{skillId}\"", 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, @@ -380,7 +380,7 @@ partial void ProcessAttachSkillResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/skills/{skillId}\"", 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/Speechify/Generated/Speechify.AgentsClient.DetachSkill.g.cs b/src/libs/Speechify/Generated/Speechify.AgentsClient.DetachSkill.g.cs index 71f6a93f..556911a5 100644 --- a/src/libs/Speechify/Generated/Speechify.AgentsClient.DetachSkill.g.cs +++ b/src/libs/Speechify/Generated/Speechify.AgentsClient.DetachSkill.g.cs @@ -173,8 +173,8 @@ partial void ProcessDetachSkillResponseContent( PrepareDetachSkillRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - agentId: agentId!, - skillId: skillId!, + agentId: agentId, + skillId: skillId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -197,7 +197,7 @@ partial void ProcessDetachSkillResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/skills/{skillId}\"", 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, @@ -231,7 +231,7 @@ partial void ProcessDetachSkillResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/skills/{skillId}\"", 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, @@ -272,7 +272,7 @@ partial void ProcessDetachSkillResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/skills/{skillId}\"", 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, @@ -320,7 +320,7 @@ partial void ProcessDetachSkillResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/skills/{skillId}\"", 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, @@ -342,7 +342,7 @@ partial void ProcessDetachSkillResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/skills/{skillId}\"", 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/Speechify/Generated/Speechify.AgentsClient.ListSkills.g.cs b/src/libs/Speechify/Generated/Speechify.AgentsClient.ListSkills.g.cs index 8c64c321..f43631ec 100644 --- a/src/libs/Speechify/Generated/Speechify.AgentsClient.ListSkills.g.cs +++ b/src/libs/Speechify/Generated/Speechify.AgentsClient.ListSkills.g.cs @@ -195,7 +195,7 @@ partial void ProcessListSkillsResponseContent( PrepareListSkillsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - agentId: agentId!, + agentId: agentId, cursor: cursor, limit: limit, speechifyVersion: speechifyVersion); @@ -220,7 +220,7 @@ partial void ProcessListSkillsResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/skills\"", httpMethod: "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, @@ -254,7 +254,7 @@ partial void ProcessListSkillsResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/skills\"", httpMethod: "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, @@ -295,7 +295,7 @@ partial void ProcessListSkillsResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/skills\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -343,7 +343,7 @@ partial void ProcessListSkillsResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/skills\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -365,7 +365,7 @@ partial void ProcessListSkillsResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/skills\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.AgentsClient.UpdateSkill.g.cs b/src/libs/Speechify/Generated/Speechify.AgentsClient.UpdateSkill.g.cs index 80147dfe..a4f742f2 100644 --- a/src/libs/Speechify/Generated/Speechify.AgentsClient.UpdateSkill.g.cs +++ b/src/libs/Speechify/Generated/Speechify.AgentsClient.UpdateSkill.g.cs @@ -196,8 +196,8 @@ partial void ProcessUpdateSkillResponseContent( PrepareUpdateSkillRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - agentId: agentId!, - skillId: skillId!, + agentId: agentId, + skillId: skillId, speechifyVersion: speechifyVersion, request: request); @@ -221,7 +221,7 @@ partial void ProcessUpdateSkillResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/skills/{skillId}\"", 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, @@ -255,7 +255,7 @@ partial void ProcessUpdateSkillResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/skills/{skillId}\"", 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, @@ -296,7 +296,7 @@ partial void ProcessUpdateSkillResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/skills/{skillId}\"", 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 ProcessUpdateSkillResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/skills/{skillId}\"", 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, @@ -366,7 +366,7 @@ partial void ProcessUpdateSkillResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/skills/{skillId}\"", 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/Speechify/Generated/Speechify.AudioAssetsClient.Delete.g.cs b/src/libs/Speechify/Generated/Speechify.AudioAssetsClient.Delete.g.cs index 14556022..7bd49339 100644 --- a/src/libs/Speechify/Generated/Speechify.AudioAssetsClient.Delete.g.cs +++ b/src/libs/Speechify/Generated/Speechify.AudioAssetsClient.Delete.g.cs @@ -167,7 +167,7 @@ partial void ProcessDeleteResponseContent( PrepareDeleteRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - audioAssetId: audioAssetId!, + audioAssetId: audioAssetId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -190,7 +190,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/agents/audio-assets/{audioAssetId}\"", 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, @@ -224,7 +224,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/agents/audio-assets/{audioAssetId}\"", 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, @@ -265,7 +265,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/agents/audio-assets/{audioAssetId}\"", 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, @@ -313,7 +313,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/agents/audio-assets/{audioAssetId}\"", 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, @@ -335,7 +335,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/agents/audio-assets/{audioAssetId}\"", 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/Speechify/Generated/Speechify.AudioAssetsClient.Get.g.cs b/src/libs/Speechify/Generated/Speechify.AudioAssetsClient.Get.g.cs index b0a7b7ea..6f9d1344 100644 --- a/src/libs/Speechify/Generated/Speechify.AudioAssetsClient.Get.g.cs +++ b/src/libs/Speechify/Generated/Speechify.AudioAssetsClient.Get.g.cs @@ -165,7 +165,7 @@ partial void ProcessGetResponseContent( PrepareGetRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - audioAssetId: audioAssetId!, + audioAssetId: audioAssetId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -188,7 +188,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/audio-assets/{audioAssetId}\"", httpMethod: "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 ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/audio-assets/{audioAssetId}\"", httpMethod: "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 ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/audio-assets/{audioAssetId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/audio-assets/{audioAssetId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/audio-assets/{audioAssetId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.AudioAssetsClient.GetBytes.g.cs b/src/libs/Speechify/Generated/Speechify.AudioAssetsClient.GetBytes.g.cs index 69ceefea..68e0aa90 100644 --- a/src/libs/Speechify/Generated/Speechify.AudioAssetsClient.GetBytes.g.cs +++ b/src/libs/Speechify/Generated/Speechify.AudioAssetsClient.GetBytes.g.cs @@ -169,7 +169,7 @@ partial void ProcessGetBytesResponseContent( PrepareGetBytesRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - audioAssetId: audioAssetId!, + audioAssetId: audioAssetId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -192,7 +192,7 @@ partial void ProcessGetBytesResponseContent( pathTemplate: "$\"/v1/agents/audio-assets/{audioAssetId}/bytes\"", httpMethod: "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, @@ -226,7 +226,7 @@ partial void ProcessGetBytesResponseContent( pathTemplate: "$\"/v1/agents/audio-assets/{audioAssetId}/bytes\"", httpMethod: "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, @@ -267,7 +267,7 @@ partial void ProcessGetBytesResponseContent( pathTemplate: "$\"/v1/agents/audio-assets/{audioAssetId}/bytes\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetBytesResponseContent( pathTemplate: "$\"/v1/agents/audio-assets/{audioAssetId}/bytes\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetBytesResponseContent( pathTemplate: "$\"/v1/agents/audio-assets/{audioAssetId}/bytes\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -498,7 +498,7 @@ partial void ProcessGetBytesResponseContent( PrepareGetBytesRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - audioAssetId: audioAssetId!, + audioAssetId: audioAssetId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -521,7 +521,7 @@ partial void ProcessGetBytesResponseContent( pathTemplate: "$\"/v1/agents/audio-assets/{audioAssetId}/bytes\"", httpMethod: "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, @@ -555,7 +555,7 @@ partial void ProcessGetBytesResponseContent( pathTemplate: "$\"/v1/agents/audio-assets/{audioAssetId}/bytes\"", httpMethod: "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, @@ -596,7 +596,7 @@ partial void ProcessGetBytesResponseContent( pathTemplate: "$\"/v1/agents/audio-assets/{audioAssetId}/bytes\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -644,7 +644,7 @@ partial void ProcessGetBytesResponseContent( pathTemplate: "$\"/v1/agents/audio-assets/{audioAssetId}/bytes\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -666,7 +666,7 @@ partial void ProcessGetBytesResponseContent( pathTemplate: "$\"/v1/agents/audio-assets/{audioAssetId}/bytes\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.AudioAssetsClient.List.g.cs b/src/libs/Speechify/Generated/Speechify.AudioAssetsClient.List.g.cs index df12bee4..f28d1d0c 100644 --- a/src/libs/Speechify/Generated/Speechify.AudioAssetsClient.List.g.cs +++ b/src/libs/Speechify/Generated/Speechify.AudioAssetsClient.List.g.cs @@ -221,7 +221,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/agents/audio-assets\"", httpMethod: "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, @@ -255,7 +255,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/agents/audio-assets\"", httpMethod: "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, @@ -296,7 +296,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/agents/audio-assets\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessListResponseContent( pathTemplate: "\"/v1/agents/audio-assets\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessListResponseContent( pathTemplate: "\"/v1/agents/audio-assets\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.AudioAssetsClient.Upload.g.cs b/src/libs/Speechify/Generated/Speechify.AudioAssetsClient.Upload.g.cs index 4c2451e6..9ed991e6 100644 --- a/src/libs/Speechify/Generated/Speechify.AudioAssetsClient.Upload.g.cs +++ b/src/libs/Speechify/Generated/Speechify.AudioAssetsClient.Upload.g.cs @@ -253,7 +253,7 @@ request.Filename is null pathTemplate: "\"/v1/agents/audio-assets\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -287,7 +287,7 @@ request.Filename is null pathTemplate: "\"/v1/agents/audio-assets\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -328,7 +328,7 @@ request.Filename is null pathTemplate: "\"/v1/agents/audio-assets\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -376,7 +376,7 @@ request.Filename is null pathTemplate: "\"/v1/agents/audio-assets\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -398,7 +398,7 @@ request.Filename is null pathTemplate: "\"/v1/agents/audio-assets\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -826,7 +826,7 @@ request.Filename is null pathTemplate: "\"/v1/agents/audio-assets\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -860,7 +860,7 @@ request.Filename is null pathTemplate: "\"/v1/agents/audio-assets\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -901,7 +901,7 @@ request.Filename is null pathTemplate: "\"/v1/agents/audio-assets\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -949,7 +949,7 @@ request.Filename is null pathTemplate: "\"/v1/agents/audio-assets\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -971,7 +971,7 @@ request.Filename is null pathTemplate: "\"/v1/agents/audio-assets\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1341,7 +1341,7 @@ request.Filename is null pathTemplate: "\"/v1/agents/audio-assets\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -1375,7 +1375,7 @@ request.Filename is null pathTemplate: "\"/v1/agents/audio-assets\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -1416,7 +1416,7 @@ request.Filename is null pathTemplate: "\"/v1/agents/audio-assets\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1464,7 +1464,7 @@ request.Filename is null pathTemplate: "\"/v1/agents/audio-assets\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1486,7 +1486,7 @@ request.Filename is null pathTemplate: "\"/v1/agents/audio-assets\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.AudioClient.Speech.g.cs b/src/libs/Speechify/Generated/Speechify.AudioClient.Speech.g.cs index 18fd0c00..6bdd4e5b 100644 --- a/src/libs/Speechify/Generated/Speechify.AudioClient.Speech.g.cs +++ b/src/libs/Speechify/Generated/Speechify.AudioClient.Speech.g.cs @@ -203,7 +203,7 @@ partial void ProcessSpeechResponseContent( pathTemplate: "\"/v1/audio/speech\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -237,7 +237,7 @@ partial void ProcessSpeechResponseContent( pathTemplate: "\"/v1/audio/speech\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -278,7 +278,7 @@ partial void ProcessSpeechResponseContent( pathTemplate: "\"/v1/audio/speech\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessSpeechResponseContent( pathTemplate: "\"/v1/audio/speech\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -348,7 +348,7 @@ partial void ProcessSpeechResponseContent( pathTemplate: "\"/v1/audio/speech\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.AudioClient.Stream.g.cs b/src/libs/Speechify/Generated/Speechify.AudioClient.Stream.g.cs index 8caef70b..36507bb0 100644 --- a/src/libs/Speechify/Generated/Speechify.AudioClient.Stream.g.cs +++ b/src/libs/Speechify/Generated/Speechify.AudioClient.Stream.g.cs @@ -220,7 +220,7 @@ partial void ProcessStreamResponseContent( pathTemplate: "\"/v1/audio/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, @@ -254,7 +254,7 @@ partial void ProcessStreamResponseContent( pathTemplate: "\"/v1/audio/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, @@ -295,7 +295,7 @@ partial void ProcessStreamResponseContent( pathTemplate: "\"/v1/audio/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, @@ -343,7 +343,7 @@ partial void ProcessStreamResponseContent( pathTemplate: "\"/v1/audio/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, @@ -365,7 +365,7 @@ partial void ProcessStreamResponseContent( pathTemplate: "\"/v1/audio/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, @@ -938,7 +938,7 @@ partial void ProcessStreamResponseContent( pathTemplate: "\"/v1/audio/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, @@ -972,7 +972,7 @@ partial void ProcessStreamResponseContent( pathTemplate: "\"/v1/audio/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, @@ -1013,7 +1013,7 @@ partial void ProcessStreamResponseContent( pathTemplate: "\"/v1/audio/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, @@ -1061,7 +1061,7 @@ partial void ProcessStreamResponseContent( pathTemplate: "\"/v1/audio/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, @@ -1083,7 +1083,7 @@ partial void ProcessStreamResponseContent( pathTemplate: "\"/v1/audio/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/Speechify/Generated/Speechify.AudioClient.StreamWithTimestamps.g.cs b/src/libs/Speechify/Generated/Speechify.AudioClient.StreamWithTimestamps.g.cs index 6472090e..ee278e73 100644 --- a/src/libs/Speechify/Generated/Speechify.AudioClient.StreamWithTimestamps.g.cs +++ b/src/libs/Speechify/Generated/Speechify.AudioClient.StreamWithTimestamps.g.cs @@ -198,7 +198,7 @@ partial void ProcessStreamWithTimestampsResponse( pathTemplate: "\"/v1/audio/stream/with-timestamps\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -232,7 +232,7 @@ partial void ProcessStreamWithTimestampsResponse( pathTemplate: "\"/v1/audio/stream/with-timestamps\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -273,7 +273,7 @@ partial void ProcessStreamWithTimestampsResponse( pathTemplate: "\"/v1/audio/stream/with-timestamps\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -321,7 +321,7 @@ partial void ProcessStreamWithTimestampsResponse( pathTemplate: "\"/v1/audio/stream/with-timestamps\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -343,7 +343,7 @@ partial void ProcessStreamWithTimestampsResponse( pathTemplate: "\"/v1/audio/stream/with-timestamps\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.AutoSDKHttpResponse.g.cs b/src/libs/Speechify/Generated/Speechify.AutoSDKHttpResponse.g.cs index 85206399..0e63ebba 100644 --- a/src/libs/Speechify/Generated/Speechify.AutoSDKHttpResponse.g.cs +++ b/src/libs/Speechify/Generated/Speechify.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/Speechify/Generated/Speechify.BatchCallsClient.Cancel.g.cs b/src/libs/Speechify/Generated/Speechify.BatchCallsClient.Cancel.g.cs index 37620945..ed68aaa2 100644 --- a/src/libs/Speechify/Generated/Speechify.BatchCallsClient.Cancel.g.cs +++ b/src/libs/Speechify/Generated/Speechify.BatchCallsClient.Cancel.g.cs @@ -173,7 +173,7 @@ partial void ProcessCancelResponseContent( PrepareCancelRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - batchCallId: batchCallId!, + batchCallId: batchCallId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -196,7 +196,7 @@ partial void ProcessCancelResponseContent( pathTemplate: "$\"/v1/agents/batch-calls/{batchCallId}/cancel\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCancelResponseContent( pathTemplate: "$\"/v1/agents/batch-calls/{batchCallId}/cancel\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCancelResponseContent( pathTemplate: "$\"/v1/agents/batch-calls/{batchCallId}/cancel\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCancelResponseContent( pathTemplate: "$\"/v1/agents/batch-calls/{batchCallId}/cancel\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCancelResponseContent( pathTemplate: "$\"/v1/agents/batch-calls/{batchCallId}/cancel\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.BatchCallsClient.Create.g.cs b/src/libs/Speechify/Generated/Speechify.BatchCallsClient.Create.g.cs index e3ff7b18..6bccb183 100644 --- a/src/libs/Speechify/Generated/Speechify.BatchCallsClient.Create.g.cs +++ b/src/libs/Speechify/Generated/Speechify.BatchCallsClient.Create.g.cs @@ -222,7 +222,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "\"/v1/agents/batch-calls\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -256,7 +256,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "\"/v1/agents/batch-calls\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -297,7 +297,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "\"/v1/agents/batch-calls\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCreateResponseContent( pathTemplate: "\"/v1/agents/batch-calls\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -367,7 +367,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "\"/v1/agents/batch-calls\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.BatchCallsClient.Get.g.cs b/src/libs/Speechify/Generated/Speechify.BatchCallsClient.Get.g.cs index 719bac3f..34cf1eaf 100644 --- a/src/libs/Speechify/Generated/Speechify.BatchCallsClient.Get.g.cs +++ b/src/libs/Speechify/Generated/Speechify.BatchCallsClient.Get.g.cs @@ -163,7 +163,7 @@ partial void ProcessGetResponseContent( PrepareGetRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - batchCallId: batchCallId!, + batchCallId: batchCallId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -186,7 +186,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/batch-calls/{batchCallId}\"", httpMethod: "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, @@ -220,7 +220,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/batch-calls/{batchCallId}\"", httpMethod: "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, @@ -261,7 +261,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/batch-calls/{batchCallId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -309,7 +309,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/batch-calls/{batchCallId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/batch-calls/{batchCallId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.BatchCallsClient.List.g.cs b/src/libs/Speechify/Generated/Speechify.BatchCallsClient.List.g.cs index 00f1b421..34f5ea3b 100644 --- a/src/libs/Speechify/Generated/Speechify.BatchCallsClient.List.g.cs +++ b/src/libs/Speechify/Generated/Speechify.BatchCallsClient.List.g.cs @@ -219,7 +219,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/agents/batch-calls\"", httpMethod: "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, @@ -253,7 +253,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/agents/batch-calls\"", httpMethod: "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, @@ -294,7 +294,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/agents/batch-calls\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -342,7 +342,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/agents/batch-calls\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -364,7 +364,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/agents/batch-calls\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.BatchCallsClient.ListRecipients.g.cs b/src/libs/Speechify/Generated/Speechify.BatchCallsClient.ListRecipients.g.cs index 079bc3e8..f8f8cbe0 100644 --- a/src/libs/Speechify/Generated/Speechify.BatchCallsClient.ListRecipients.g.cs +++ b/src/libs/Speechify/Generated/Speechify.BatchCallsClient.ListRecipients.g.cs @@ -187,7 +187,7 @@ partial void ProcessListRecipientsResponseContent( PrepareListRecipientsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - batchCallId: batchCallId!, + batchCallId: batchCallId, cursor: cursor, limit: limit, speechifyVersion: speechifyVersion); @@ -212,7 +212,7 @@ partial void ProcessListRecipientsResponseContent( pathTemplate: "$\"/v1/agents/batch-calls/{batchCallId}/recipients\"", httpMethod: "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 ProcessListRecipientsResponseContent( pathTemplate: "$\"/v1/agents/batch-calls/{batchCallId}/recipients\"", httpMethod: "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 ProcessListRecipientsResponseContent( pathTemplate: "$\"/v1/agents/batch-calls/{batchCallId}/recipients\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessListRecipientsResponseContent( pathTemplate: "$\"/v1/agents/batch-calls/{batchCallId}/recipients\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessListRecipientsResponseContent( pathTemplate: "$\"/v1/agents/batch-calls/{batchCallId}/recipients\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.CallersClient.Delete.g.cs b/src/libs/Speechify/Generated/Speechify.CallersClient.Delete.g.cs index e100a639..f48ed0cc 100644 --- a/src/libs/Speechify/Generated/Speechify.CallersClient.Delete.g.cs +++ b/src/libs/Speechify/Generated/Speechify.CallersClient.Delete.g.cs @@ -183,7 +183,7 @@ partial void ProcessDeleteResponseContent( PrepareDeleteRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - callerId: callerId!, + callerId: callerId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -206,7 +206,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/agents/callers/{callerId}\"", 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, @@ -240,7 +240,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/agents/callers/{callerId}\"", 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, @@ -281,7 +281,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/agents/callers/{callerId}\"", 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, @@ -329,7 +329,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/agents/callers/{callerId}\"", 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, @@ -351,7 +351,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/agents/callers/{callerId}\"", 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/Speechify/Generated/Speechify.CallersClient.Get.g.cs b/src/libs/Speechify/Generated/Speechify.CallersClient.Get.g.cs index 65099d6b..c361c730 100644 --- a/src/libs/Speechify/Generated/Speechify.CallersClient.Get.g.cs +++ b/src/libs/Speechify/Generated/Speechify.CallersClient.Get.g.cs @@ -165,7 +165,7 @@ partial void ProcessGetResponseContent( PrepareGetRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - callerId: callerId!, + callerId: callerId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -188,7 +188,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/callers/{callerId}\"", httpMethod: "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 ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/callers/{callerId}\"", httpMethod: "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 ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/callers/{callerId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/callers/{callerId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/callers/{callerId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.CallersClient.List.g.cs b/src/libs/Speechify/Generated/Speechify.CallersClient.List.g.cs index 0bbf6333..29478e13 100644 --- a/src/libs/Speechify/Generated/Speechify.CallersClient.List.g.cs +++ b/src/libs/Speechify/Generated/Speechify.CallersClient.List.g.cs @@ -261,7 +261,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/agents/callers\"", httpMethod: "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, @@ -295,7 +295,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/agents/callers\"", httpMethod: "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, @@ -336,7 +336,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/agents/callers\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -384,7 +384,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/agents/callers\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -406,7 +406,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/agents/callers\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.CallersClient.ListConversations.g.cs b/src/libs/Speechify/Generated/Speechify.CallersClient.ListConversations.g.cs index 4ed59a5d..281dcf17 100644 --- a/src/libs/Speechify/Generated/Speechify.CallersClient.ListConversations.g.cs +++ b/src/libs/Speechify/Generated/Speechify.CallersClient.ListConversations.g.cs @@ -189,7 +189,7 @@ partial void ProcessListConversationsResponseContent( PrepareListConversationsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - callerId: callerId!, + callerId: callerId, cursor: cursor, limit: limit, speechifyVersion: speechifyVersion); @@ -214,7 +214,7 @@ partial void ProcessListConversationsResponseContent( pathTemplate: "$\"/v1/agents/callers/{callerId}/conversations\"", httpMethod: "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 ProcessListConversationsResponseContent( pathTemplate: "$\"/v1/agents/callers/{callerId}/conversations\"", httpMethod: "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 ProcessListConversationsResponseContent( pathTemplate: "$\"/v1/agents/callers/{callerId}/conversations\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessListConversationsResponseContent( pathTemplate: "$\"/v1/agents/callers/{callerId}/conversations\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessListConversationsResponseContent( pathTemplate: "$\"/v1/agents/callers/{callerId}/conversations\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.CallersClient.ListMemories.g.cs b/src/libs/Speechify/Generated/Speechify.CallersClient.ListMemories.g.cs index 55365625..8e15e5dd 100644 --- a/src/libs/Speechify/Generated/Speechify.CallersClient.ListMemories.g.cs +++ b/src/libs/Speechify/Generated/Speechify.CallersClient.ListMemories.g.cs @@ -191,7 +191,7 @@ partial void ProcessListMemoriesResponseContent( PrepareListMemoriesRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - callerId: callerId!, + callerId: callerId, cursor: cursor, limit: limit, speechifyVersion: speechifyVersion); @@ -216,7 +216,7 @@ partial void ProcessListMemoriesResponseContent( pathTemplate: "$\"/v1/agents/callers/{callerId}/memories\"", httpMethod: "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, @@ -250,7 +250,7 @@ partial void ProcessListMemoriesResponseContent( pathTemplate: "$\"/v1/agents/callers/{callerId}/memories\"", httpMethod: "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, @@ -291,7 +291,7 @@ partial void ProcessListMemoriesResponseContent( pathTemplate: "$\"/v1/agents/callers/{callerId}/memories\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessListMemoriesResponseContent( pathTemplate: "$\"/v1/agents/callers/{callerId}/memories\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -361,7 +361,7 @@ partial void ProcessListMemoriesResponseContent( pathTemplate: "$\"/v1/agents/callers/{callerId}/memories\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.CallersClient.Update.g.cs b/src/libs/Speechify/Generated/Speechify.CallersClient.Update.g.cs index 46215a03..1a8368ef 100644 --- a/src/libs/Speechify/Generated/Speechify.CallersClient.Update.g.cs +++ b/src/libs/Speechify/Generated/Speechify.CallersClient.Update.g.cs @@ -186,7 +186,7 @@ partial void ProcessUpdateResponseContent( PrepareUpdateRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - callerId: callerId!, + callerId: callerId, speechifyVersion: speechifyVersion, request: request); @@ -210,7 +210,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/agents/callers/{callerId}\"", 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, @@ -244,7 +244,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/agents/callers/{callerId}\"", 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, @@ -285,7 +285,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/agents/callers/{callerId}\"", 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, @@ -333,7 +333,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/agents/callers/{callerId}\"", 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, @@ -355,7 +355,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/agents/callers/{callerId}\"", 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/Speechify/Generated/Speechify.ConsentChallengesClient.Create.g.cs b/src/libs/Speechify/Generated/Speechify.ConsentChallengesClient.Create.g.cs index 44c9390e..bad303a7 100644 --- a/src/libs/Speechify/Generated/Speechify.ConsentChallengesClient.Create.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ConsentChallengesClient.Create.g.cs @@ -218,7 +218,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "\"/v1/voices/consent-challenges\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -252,7 +252,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "\"/v1/voices/consent-challenges\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -293,7 +293,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "\"/v1/voices/consent-challenges\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCreateResponseContent( pathTemplate: "\"/v1/voices/consent-challenges\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -363,7 +363,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "\"/v1/voices/consent-challenges\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.ContactsClient.AttachIdentifier.g.cs b/src/libs/Speechify/Generated/Speechify.ContactsClient.AttachIdentifier.g.cs index e48139a0..b6b9c011 100644 --- a/src/libs/Speechify/Generated/Speechify.ContactsClient.AttachIdentifier.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ContactsClient.AttachIdentifier.g.cs @@ -202,7 +202,7 @@ partial void ProcessAttachIdentifierResponseContent( PrepareAttachIdentifierRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - contactId: contactId!, + contactId: contactId, speechifyVersion: speechifyVersion, request: request); @@ -226,7 +226,7 @@ partial void ProcessAttachIdentifierResponseContent( pathTemplate: "$\"/v1/contacts/{contactId}/identifiers\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -260,7 +260,7 @@ partial void ProcessAttachIdentifierResponseContent( pathTemplate: "$\"/v1/contacts/{contactId}/identifiers\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -301,7 +301,7 @@ partial void ProcessAttachIdentifierResponseContent( pathTemplate: "$\"/v1/contacts/{contactId}/identifiers\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -349,7 +349,7 @@ partial void ProcessAttachIdentifierResponseContent( pathTemplate: "$\"/v1/contacts/{contactId}/identifiers\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -371,7 +371,7 @@ partial void ProcessAttachIdentifierResponseContent( pathTemplate: "$\"/v1/contacts/{contactId}/identifiers\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.ContactsClient.Delete.g.cs b/src/libs/Speechify/Generated/Speechify.ContactsClient.Delete.g.cs index 50c5fc67..74b24caf 100644 --- a/src/libs/Speechify/Generated/Speechify.ContactsClient.Delete.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ContactsClient.Delete.g.cs @@ -241,7 +241,7 @@ partial void ProcessDeleteResponseContent( PrepareDeleteRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - contactId: contactId!, + contactId: contactId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -264,7 +264,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/contacts/{contactId}\"", 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, @@ -298,7 +298,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/contacts/{contactId}\"", 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, @@ -339,7 +339,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/contacts/{contactId}\"", 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, @@ -387,7 +387,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/contacts/{contactId}\"", 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, @@ -409,7 +409,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/contacts/{contactId}\"", 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/Speechify/Generated/Speechify.ContactsClient.DeleteResolver.g.cs b/src/libs/Speechify/Generated/Speechify.ContactsClient.DeleteResolver.g.cs index 4c198466..f6f65af7 100644 --- a/src/libs/Speechify/Generated/Speechify.ContactsClient.DeleteResolver.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ContactsClient.DeleteResolver.g.cs @@ -179,7 +179,7 @@ partial void ProcessDeleteResolverResponseContent( pathTemplate: "\"/v1/workspaces/current/contact-resolver\"", 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 ProcessDeleteResolverResponseContent( pathTemplate: "\"/v1/workspaces/current/contact-resolver\"", 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 ProcessDeleteResolverResponseContent( pathTemplate: "\"/v1/workspaces/current/contact-resolver\"", 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 ProcessDeleteResolverResponseContent( pathTemplate: "\"/v1/workspaces/current/contact-resolver\"", 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 ProcessDeleteResolverResponseContent( pathTemplate: "\"/v1/workspaces/current/contact-resolver\"", 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/Speechify/Generated/Speechify.ContactsClient.DetachIdentifier.g.cs b/src/libs/Speechify/Generated/Speechify.ContactsClient.DetachIdentifier.g.cs index 049b048f..f783bd92 100644 --- a/src/libs/Speechify/Generated/Speechify.ContactsClient.DetachIdentifier.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ContactsClient.DetachIdentifier.g.cs @@ -175,8 +175,8 @@ partial void ProcessDetachIdentifierResponseContent( PrepareDetachIdentifierRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - contactId: contactId!, - identifierId: identifierId!, + contactId: contactId, + identifierId: identifierId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -199,7 +199,7 @@ partial void ProcessDetachIdentifierResponseContent( pathTemplate: "$\"/v1/contacts/{contactId}/identifiers/{identifierId}\"", 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, @@ -233,7 +233,7 @@ partial void ProcessDetachIdentifierResponseContent( pathTemplate: "$\"/v1/contacts/{contactId}/identifiers/{identifierId}\"", 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, @@ -274,7 +274,7 @@ partial void ProcessDetachIdentifierResponseContent( pathTemplate: "$\"/v1/contacts/{contactId}/identifiers/{identifierId}\"", 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, @@ -322,7 +322,7 @@ partial void ProcessDetachIdentifierResponseContent( pathTemplate: "$\"/v1/contacts/{contactId}/identifiers/{identifierId}\"", 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, @@ -344,7 +344,7 @@ partial void ProcessDetachIdentifierResponseContent( pathTemplate: "$\"/v1/contacts/{contactId}/identifiers/{identifierId}\"", 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/Speechify/Generated/Speechify.ContactsClient.Get.g.cs b/src/libs/Speechify/Generated/Speechify.ContactsClient.Get.g.cs index cfa37da4..12c36acd 100644 --- a/src/libs/Speechify/Generated/Speechify.ContactsClient.Get.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ContactsClient.Get.g.cs @@ -167,7 +167,7 @@ partial void ProcessGetResponseContent( PrepareGetRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - contactId: contactId!, + contactId: contactId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -190,7 +190,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/contacts/{contactId}\"", httpMethod: "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 ProcessGetResponseContent( pathTemplate: "$\"/v1/contacts/{contactId}\"", httpMethod: "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 ProcessGetResponseContent( pathTemplate: "$\"/v1/contacts/{contactId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetResponseContent( pathTemplate: "$\"/v1/contacts/{contactId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetResponseContent( pathTemplate: "$\"/v1/contacts/{contactId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.ContactsClient.GetResolver.g.cs b/src/libs/Speechify/Generated/Speechify.ContactsClient.GetResolver.g.cs index 675903fb..99b5bf95 100644 --- a/src/libs/Speechify/Generated/Speechify.ContactsClient.GetResolver.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ContactsClient.GetResolver.g.cs @@ -181,7 +181,7 @@ partial void ProcessGetResolverResponseContent( pathTemplate: "\"/v1/workspaces/current/contact-resolver\"", httpMethod: "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 ProcessGetResolverResponseContent( pathTemplate: "\"/v1/workspaces/current/contact-resolver\"", httpMethod: "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 ProcessGetResolverResponseContent( pathTemplate: "\"/v1/workspaces/current/contact-resolver\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetResolverResponseContent( pathTemplate: "\"/v1/workspaces/current/contact-resolver\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetResolverResponseContent( pathTemplate: "\"/v1/workspaces/current/contact-resolver\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.ContactsClient.List.g.cs b/src/libs/Speechify/Generated/Speechify.ContactsClient.List.g.cs index 5b83ce37..b4a46ed3 100644 --- a/src/libs/Speechify/Generated/Speechify.ContactsClient.List.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ContactsClient.List.g.cs @@ -237,7 +237,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/contacts\"", httpMethod: "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, @@ -271,7 +271,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/contacts\"", httpMethod: "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, @@ -312,7 +312,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/contacts\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessListResponseContent( pathTemplate: "\"/v1/contacts\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -382,7 +382,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/contacts\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.ContactsClient.Merge.g.cs b/src/libs/Speechify/Generated/Speechify.ContactsClient.Merge.g.cs index fc9c48cf..f933f763 100644 --- a/src/libs/Speechify/Generated/Speechify.ContactsClient.Merge.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ContactsClient.Merge.g.cs @@ -218,7 +218,7 @@ partial void ProcessMergeResponseContent( PrepareMergeRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - contactId: contactId!, + contactId: contactId, speechifyVersion: speechifyVersion, idempotencyKey: idempotencyKey, request: request); @@ -243,7 +243,7 @@ partial void ProcessMergeResponseContent( pathTemplate: "$\"/v1/contacts/{contactId}/merge\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -277,7 +277,7 @@ partial void ProcessMergeResponseContent( pathTemplate: "$\"/v1/contacts/{contactId}/merge\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -318,7 +318,7 @@ partial void ProcessMergeResponseContent( pathTemplate: "$\"/v1/contacts/{contactId}/merge\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessMergeResponseContent( pathTemplate: "$\"/v1/contacts/{contactId}/merge\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -388,7 +388,7 @@ partial void ProcessMergeResponseContent( pathTemplate: "$\"/v1/contacts/{contactId}/merge\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.ContactsClient.RotateResolverSecret.g.cs b/src/libs/Speechify/Generated/Speechify.ContactsClient.RotateResolverSecret.g.cs index 256e3f34..90fea1ce 100644 --- a/src/libs/Speechify/Generated/Speechify.ContactsClient.RotateResolverSecret.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ContactsClient.RotateResolverSecret.g.cs @@ -183,7 +183,7 @@ partial void ProcessRotateResolverSecretResponseContent( pathTemplate: "\"/v1/workspaces/current/contact-resolver/rotate-secret\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessRotateResolverSecretResponseContent( pathTemplate: "\"/v1/workspaces/current/contact-resolver/rotate-secret\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessRotateResolverSecretResponseContent( pathTemplate: "\"/v1/workspaces/current/contact-resolver/rotate-secret\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessRotateResolverSecretResponseContent( pathTemplate: "\"/v1/workspaces/current/contact-resolver/rotate-secret\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessRotateResolverSecretResponseContent( pathTemplate: "\"/v1/workspaces/current/contact-resolver/rotate-secret\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.ContactsClient.SetResolver.g.cs b/src/libs/Speechify/Generated/Speechify.ContactsClient.SetResolver.g.cs index b06b7226..9216ca1b 100644 --- a/src/libs/Speechify/Generated/Speechify.ContactsClient.SetResolver.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ContactsClient.SetResolver.g.cs @@ -235,7 +235,7 @@ partial void ProcessSetResolverResponseContent( pathTemplate: "\"/v1/workspaces/current/contact-resolver\"", 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, @@ -269,7 +269,7 @@ partial void ProcessSetResolverResponseContent( pathTemplate: "\"/v1/workspaces/current/contact-resolver\"", 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, @@ -310,7 +310,7 @@ partial void ProcessSetResolverResponseContent( pathTemplate: "\"/v1/workspaces/current/contact-resolver\"", 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, @@ -358,7 +358,7 @@ partial void ProcessSetResolverResponseContent( pathTemplate: "\"/v1/workspaces/current/contact-resolver\"", 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, @@ -380,7 +380,7 @@ partial void ProcessSetResolverResponseContent( pathTemplate: "\"/v1/workspaces/current/contact-resolver\"", 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/Speechify/Generated/Speechify.ContactsClient.Update.g.cs b/src/libs/Speechify/Generated/Speechify.ContactsClient.Update.g.cs index 703c6f31..5921b10b 100644 --- a/src/libs/Speechify/Generated/Speechify.ContactsClient.Update.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ContactsClient.Update.g.cs @@ -190,7 +190,7 @@ partial void ProcessUpdateResponseContent( PrepareUpdateRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - contactId: contactId!, + contactId: contactId, speechifyVersion: speechifyVersion, request: request); @@ -214,7 +214,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/contacts/{contactId}\"", 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, @@ -248,7 +248,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/contacts/{contactId}\"", 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, @@ -289,7 +289,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/contacts/{contactId}\"", 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, @@ -337,7 +337,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/contacts/{contactId}\"", 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, @@ -359,7 +359,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/contacts/{contactId}\"", 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/Speechify/Generated/Speechify.ConversationsClient.CancelPrompt.g.cs b/src/libs/Speechify/Generated/Speechify.ConversationsClient.CancelPrompt.g.cs index 964e3e33..69a434e5 100644 --- a/src/libs/Speechify/Generated/Speechify.ConversationsClient.CancelPrompt.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ConversationsClient.CancelPrompt.g.cs @@ -193,8 +193,8 @@ partial void ProcessCancelPromptResponseContent( PrepareCancelPromptRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - conversationId: conversationId!, - promptId: promptId!, + conversationId: conversationId, + promptId: promptId, speechifyVersion: speechifyVersion, idempotencyKey: idempotencyKey); @@ -218,7 +218,7 @@ partial void ProcessCancelPromptResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/prompts/{promptId}/cancel\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -252,7 +252,7 @@ partial void ProcessCancelPromptResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/prompts/{promptId}/cancel\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -293,7 +293,7 @@ partial void ProcessCancelPromptResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/prompts/{promptId}/cancel\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCancelPromptResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/prompts/{promptId}/cancel\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -363,7 +363,7 @@ partial void ProcessCancelPromptResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/prompts/{promptId}/cancel\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.ConversationsClient.Get.g.cs b/src/libs/Speechify/Generated/Speechify.ConversationsClient.Get.g.cs index 8768d992..5a139556 100644 --- a/src/libs/Speechify/Generated/Speechify.ConversationsClient.Get.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ConversationsClient.Get.g.cs @@ -161,7 +161,7 @@ partial void ProcessGetResponseContent( PrepareGetRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - conversationId: conversationId!, + conversationId: conversationId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -184,7 +184,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}\"", httpMethod: "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, @@ -218,7 +218,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}\"", httpMethod: "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, @@ -259,7 +259,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -307,7 +307,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -329,7 +329,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.ConversationsClient.GetPrompt.g.cs b/src/libs/Speechify/Generated/Speechify.ConversationsClient.GetPrompt.g.cs index 77997415..2beb7510 100644 --- a/src/libs/Speechify/Generated/Speechify.ConversationsClient.GetPrompt.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ConversationsClient.GetPrompt.g.cs @@ -175,8 +175,8 @@ partial void ProcessGetPromptResponseContent( PrepareGetPromptRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - conversationId: conversationId!, - promptId: promptId!, + conversationId: conversationId, + promptId: promptId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -199,7 +199,7 @@ partial void ProcessGetPromptResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/prompts/{promptId}\"", httpMethod: "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, @@ -233,7 +233,7 @@ partial void ProcessGetPromptResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/prompts/{promptId}\"", httpMethod: "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, @@ -274,7 +274,7 @@ partial void ProcessGetPromptResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/prompts/{promptId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetPromptResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/prompts/{promptId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetPromptResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/prompts/{promptId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.ConversationsClient.List.g.cs b/src/libs/Speechify/Generated/Speechify.ConversationsClient.List.g.cs index 72299606..cf1a9239 100644 --- a/src/libs/Speechify/Generated/Speechify.ConversationsClient.List.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ConversationsClient.List.g.cs @@ -389,7 +389,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/agents/conversations\"", httpMethod: "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, @@ -423,7 +423,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/agents/conversations\"", httpMethod: "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, @@ -464,7 +464,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/agents/conversations\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -512,7 +512,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/agents/conversations\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -534,7 +534,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/agents/conversations\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.ConversationsClient.ListEvaluations.g.cs b/src/libs/Speechify/Generated/Speechify.ConversationsClient.ListEvaluations.g.cs index 8f8d9361..517ab62d 100644 --- a/src/libs/Speechify/Generated/Speechify.ConversationsClient.ListEvaluations.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ConversationsClient.ListEvaluations.g.cs @@ -189,7 +189,7 @@ partial void ProcessListEvaluationsResponseContent( PrepareListEvaluationsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - conversationId: conversationId!, + conversationId: conversationId, cursor: cursor, limit: limit, speechifyVersion: speechifyVersion); @@ -214,7 +214,7 @@ partial void ProcessListEvaluationsResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/evaluations\"", httpMethod: "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 ProcessListEvaluationsResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/evaluations\"", httpMethod: "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 ProcessListEvaluationsResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/evaluations\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessListEvaluationsResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/evaluations\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessListEvaluationsResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/evaluations\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.ConversationsClient.ListMemories.g.cs b/src/libs/Speechify/Generated/Speechify.ConversationsClient.ListMemories.g.cs index f3b213a1..f6a33188 100644 --- a/src/libs/Speechify/Generated/Speechify.ConversationsClient.ListMemories.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ConversationsClient.ListMemories.g.cs @@ -185,7 +185,7 @@ partial void ProcessListMemoriesResponseContent( PrepareListMemoriesRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - conversationId: conversationId!, + conversationId: conversationId, cursor: cursor, limit: limit, speechifyVersion: speechifyVersion); @@ -210,7 +210,7 @@ partial void ProcessListMemoriesResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/memories\"", httpMethod: "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 ProcessListMemoriesResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/memories\"", httpMethod: "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 ProcessListMemoriesResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/memories\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessListMemoriesResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/memories\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessListMemoriesResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/memories\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.ConversationsClient.ListMessages.g.cs b/src/libs/Speechify/Generated/Speechify.ConversationsClient.ListMessages.g.cs index 4e4ea9d6..1e5fdd99 100644 --- a/src/libs/Speechify/Generated/Speechify.ConversationsClient.ListMessages.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ConversationsClient.ListMessages.g.cs @@ -191,7 +191,7 @@ partial void ProcessListMessagesResponseContent( PrepareListMessagesRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - conversationId: conversationId!, + conversationId: conversationId, cursor: cursor, limit: limit, speechifyVersion: speechifyVersion); @@ -216,7 +216,7 @@ partial void ProcessListMessagesResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/messages\"", httpMethod: "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, @@ -250,7 +250,7 @@ partial void ProcessListMessagesResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/messages\"", httpMethod: "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, @@ -291,7 +291,7 @@ partial void ProcessListMessagesResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/messages\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessListMessagesResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/messages\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -361,7 +361,7 @@ partial void ProcessListMessagesResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/messages\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.ConversationsClient.ListRetrievalLog.g.cs b/src/libs/Speechify/Generated/Speechify.ConversationsClient.ListRetrievalLog.g.cs index ea58f52c..840a59e9 100644 --- a/src/libs/Speechify/Generated/Speechify.ConversationsClient.ListRetrievalLog.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ConversationsClient.ListRetrievalLog.g.cs @@ -199,7 +199,7 @@ partial void ProcessListRetrievalLogResponseContent( PrepareListRetrievalLogRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - conversationId: conversationId!, + conversationId: conversationId, cursor: cursor, limit: limit, speechifyVersion: speechifyVersion); @@ -224,7 +224,7 @@ partial void ProcessListRetrievalLogResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/retrieval-log\"", httpMethod: "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, @@ -258,7 +258,7 @@ partial void ProcessListRetrievalLogResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/retrieval-log\"", httpMethod: "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, @@ -299,7 +299,7 @@ partial void ProcessListRetrievalLogResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/retrieval-log\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessListRetrievalLogResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/retrieval-log\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -369,7 +369,7 @@ partial void ProcessListRetrievalLogResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/retrieval-log\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.ConversationsClient.ListWebhookDeliveries.g.cs b/src/libs/Speechify/Generated/Speechify.ConversationsClient.ListWebhookDeliveries.g.cs index bd7d49e0..6c56cbd8 100644 --- a/src/libs/Speechify/Generated/Speechify.ConversationsClient.ListWebhookDeliveries.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ConversationsClient.ListWebhookDeliveries.g.cs @@ -209,7 +209,7 @@ partial void ProcessListWebhookDeliveriesResponseContent( PrepareListWebhookDeliveriesRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - conversationId: conversationId!, + conversationId: conversationId, cursor: cursor, limit: limit, speechifyVersion: speechifyVersion); @@ -234,7 +234,7 @@ partial void ProcessListWebhookDeliveriesResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/webhook-deliveries\"", httpMethod: "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, @@ -268,7 +268,7 @@ partial void ProcessListWebhookDeliveriesResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/webhook-deliveries\"", httpMethod: "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, @@ -309,7 +309,7 @@ partial void ProcessListWebhookDeliveriesResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/webhook-deliveries\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessListWebhookDeliveriesResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/webhook-deliveries\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -379,7 +379,7 @@ partial void ProcessListWebhookDeliveriesResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/webhook-deliveries\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.ConversationsClient.Prompt.g.cs b/src/libs/Speechify/Generated/Speechify.ConversationsClient.Prompt.g.cs index 02d2a156..12b76879 100644 --- a/src/libs/Speechify/Generated/Speechify.ConversationsClient.Prompt.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ConversationsClient.Prompt.g.cs @@ -270,7 +270,7 @@ partial void ProcessPromptResponseContent( PreparePromptRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - conversationId: conversationId!, + conversationId: conversationId, speechifyVersion: speechifyVersion, idempotencyKey: idempotencyKey, request: request); @@ -295,7 +295,7 @@ partial void ProcessPromptResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/prompts\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -329,7 +329,7 @@ partial void ProcessPromptResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/prompts\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -370,7 +370,7 @@ partial void ProcessPromptResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/prompts\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -418,7 +418,7 @@ partial void ProcessPromptResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/prompts\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -440,7 +440,7 @@ partial void ProcessPromptResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/prompts\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.ConversationsClient.RecentCallees.g.cs b/src/libs/Speechify/Generated/Speechify.ConversationsClient.RecentCallees.g.cs index 5b8116d0..540a0485 100644 --- a/src/libs/Speechify/Generated/Speechify.ConversationsClient.RecentCallees.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ConversationsClient.RecentCallees.g.cs @@ -209,7 +209,7 @@ partial void ProcessRecentCalleesResponseContent( pathTemplate: "\"/v1/agents/conversations/recent-callees\"", httpMethod: "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 ProcessRecentCalleesResponseContent( pathTemplate: "\"/v1/agents/conversations/recent-callees\"", httpMethod: "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 ProcessRecentCalleesResponseContent( pathTemplate: "\"/v1/agents/conversations/recent-callees\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessRecentCalleesResponseContent( pathTemplate: "\"/v1/agents/conversations/recent-callees\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessRecentCalleesResponseContent( pathTemplate: "\"/v1/agents/conversations/recent-callees\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.ConversationsClient.Stats.g.cs b/src/libs/Speechify/Generated/Speechify.ConversationsClient.Stats.g.cs index 82dfaab4..6e6e03a5 100644 --- a/src/libs/Speechify/Generated/Speechify.ConversationsClient.Stats.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ConversationsClient.Stats.g.cs @@ -353,7 +353,7 @@ partial void ProcessStatsResponseContent( pathTemplate: "\"/v1/agents/conversations/stats\"", httpMethod: "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, @@ -387,7 +387,7 @@ partial void ProcessStatsResponseContent( pathTemplate: "\"/v1/agents/conversations/stats\"", httpMethod: "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, @@ -428,7 +428,7 @@ partial void ProcessStatsResponseContent( pathTemplate: "\"/v1/agents/conversations/stats\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -476,7 +476,7 @@ partial void ProcessStatsResponseContent( pathTemplate: "\"/v1/agents/conversations/stats\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -498,7 +498,7 @@ partial void ProcessStatsResponseContent( pathTemplate: "\"/v1/agents/conversations/stats\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.ConversationsClient.StreamRecording.g.cs b/src/libs/Speechify/Generated/Speechify.ConversationsClient.StreamRecording.g.cs index 8e523dce..d2eef719 100644 --- a/src/libs/Speechify/Generated/Speechify.ConversationsClient.StreamRecording.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ConversationsClient.StreamRecording.g.cs @@ -171,7 +171,7 @@ partial void ProcessStreamRecordingResponseContent( PrepareStreamRecordingRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - conversationId: conversationId!, + conversationId: conversationId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -194,7 +194,7 @@ partial void ProcessStreamRecordingResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/recording\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -228,7 +228,7 @@ partial void ProcessStreamRecordingResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/recording\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -269,7 +269,7 @@ partial void ProcessStreamRecordingResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/recording\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessStreamRecordingResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/recording\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessStreamRecordingResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/recording\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -575,7 +575,7 @@ partial void ProcessStreamRecordingResponseContent( PrepareStreamRecordingRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - conversationId: conversationId!, + conversationId: conversationId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -598,7 +598,7 @@ partial void ProcessStreamRecordingResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/recording\"", httpMethod: "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, @@ -632,7 +632,7 @@ partial void ProcessStreamRecordingResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/recording\"", httpMethod: "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, @@ -673,7 +673,7 @@ partial void ProcessStreamRecordingResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/recording\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -721,7 +721,7 @@ partial void ProcessStreamRecordingResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/recording\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -743,7 +743,7 @@ partial void ProcessStreamRecordingResponseContent( pathTemplate: "$\"/v1/agents/conversations/{conversationId}/recording\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.CredentialsClient.Create.g.cs b/src/libs/Speechify/Generated/Speechify.CredentialsClient.Create.g.cs index d8179039..43dc0a7e 100644 --- a/src/libs/Speechify/Generated/Speechify.CredentialsClient.Create.g.cs +++ b/src/libs/Speechify/Generated/Speechify.CredentialsClient.Create.g.cs @@ -215,7 +215,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "\"/v1/credentials\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCreateResponseContent( pathTemplate: "\"/v1/credentials\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCreateResponseContent( pathTemplate: "\"/v1/credentials\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCreateResponseContent( pathTemplate: "\"/v1/credentials\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCreateResponseContent( pathTemplate: "\"/v1/credentials\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.CredentialsClient.Delete.g.cs b/src/libs/Speechify/Generated/Speechify.CredentialsClient.Delete.g.cs index e771fcd3..2428bec0 100644 --- a/src/libs/Speechify/Generated/Speechify.CredentialsClient.Delete.g.cs +++ b/src/libs/Speechify/Generated/Speechify.CredentialsClient.Delete.g.cs @@ -167,7 +167,7 @@ partial void ProcessDeleteResponseContent( PrepareDeleteRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - credentialId: credentialId!, + credentialId: credentialId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -190,7 +190,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/credentials/{credentialId}\"", 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, @@ -224,7 +224,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/credentials/{credentialId}\"", 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, @@ -265,7 +265,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/credentials/{credentialId}\"", 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, @@ -313,7 +313,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/credentials/{credentialId}\"", 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, @@ -335,7 +335,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/credentials/{credentialId}\"", 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/Speechify/Generated/Speechify.CredentialsClient.Get.g.cs b/src/libs/Speechify/Generated/Speechify.CredentialsClient.Get.g.cs index 5dca7cb3..054eb2d2 100644 --- a/src/libs/Speechify/Generated/Speechify.CredentialsClient.Get.g.cs +++ b/src/libs/Speechify/Generated/Speechify.CredentialsClient.Get.g.cs @@ -169,7 +169,7 @@ partial void ProcessGetResponseContent( PrepareGetRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - credentialId: credentialId!, + credentialId: credentialId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -192,7 +192,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/credentials/{credentialId}\"", httpMethod: "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, @@ -226,7 +226,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/credentials/{credentialId}\"", httpMethod: "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, @@ -267,7 +267,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/credentials/{credentialId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetResponseContent( pathTemplate: "$\"/v1/credentials/{credentialId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetResponseContent( pathTemplate: "$\"/v1/credentials/{credentialId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.CredentialsClient.List.g.cs b/src/libs/Speechify/Generated/Speechify.CredentialsClient.List.g.cs index cfe20396..7c0425bd 100644 --- a/src/libs/Speechify/Generated/Speechify.CredentialsClient.List.g.cs +++ b/src/libs/Speechify/Generated/Speechify.CredentialsClient.List.g.cs @@ -221,7 +221,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/credentials\"", httpMethod: "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, @@ -255,7 +255,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/credentials\"", httpMethod: "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, @@ -296,7 +296,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/credentials\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessListResponseContent( pathTemplate: "\"/v1/credentials\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessListResponseContent( pathTemplate: "\"/v1/credentials\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.CredentialsClient.Update.g.cs b/src/libs/Speechify/Generated/Speechify.CredentialsClient.Update.g.cs index b0732b5d..25d49639 100644 --- a/src/libs/Speechify/Generated/Speechify.CredentialsClient.Update.g.cs +++ b/src/libs/Speechify/Generated/Speechify.CredentialsClient.Update.g.cs @@ -188,7 +188,7 @@ partial void ProcessUpdateResponseContent( PrepareUpdateRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - credentialId: credentialId!, + credentialId: credentialId, speechifyVersion: speechifyVersion, request: request); @@ -212,7 +212,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/credentials/{credentialId}\"", 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, @@ -246,7 +246,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/credentials/{credentialId}\"", 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, @@ -287,7 +287,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/credentials/{credentialId}\"", 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 ProcessUpdateResponseContent( pathTemplate: "$\"/v1/credentials/{credentialId}\"", 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, @@ -357,7 +357,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/credentials/{credentialId}\"", 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/Speechify/Generated/Speechify.DocumentsClient.AggregateDocuments.g.cs b/src/libs/Speechify/Generated/Speechify.DocumentsClient.AggregateDocuments.g.cs index e642a150..d6db478b 100644 --- a/src/libs/Speechify/Generated/Speechify.DocumentsClient.AggregateDocuments.g.cs +++ b/src/libs/Speechify/Generated/Speechify.DocumentsClient.AggregateDocuments.g.cs @@ -218,8 +218,8 @@ partial void ProcessAggregateDocumentsResponseContent( PrepareAggregateDocumentsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - storeId: storeId!, - collection: collection!, + storeId: storeId, + collection: collection, speechifyVersion: speechifyVersion, request: request); @@ -243,7 +243,7 @@ partial void ProcessAggregateDocumentsResponseContent( pathTemplate: "$\"/v1/stores/{storeId}/collections/{collection}/documents/aggregate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -277,7 +277,7 @@ partial void ProcessAggregateDocumentsResponseContent( pathTemplate: "$\"/v1/stores/{storeId}/collections/{collection}/documents/aggregate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -318,7 +318,7 @@ partial void ProcessAggregateDocumentsResponseContent( pathTemplate: "$\"/v1/stores/{storeId}/collections/{collection}/documents/aggregate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessAggregateDocumentsResponseContent( pathTemplate: "$\"/v1/stores/{storeId}/collections/{collection}/documents/aggregate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -388,7 +388,7 @@ partial void ProcessAggregateDocumentsResponseContent( pathTemplate: "$\"/v1/stores/{storeId}/collections/{collection}/documents/aggregate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.DocumentsClient.BatchDocuments.g.cs b/src/libs/Speechify/Generated/Speechify.DocumentsClient.BatchDocuments.g.cs index 7f943093..877f1d84 100644 --- a/src/libs/Speechify/Generated/Speechify.DocumentsClient.BatchDocuments.g.cs +++ b/src/libs/Speechify/Generated/Speechify.DocumentsClient.BatchDocuments.g.cs @@ -212,8 +212,8 @@ partial void ProcessBatchDocumentsResponseContent( PrepareBatchDocumentsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - storeId: storeId!, - collection: collection!, + storeId: storeId, + collection: collection, speechifyVersion: speechifyVersion, idempotencyKey: idempotencyKey, request: request); @@ -238,7 +238,7 @@ partial void ProcessBatchDocumentsResponseContent( pathTemplate: "$\"/v1/stores/{storeId}/collections/{collection}/documents/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, @@ -272,7 +272,7 @@ partial void ProcessBatchDocumentsResponseContent( pathTemplate: "$\"/v1/stores/{storeId}/collections/{collection}/documents/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, @@ -313,7 +313,7 @@ partial void ProcessBatchDocumentsResponseContent( pathTemplate: "$\"/v1/stores/{storeId}/collections/{collection}/documents/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, @@ -361,7 +361,7 @@ partial void ProcessBatchDocumentsResponseContent( pathTemplate: "$\"/v1/stores/{storeId}/collections/{collection}/documents/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, @@ -383,7 +383,7 @@ partial void ProcessBatchDocumentsResponseContent( pathTemplate: "$\"/v1/stores/{storeId}/collections/{collection}/documents/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/Speechify/Generated/Speechify.DocumentsClient.CreateDocument.g.cs b/src/libs/Speechify/Generated/Speechify.DocumentsClient.CreateDocument.g.cs index b9b482a9..18ba9853 100644 --- a/src/libs/Speechify/Generated/Speechify.DocumentsClient.CreateDocument.g.cs +++ b/src/libs/Speechify/Generated/Speechify.DocumentsClient.CreateDocument.g.cs @@ -214,8 +214,8 @@ partial void ProcessCreateDocumentResponseContent( PrepareCreateDocumentRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - storeId: storeId!, - collection: collection!, + storeId: storeId, + collection: collection, speechifyVersion: speechifyVersion, idempotencyKey: idempotencyKey, request: request); @@ -240,7 +240,7 @@ partial void ProcessCreateDocumentResponseContent( pathTemplate: "$\"/v1/stores/{storeId}/collections/{collection}/documents\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -274,7 +274,7 @@ partial void ProcessCreateDocumentResponseContent( pathTemplate: "$\"/v1/stores/{storeId}/collections/{collection}/documents\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -315,7 +315,7 @@ partial void ProcessCreateDocumentResponseContent( pathTemplate: "$\"/v1/stores/{storeId}/collections/{collection}/documents\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -363,7 +363,7 @@ partial void ProcessCreateDocumentResponseContent( pathTemplate: "$\"/v1/stores/{storeId}/collections/{collection}/documents\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -385,7 +385,7 @@ partial void ProcessCreateDocumentResponseContent( pathTemplate: "$\"/v1/stores/{storeId}/collections/{collection}/documents\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.DocumentsClient.DeleteDocument.g.cs b/src/libs/Speechify/Generated/Speechify.DocumentsClient.DeleteDocument.g.cs index 9e0713ae..cb65b912 100644 --- a/src/libs/Speechify/Generated/Speechify.DocumentsClient.DeleteDocument.g.cs +++ b/src/libs/Speechify/Generated/Speechify.DocumentsClient.DeleteDocument.g.cs @@ -193,9 +193,9 @@ partial void ProcessDeleteDocumentResponseContent( PrepareDeleteDocumentRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - storeId: storeId!, - collection: collection!, - documentId: documentId!, + storeId: storeId, + collection: collection, + documentId: documentId, speechifyVersion: speechifyVersion, ifMatch: ifMatch); @@ -219,7 +219,7 @@ partial void ProcessDeleteDocumentResponseContent( pathTemplate: "$\"/v1/stores/{storeId}/collections/{collection}/documents/{documentId}\"", 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, @@ -253,7 +253,7 @@ partial void ProcessDeleteDocumentResponseContent( pathTemplate: "$\"/v1/stores/{storeId}/collections/{collection}/documents/{documentId}\"", 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, @@ -294,7 +294,7 @@ partial void ProcessDeleteDocumentResponseContent( pathTemplate: "$\"/v1/stores/{storeId}/collections/{collection}/documents/{documentId}\"", 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, @@ -342,7 +342,7 @@ partial void ProcessDeleteDocumentResponseContent( pathTemplate: "$\"/v1/stores/{storeId}/collections/{collection}/documents/{documentId}\"", 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, @@ -364,7 +364,7 @@ partial void ProcessDeleteDocumentResponseContent( pathTemplate: "$\"/v1/stores/{storeId}/collections/{collection}/documents/{documentId}\"", 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/Speechify/Generated/Speechify.DocumentsClient.GetDocument.g.cs b/src/libs/Speechify/Generated/Speechify.DocumentsClient.GetDocument.g.cs index b20c192a..0e5f720c 100644 --- a/src/libs/Speechify/Generated/Speechify.DocumentsClient.GetDocument.g.cs +++ b/src/libs/Speechify/Generated/Speechify.DocumentsClient.GetDocument.g.cs @@ -179,9 +179,9 @@ partial void ProcessGetDocumentResponseContent( PrepareGetDocumentRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - storeId: storeId!, - collection: collection!, - documentId: documentId!, + storeId: storeId, + collection: collection, + documentId: documentId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -204,7 +204,7 @@ partial void ProcessGetDocumentResponseContent( pathTemplate: "$\"/v1/stores/{storeId}/collections/{collection}/documents/{documentId}\"", httpMethod: "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, @@ -238,7 +238,7 @@ partial void ProcessGetDocumentResponseContent( pathTemplate: "$\"/v1/stores/{storeId}/collections/{collection}/documents/{documentId}\"", httpMethod: "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, @@ -279,7 +279,7 @@ partial void ProcessGetDocumentResponseContent( pathTemplate: "$\"/v1/stores/{storeId}/collections/{collection}/documents/{documentId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -327,7 +327,7 @@ partial void ProcessGetDocumentResponseContent( pathTemplate: "$\"/v1/stores/{storeId}/collections/{collection}/documents/{documentId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -349,7 +349,7 @@ partial void ProcessGetDocumentResponseContent( pathTemplate: "$\"/v1/stores/{storeId}/collections/{collection}/documents/{documentId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.DocumentsClient.ListDocuments.g.cs b/src/libs/Speechify/Generated/Speechify.DocumentsClient.ListDocuments.g.cs index b61ac098..5d044f71 100644 --- a/src/libs/Speechify/Generated/Speechify.DocumentsClient.ListDocuments.g.cs +++ b/src/libs/Speechify/Generated/Speechify.DocumentsClient.ListDocuments.g.cs @@ -208,8 +208,8 @@ partial void ProcessListDocumentsResponseContent( PrepareListDocumentsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - storeId: storeId!, - collection: collection!, + storeId: storeId, + collection: collection, cursor: cursor, limit: limit, includeData: includeData, @@ -235,7 +235,7 @@ partial void ProcessListDocumentsResponseContent( pathTemplate: "$\"/v1/stores/{storeId}/collections/{collection}/documents\"", httpMethod: "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, @@ -269,7 +269,7 @@ partial void ProcessListDocumentsResponseContent( pathTemplate: "$\"/v1/stores/{storeId}/collections/{collection}/documents\"", httpMethod: "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, @@ -310,7 +310,7 @@ partial void ProcessListDocumentsResponseContent( pathTemplate: "$\"/v1/stores/{storeId}/collections/{collection}/documents\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -358,7 +358,7 @@ partial void ProcessListDocumentsResponseContent( pathTemplate: "$\"/v1/stores/{storeId}/collections/{collection}/documents\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -380,7 +380,7 @@ partial void ProcessListDocumentsResponseContent( pathTemplate: "$\"/v1/stores/{storeId}/collections/{collection}/documents\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.DocumentsClient.PutDocument.g.cs b/src/libs/Speechify/Generated/Speechify.DocumentsClient.PutDocument.g.cs index 649765c3..5efd784d 100644 --- a/src/libs/Speechify/Generated/Speechify.DocumentsClient.PutDocument.g.cs +++ b/src/libs/Speechify/Generated/Speechify.DocumentsClient.PutDocument.g.cs @@ -228,9 +228,9 @@ partial void ProcessPutDocumentResponseContent( PreparePutDocumentRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - storeId: storeId!, - collection: collection!, - documentId: documentId!, + storeId: storeId, + collection: collection, + documentId: documentId, speechifyVersion: speechifyVersion, ifMatch: ifMatch, request: request); @@ -255,7 +255,7 @@ partial void ProcessPutDocumentResponseContent( pathTemplate: "$\"/v1/stores/{storeId}/collections/{collection}/documents/{documentId}\"", 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, @@ -289,7 +289,7 @@ partial void ProcessPutDocumentResponseContent( pathTemplate: "$\"/v1/stores/{storeId}/collections/{collection}/documents/{documentId}\"", 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, @@ -330,7 +330,7 @@ partial void ProcessPutDocumentResponseContent( pathTemplate: "$\"/v1/stores/{storeId}/collections/{collection}/documents/{documentId}\"", 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, @@ -378,7 +378,7 @@ partial void ProcessPutDocumentResponseContent( pathTemplate: "$\"/v1/stores/{storeId}/collections/{collection}/documents/{documentId}\"", 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, @@ -400,7 +400,7 @@ partial void ProcessPutDocumentResponseContent( pathTemplate: "$\"/v1/stores/{storeId}/collections/{collection}/documents/{documentId}\"", 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/Speechify/Generated/Speechify.DocumentsClient.QueryDocuments.g.cs b/src/libs/Speechify/Generated/Speechify.DocumentsClient.QueryDocuments.g.cs index 136722da..b88e7f46 100644 --- a/src/libs/Speechify/Generated/Speechify.DocumentsClient.QueryDocuments.g.cs +++ b/src/libs/Speechify/Generated/Speechify.DocumentsClient.QueryDocuments.g.cs @@ -202,8 +202,8 @@ partial void ProcessQueryDocumentsResponseContent( PrepareQueryDocumentsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - storeId: storeId!, - collection: collection!, + storeId: storeId, + collection: collection, speechifyVersion: speechifyVersion, request: request); @@ -227,7 +227,7 @@ partial void ProcessQueryDocumentsResponseContent( pathTemplate: "$\"/v1/stores/{storeId}/collections/{collection}/documents/query\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -261,7 +261,7 @@ partial void ProcessQueryDocumentsResponseContent( pathTemplate: "$\"/v1/stores/{storeId}/collections/{collection}/documents/query\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -302,7 +302,7 @@ partial void ProcessQueryDocumentsResponseContent( pathTemplate: "$\"/v1/stores/{storeId}/collections/{collection}/documents/query\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessQueryDocumentsResponseContent( pathTemplate: "$\"/v1/stores/{storeId}/collections/{collection}/documents/query\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -372,7 +372,7 @@ partial void ProcessQueryDocumentsResponseContent( pathTemplate: "$\"/v1/stores/{storeId}/collections/{collection}/documents/query\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.DocumentsClient.UpdateDocument.g.cs b/src/libs/Speechify/Generated/Speechify.DocumentsClient.UpdateDocument.g.cs index ca8d9cda..eba192c7 100644 --- a/src/libs/Speechify/Generated/Speechify.DocumentsClient.UpdateDocument.g.cs +++ b/src/libs/Speechify/Generated/Speechify.DocumentsClient.UpdateDocument.g.cs @@ -216,9 +216,9 @@ partial void ProcessUpdateDocumentResponseContent( PrepareUpdateDocumentRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - storeId: storeId!, - collection: collection!, - documentId: documentId!, + storeId: storeId, + collection: collection, + documentId: documentId, speechifyVersion: speechifyVersion, ifMatch: ifMatch, request: request); @@ -243,7 +243,7 @@ partial void ProcessUpdateDocumentResponseContent( pathTemplate: "$\"/v1/stores/{storeId}/collections/{collection}/documents/{documentId}\"", 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, @@ -277,7 +277,7 @@ partial void ProcessUpdateDocumentResponseContent( pathTemplate: "$\"/v1/stores/{storeId}/collections/{collection}/documents/{documentId}\"", 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, @@ -318,7 +318,7 @@ partial void ProcessUpdateDocumentResponseContent( pathTemplate: "$\"/v1/stores/{storeId}/collections/{collection}/documents/{documentId}\"", 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, @@ -366,7 +366,7 @@ partial void ProcessUpdateDocumentResponseContent( pathTemplate: "$\"/v1/stores/{storeId}/collections/{collection}/documents/{documentId}\"", 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, @@ -388,7 +388,7 @@ partial void ProcessUpdateDocumentResponseContent( pathTemplate: "$\"/v1/stores/{storeId}/collections/{collection}/documents/{documentId}\"", 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/Speechify/Generated/Speechify.EndpointsClient.Create.g.cs b/src/libs/Speechify/Generated/Speechify.EndpointsClient.Create.g.cs index 0e13d4b7..8ddc0679 100644 --- a/src/libs/Speechify/Generated/Speechify.EndpointsClient.Create.g.cs +++ b/src/libs/Speechify/Generated/Speechify.EndpointsClient.Create.g.cs @@ -207,7 +207,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "\"/v1/webhooks/endpoints\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -241,7 +241,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "\"/v1/webhooks/endpoints\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -282,7 +282,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "\"/v1/webhooks/endpoints\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCreateResponseContent( pathTemplate: "\"/v1/webhooks/endpoints\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -352,7 +352,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "\"/v1/webhooks/endpoints\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.EndpointsClient.Delete.g.cs b/src/libs/Speechify/Generated/Speechify.EndpointsClient.Delete.g.cs index 83248856..a7f225a7 100644 --- a/src/libs/Speechify/Generated/Speechify.EndpointsClient.Delete.g.cs +++ b/src/libs/Speechify/Generated/Speechify.EndpointsClient.Delete.g.cs @@ -161,7 +161,7 @@ partial void ProcessDeleteResponseContent( PrepareDeleteRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - webhookEndpointId: webhookEndpointId!, + webhookEndpointId: webhookEndpointId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -184,7 +184,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/webhooks/endpoints/{webhookEndpointId}\"", 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, @@ -218,7 +218,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/webhooks/endpoints/{webhookEndpointId}\"", 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, @@ -259,7 +259,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/webhooks/endpoints/{webhookEndpointId}\"", 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, @@ -307,7 +307,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/webhooks/endpoints/{webhookEndpointId}\"", 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, @@ -329,7 +329,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/webhooks/endpoints/{webhookEndpointId}\"", 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/Speechify/Generated/Speechify.EndpointsClient.Get.g.cs b/src/libs/Speechify/Generated/Speechify.EndpointsClient.Get.g.cs index 7a24cfcc..9afb8729 100644 --- a/src/libs/Speechify/Generated/Speechify.EndpointsClient.Get.g.cs +++ b/src/libs/Speechify/Generated/Speechify.EndpointsClient.Get.g.cs @@ -161,7 +161,7 @@ partial void ProcessGetResponseContent( PrepareGetRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - webhookEndpointId: webhookEndpointId!, + webhookEndpointId: webhookEndpointId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -184,7 +184,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/webhooks/endpoints/{webhookEndpointId}\"", httpMethod: "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, @@ -218,7 +218,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/webhooks/endpoints/{webhookEndpointId}\"", httpMethod: "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, @@ -259,7 +259,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/webhooks/endpoints/{webhookEndpointId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -307,7 +307,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/webhooks/endpoints/{webhookEndpointId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -329,7 +329,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/webhooks/endpoints/{webhookEndpointId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.EndpointsClient.List.g.cs b/src/libs/Speechify/Generated/Speechify.EndpointsClient.List.g.cs index f0cb7892..aa392ee0 100644 --- a/src/libs/Speechify/Generated/Speechify.EndpointsClient.List.g.cs +++ b/src/libs/Speechify/Generated/Speechify.EndpointsClient.List.g.cs @@ -219,7 +219,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/webhooks/endpoints\"", httpMethod: "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, @@ -253,7 +253,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/webhooks/endpoints\"", httpMethod: "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, @@ -294,7 +294,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/webhooks/endpoints\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -342,7 +342,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/webhooks/endpoints\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -364,7 +364,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/webhooks/endpoints\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.EndpointsClient.ListDeliveries.g.cs b/src/libs/Speechify/Generated/Speechify.EndpointsClient.ListDeliveries.g.cs index 20d3fea7..0810144d 100644 --- a/src/libs/Speechify/Generated/Speechify.EndpointsClient.ListDeliveries.g.cs +++ b/src/libs/Speechify/Generated/Speechify.EndpointsClient.ListDeliveries.g.cs @@ -213,7 +213,7 @@ partial void ProcessListDeliveriesResponseContent( PrepareListDeliveriesRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - webhookEndpointId: webhookEndpointId!, + webhookEndpointId: webhookEndpointId, cursor: cursor, limit: limit, speechifyVersion: speechifyVersion); @@ -238,7 +238,7 @@ partial void ProcessListDeliveriesResponseContent( pathTemplate: "$\"/v1/webhooks/endpoints/{webhookEndpointId}/deliveries\"", httpMethod: "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, @@ -272,7 +272,7 @@ partial void ProcessListDeliveriesResponseContent( pathTemplate: "$\"/v1/webhooks/endpoints/{webhookEndpointId}/deliveries\"", httpMethod: "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, @@ -313,7 +313,7 @@ partial void ProcessListDeliveriesResponseContent( pathTemplate: "$\"/v1/webhooks/endpoints/{webhookEndpointId}/deliveries\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -361,7 +361,7 @@ partial void ProcessListDeliveriesResponseContent( pathTemplate: "$\"/v1/webhooks/endpoints/{webhookEndpointId}/deliveries\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -383,7 +383,7 @@ partial void ProcessListDeliveriesResponseContent( pathTemplate: "$\"/v1/webhooks/endpoints/{webhookEndpointId}/deliveries\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.EndpointsClient.RotateSecret.g.cs b/src/libs/Speechify/Generated/Speechify.EndpointsClient.RotateSecret.g.cs index 55bb71d7..156b1f80 100644 --- a/src/libs/Speechify/Generated/Speechify.EndpointsClient.RotateSecret.g.cs +++ b/src/libs/Speechify/Generated/Speechify.EndpointsClient.RotateSecret.g.cs @@ -165,7 +165,7 @@ partial void ProcessRotateSecretResponseContent( PrepareRotateSecretRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - webhookEndpointId: webhookEndpointId!, + webhookEndpointId: webhookEndpointId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -188,7 +188,7 @@ partial void ProcessRotateSecretResponseContent( pathTemplate: "$\"/v1/webhooks/endpoints/{webhookEndpointId}/rotate-secret\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessRotateSecretResponseContent( pathTemplate: "$\"/v1/webhooks/endpoints/{webhookEndpointId}/rotate-secret\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessRotateSecretResponseContent( pathTemplate: "$\"/v1/webhooks/endpoints/{webhookEndpointId}/rotate-secret\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessRotateSecretResponseContent( pathTemplate: "$\"/v1/webhooks/endpoints/{webhookEndpointId}/rotate-secret\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessRotateSecretResponseContent( pathTemplate: "$\"/v1/webhooks/endpoints/{webhookEndpointId}/rotate-secret\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.EndpointsClient.Update.g.cs b/src/libs/Speechify/Generated/Speechify.EndpointsClient.Update.g.cs index 425e6f48..994a7144 100644 --- a/src/libs/Speechify/Generated/Speechify.EndpointsClient.Update.g.cs +++ b/src/libs/Speechify/Generated/Speechify.EndpointsClient.Update.g.cs @@ -180,7 +180,7 @@ partial void ProcessUpdateResponseContent( PrepareUpdateRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - webhookEndpointId: webhookEndpointId!, + webhookEndpointId: webhookEndpointId, speechifyVersion: speechifyVersion, request: request); @@ -204,7 +204,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/webhooks/endpoints/{webhookEndpointId}\"", 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, @@ -238,7 +238,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/webhooks/endpoints/{webhookEndpointId}\"", 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, @@ -279,7 +279,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/webhooks/endpoints/{webhookEndpointId}\"", 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, @@ -327,7 +327,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/webhooks/endpoints/{webhookEndpointId}\"", 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, @@ -349,7 +349,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/webhooks/endpoints/{webhookEndpointId}\"", 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/Speechify/Generated/Speechify.FilesClient.Delete.g.cs b/src/libs/Speechify/Generated/Speechify.FilesClient.Delete.g.cs index ae3a2470..e169103f 100644 --- a/src/libs/Speechify/Generated/Speechify.FilesClient.Delete.g.cs +++ b/src/libs/Speechify/Generated/Speechify.FilesClient.Delete.g.cs @@ -165,7 +165,7 @@ partial void ProcessDeleteResponseContent( PrepareDeleteRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - fileId: fileId!, + fileId: fileId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -188,7 +188,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/files/{fileId}\"", 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 ProcessDeleteResponseContent( pathTemplate: "$\"/v1/files/{fileId}\"", 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 ProcessDeleteResponseContent( pathTemplate: "$\"/v1/files/{fileId}\"", 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 ProcessDeleteResponseContent( pathTemplate: "$\"/v1/files/{fileId}\"", 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 ProcessDeleteResponseContent( pathTemplate: "$\"/v1/files/{fileId}\"", 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/Speechify/Generated/Speechify.FilesClient.Get.g.cs b/src/libs/Speechify/Generated/Speechify.FilesClient.Get.g.cs index 46674df4..ad22666e 100644 --- a/src/libs/Speechify/Generated/Speechify.FilesClient.Get.g.cs +++ b/src/libs/Speechify/Generated/Speechify.FilesClient.Get.g.cs @@ -163,7 +163,7 @@ partial void ProcessGetResponseContent( PrepareGetRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - fileId: fileId!, + fileId: fileId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -186,7 +186,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/files/{fileId}\"", httpMethod: "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, @@ -220,7 +220,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/files/{fileId}\"", httpMethod: "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, @@ -261,7 +261,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/files/{fileId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -309,7 +309,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/files/{fileId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetResponseContent( pathTemplate: "$\"/v1/files/{fileId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.FilesClient.GetContent.g.cs b/src/libs/Speechify/Generated/Speechify.FilesClient.GetContent.g.cs index f5b65a1e..6424a24d 100644 --- a/src/libs/Speechify/Generated/Speechify.FilesClient.GetContent.g.cs +++ b/src/libs/Speechify/Generated/Speechify.FilesClient.GetContent.g.cs @@ -167,7 +167,7 @@ partial void ProcessGetContentResponseContent( PrepareGetContentRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - fileId: fileId!, + fileId: fileId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -190,7 +190,7 @@ partial void ProcessGetContentResponseContent( pathTemplate: "$\"/v1/files/{fileId}/content\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -224,7 +224,7 @@ partial void ProcessGetContentResponseContent( pathTemplate: "$\"/v1/files/{fileId}/content\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -265,7 +265,7 @@ partial void ProcessGetContentResponseContent( pathTemplate: "$\"/v1/files/{fileId}/content\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -313,7 +313,7 @@ partial void ProcessGetContentResponseContent( pathTemplate: "$\"/v1/files/{fileId}/content\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -335,7 +335,7 @@ partial void ProcessGetContentResponseContent( pathTemplate: "$\"/v1/files/{fileId}/content\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -643,7 +643,7 @@ partial void ProcessGetContentResponseContent( PrepareGetContentRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - fileId: fileId!, + fileId: fileId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -666,7 +666,7 @@ partial void ProcessGetContentResponseContent( pathTemplate: "$\"/v1/files/{fileId}/content\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -700,7 +700,7 @@ partial void ProcessGetContentResponseContent( pathTemplate: "$\"/v1/files/{fileId}/content\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -741,7 +741,7 @@ partial void ProcessGetContentResponseContent( pathTemplate: "$\"/v1/files/{fileId}/content\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -789,7 +789,7 @@ partial void ProcessGetContentResponseContent( pathTemplate: "$\"/v1/files/{fileId}/content\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -811,7 +811,7 @@ partial void ProcessGetContentResponseContent( pathTemplate: "$\"/v1/files/{fileId}/content\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.FilesClient.List.g.cs b/src/libs/Speechify/Generated/Speechify.FilesClient.List.g.cs index 41a11f8c..6eb77bf0 100644 --- a/src/libs/Speechify/Generated/Speechify.FilesClient.List.g.cs +++ b/src/libs/Speechify/Generated/Speechify.FilesClient.List.g.cs @@ -237,7 +237,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/files\"", httpMethod: "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, @@ -271,7 +271,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/files\"", httpMethod: "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, @@ -312,7 +312,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/files\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessListResponseContent( pathTemplate: "\"/v1/files\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -382,7 +382,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/files\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.FilesClient.Upload.g.cs b/src/libs/Speechify/Generated/Speechify.FilesClient.Upload.g.cs index eca352f7..6ca14565 100644 --- a/src/libs/Speechify/Generated/Speechify.FilesClient.Upload.g.cs +++ b/src/libs/Speechify/Generated/Speechify.FilesClient.Upload.g.cs @@ -310,7 +310,7 @@ request.Filename is null pathTemplate: "\"/v1/files\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -344,7 +344,7 @@ request.Filename is null pathTemplate: "\"/v1/files\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -385,7 +385,7 @@ request.Filename is null pathTemplate: "\"/v1/files\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -433,7 +433,7 @@ request.Filename is null pathTemplate: "\"/v1/files\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -455,7 +455,7 @@ request.Filename is null pathTemplate: "\"/v1/files\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1193,7 +1193,7 @@ request.Filename is null pathTemplate: "\"/v1/files\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -1227,7 +1227,7 @@ request.Filename is null pathTemplate: "\"/v1/files\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -1268,7 +1268,7 @@ request.Filename is null pathTemplate: "\"/v1/files\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1316,7 +1316,7 @@ request.Filename is null pathTemplate: "\"/v1/files\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1338,7 +1338,7 @@ request.Filename is null pathTemplate: "\"/v1/files\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1968,7 +1968,7 @@ request.Filename is null pathTemplate: "\"/v1/files\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -2002,7 +2002,7 @@ request.Filename is null pathTemplate: "\"/v1/files\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -2043,7 +2043,7 @@ request.Filename is null pathTemplate: "\"/v1/files\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -2091,7 +2091,7 @@ request.Filename is null pathTemplate: "\"/v1/files\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -2113,7 +2113,7 @@ request.Filename is null pathTemplate: "\"/v1/files\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.FlowClient.CloneTemplate.g.cs b/src/libs/Speechify/Generated/Speechify.FlowClient.CloneTemplate.g.cs index 7b86cc41..beeb69ee 100644 --- a/src/libs/Speechify/Generated/Speechify.FlowClient.CloneTemplate.g.cs +++ b/src/libs/Speechify/Generated/Speechify.FlowClient.CloneTemplate.g.cs @@ -180,7 +180,7 @@ partial void ProcessCloneTemplateResponseContent( PrepareCloneTemplateRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - flowTemplateId: flowTemplateId!, + flowTemplateId: flowTemplateId, speechifyVersion: speechifyVersion, request: request); @@ -204,7 +204,7 @@ partial void ProcessCloneTemplateResponseContent( pathTemplate: "$\"/v1/agents/flow/templates/{flowTemplateId}/clone\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -238,7 +238,7 @@ partial void ProcessCloneTemplateResponseContent( pathTemplate: "$\"/v1/agents/flow/templates/{flowTemplateId}/clone\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -279,7 +279,7 @@ partial void ProcessCloneTemplateResponseContent( pathTemplate: "$\"/v1/agents/flow/templates/{flowTemplateId}/clone\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -327,7 +327,7 @@ partial void ProcessCloneTemplateResponseContent( pathTemplate: "$\"/v1/agents/flow/templates/{flowTemplateId}/clone\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -349,7 +349,7 @@ partial void ProcessCloneTemplateResponseContent( pathTemplate: "$\"/v1/agents/flow/templates/{flowTemplateId}/clone\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.FlowClient.CreateTemplate.g.cs b/src/libs/Speechify/Generated/Speechify.FlowClient.CreateTemplate.g.cs index 2c8d6ddc..e2c0b484 100644 --- a/src/libs/Speechify/Generated/Speechify.FlowClient.CreateTemplate.g.cs +++ b/src/libs/Speechify/Generated/Speechify.FlowClient.CreateTemplate.g.cs @@ -195,7 +195,7 @@ partial void ProcessCreateTemplateResponseContent( pathTemplate: "\"/v1/agents/flow/templates\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCreateTemplateResponseContent( pathTemplate: "\"/v1/agents/flow/templates\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCreateTemplateResponseContent( pathTemplate: "\"/v1/agents/flow/templates\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCreateTemplateResponseContent( pathTemplate: "\"/v1/agents/flow/templates\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCreateTemplateResponseContent( pathTemplate: "\"/v1/agents/flow/templates\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.FlowClient.Deactivate.g.cs b/src/libs/Speechify/Generated/Speechify.FlowClient.Deactivate.g.cs index 35a7c0bb..cfabdd2c 100644 --- a/src/libs/Speechify/Generated/Speechify.FlowClient.Deactivate.g.cs +++ b/src/libs/Speechify/Generated/Speechify.FlowClient.Deactivate.g.cs @@ -161,7 +161,7 @@ partial void ProcessDeactivateResponseContent( PrepareDeactivateRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - agentId: agentId!, + agentId: agentId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -184,7 +184,7 @@ partial void ProcessDeactivateResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/flow/deactivate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -218,7 +218,7 @@ partial void ProcessDeactivateResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/flow/deactivate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -259,7 +259,7 @@ partial void ProcessDeactivateResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/flow/deactivate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -307,7 +307,7 @@ partial void ProcessDeactivateResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/flow/deactivate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -329,7 +329,7 @@ partial void ProcessDeactivateResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/flow/deactivate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.FlowClient.DeleteTemplate.g.cs b/src/libs/Speechify/Generated/Speechify.FlowClient.DeleteTemplate.g.cs index 178399cb..45dc5afe 100644 --- a/src/libs/Speechify/Generated/Speechify.FlowClient.DeleteTemplate.g.cs +++ b/src/libs/Speechify/Generated/Speechify.FlowClient.DeleteTemplate.g.cs @@ -161,7 +161,7 @@ partial void ProcessDeleteTemplateResponseContent( PrepareDeleteTemplateRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - flowTemplateId: flowTemplateId!, + flowTemplateId: flowTemplateId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -184,7 +184,7 @@ partial void ProcessDeleteTemplateResponseContent( pathTemplate: "$\"/v1/agents/flow/templates/{flowTemplateId}\"", 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, @@ -218,7 +218,7 @@ partial void ProcessDeleteTemplateResponseContent( pathTemplate: "$\"/v1/agents/flow/templates/{flowTemplateId}\"", 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, @@ -259,7 +259,7 @@ partial void ProcessDeleteTemplateResponseContent( pathTemplate: "$\"/v1/agents/flow/templates/{flowTemplateId}\"", 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, @@ -307,7 +307,7 @@ partial void ProcessDeleteTemplateResponseContent( pathTemplate: "$\"/v1/agents/flow/templates/{flowTemplateId}\"", 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, @@ -329,7 +329,7 @@ partial void ProcessDeleteTemplateResponseContent( pathTemplate: "$\"/v1/agents/flow/templates/{flowTemplateId}\"", 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/Speechify/Generated/Speechify.FlowClient.DiscardDraft.g.cs b/src/libs/Speechify/Generated/Speechify.FlowClient.DiscardDraft.g.cs index 713818b2..65d309a1 100644 --- a/src/libs/Speechify/Generated/Speechify.FlowClient.DiscardDraft.g.cs +++ b/src/libs/Speechify/Generated/Speechify.FlowClient.DiscardDraft.g.cs @@ -161,7 +161,7 @@ partial void ProcessDiscardDraftResponseContent( PrepareDiscardDraftRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - agentId: agentId!, + agentId: agentId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -184,7 +184,7 @@ partial void ProcessDiscardDraftResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/flow/draft\"", 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, @@ -218,7 +218,7 @@ partial void ProcessDiscardDraftResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/flow/draft\"", 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, @@ -259,7 +259,7 @@ partial void ProcessDiscardDraftResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/flow/draft\"", 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, @@ -307,7 +307,7 @@ partial void ProcessDiscardDraftResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/flow/draft\"", 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, @@ -329,7 +329,7 @@ partial void ProcessDiscardDraftResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/flow/draft\"", 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/Speechify/Generated/Speechify.FlowClient.GetFlow.g.cs b/src/libs/Speechify/Generated/Speechify.FlowClient.GetFlow.g.cs index d74833fa..7e4bf06f 100644 --- a/src/libs/Speechify/Generated/Speechify.FlowClient.GetFlow.g.cs +++ b/src/libs/Speechify/Generated/Speechify.FlowClient.GetFlow.g.cs @@ -163,7 +163,7 @@ partial void ProcessGetFlowResponseContent( PrepareGetFlowRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - agentId: agentId!, + agentId: agentId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -186,7 +186,7 @@ partial void ProcessGetFlowResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/flow\"", httpMethod: "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, @@ -220,7 +220,7 @@ partial void ProcessGetFlowResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/flow\"", httpMethod: "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, @@ -261,7 +261,7 @@ partial void ProcessGetFlowResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/flow\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -309,7 +309,7 @@ partial void ProcessGetFlowResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/flow\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetFlowResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/flow\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.FlowClient.GetSchema.g.cs b/src/libs/Speechify/Generated/Speechify.FlowClient.GetSchema.g.cs index ab8c3444..62ed7ddc 100644 --- a/src/libs/Speechify/Generated/Speechify.FlowClient.GetSchema.g.cs +++ b/src/libs/Speechify/Generated/Speechify.FlowClient.GetSchema.g.cs @@ -177,7 +177,7 @@ partial void ProcessGetSchemaResponseContent( pathTemplate: "\"/v1/agents/flow/schema\"", httpMethod: "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, @@ -211,7 +211,7 @@ partial void ProcessGetSchemaResponseContent( pathTemplate: "\"/v1/agents/flow/schema\"", httpMethod: "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, @@ -252,7 +252,7 @@ partial void ProcessGetSchemaResponseContent( pathTemplate: "\"/v1/agents/flow/schema\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -300,7 +300,7 @@ partial void ProcessGetSchemaResponseContent( pathTemplate: "\"/v1/agents/flow/schema\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetSchemaResponseContent( pathTemplate: "\"/v1/agents/flow/schema\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.FlowClient.GetTemplate.g.cs b/src/libs/Speechify/Generated/Speechify.FlowClient.GetTemplate.g.cs index 3ac6ba04..a112c673 100644 --- a/src/libs/Speechify/Generated/Speechify.FlowClient.GetTemplate.g.cs +++ b/src/libs/Speechify/Generated/Speechify.FlowClient.GetTemplate.g.cs @@ -161,7 +161,7 @@ partial void ProcessGetTemplateResponseContent( PrepareGetTemplateRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - flowTemplateId: flowTemplateId!, + flowTemplateId: flowTemplateId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -184,7 +184,7 @@ partial void ProcessGetTemplateResponseContent( pathTemplate: "$\"/v1/agents/flow/templates/{flowTemplateId}\"", httpMethod: "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, @@ -218,7 +218,7 @@ partial void ProcessGetTemplateResponseContent( pathTemplate: "$\"/v1/agents/flow/templates/{flowTemplateId}\"", httpMethod: "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, @@ -259,7 +259,7 @@ partial void ProcessGetTemplateResponseContent( pathTemplate: "$\"/v1/agents/flow/templates/{flowTemplateId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -307,7 +307,7 @@ partial void ProcessGetTemplateResponseContent( pathTemplate: "$\"/v1/agents/flow/templates/{flowTemplateId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -329,7 +329,7 @@ partial void ProcessGetTemplateResponseContent( pathTemplate: "$\"/v1/agents/flow/templates/{flowTemplateId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.FlowClient.GetVersion.g.cs b/src/libs/Speechify/Generated/Speechify.FlowClient.GetVersion.g.cs index 028b5f0a..ee1ffb27 100644 --- a/src/libs/Speechify/Generated/Speechify.FlowClient.GetVersion.g.cs +++ b/src/libs/Speechify/Generated/Speechify.FlowClient.GetVersion.g.cs @@ -169,8 +169,8 @@ partial void ProcessGetVersionResponseContent( PrepareGetVersionRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - agentId: agentId!, - versionId: versionId!, + agentId: agentId, + versionId: versionId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -193,7 +193,7 @@ partial void ProcessGetVersionResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/flow/versions/{versionId}\"", httpMethod: "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, @@ -227,7 +227,7 @@ partial void ProcessGetVersionResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/flow/versions/{versionId}\"", httpMethod: "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, @@ -268,7 +268,7 @@ partial void ProcessGetVersionResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/flow/versions/{versionId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -316,7 +316,7 @@ partial void ProcessGetVersionResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/flow/versions/{versionId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetVersionResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/flow/versions/{versionId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.FlowClient.ListTemplates.g.cs b/src/libs/Speechify/Generated/Speechify.FlowClient.ListTemplates.g.cs index 58cd1ac9..0669fa57 100644 --- a/src/libs/Speechify/Generated/Speechify.FlowClient.ListTemplates.g.cs +++ b/src/libs/Speechify/Generated/Speechify.FlowClient.ListTemplates.g.cs @@ -205,7 +205,7 @@ partial void ProcessListTemplatesResponseContent( pathTemplate: "\"/v1/agents/flow/templates\"", httpMethod: "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, @@ -239,7 +239,7 @@ partial void ProcessListTemplatesResponseContent( pathTemplate: "\"/v1/agents/flow/templates\"", httpMethod: "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, @@ -280,7 +280,7 @@ partial void ProcessListTemplatesResponseContent( pathTemplate: "\"/v1/agents/flow/templates\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessListTemplatesResponseContent( pathTemplate: "\"/v1/agents/flow/templates\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessListTemplatesResponseContent( pathTemplate: "\"/v1/agents/flow/templates\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.FlowClient.ListVersions.g.cs b/src/libs/Speechify/Generated/Speechify.FlowClient.ListVersions.g.cs index 355c9406..3c1776da 100644 --- a/src/libs/Speechify/Generated/Speechify.FlowClient.ListVersions.g.cs +++ b/src/libs/Speechify/Generated/Speechify.FlowClient.ListVersions.g.cs @@ -189,7 +189,7 @@ partial void ProcessListVersionsResponseContent( PrepareListVersionsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - agentId: agentId!, + agentId: agentId, cursor: cursor, limit: limit, speechifyVersion: speechifyVersion); @@ -214,7 +214,7 @@ partial void ProcessListVersionsResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/flow/versions\"", httpMethod: "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 ProcessListVersionsResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/flow/versions\"", httpMethod: "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 ProcessListVersionsResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/flow/versions\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessListVersionsResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/flow/versions\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessListVersionsResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/flow/versions\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.FlowClient.Publish.g.cs b/src/libs/Speechify/Generated/Speechify.FlowClient.Publish.g.cs index b937f887..fc525342 100644 --- a/src/libs/Speechify/Generated/Speechify.FlowClient.Publish.g.cs +++ b/src/libs/Speechify/Generated/Speechify.FlowClient.Publish.g.cs @@ -180,7 +180,7 @@ partial void ProcessPublishResponseContent( PreparePublishRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - agentId: agentId!, + agentId: agentId, speechifyVersion: speechifyVersion, request: request); @@ -204,7 +204,7 @@ partial void ProcessPublishResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/flow/publish\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -238,7 +238,7 @@ partial void ProcessPublishResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/flow/publish\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -279,7 +279,7 @@ partial void ProcessPublishResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/flow/publish\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -327,7 +327,7 @@ partial void ProcessPublishResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/flow/publish\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -349,7 +349,7 @@ partial void ProcessPublishResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/flow/publish\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.FlowClient.Rollback.g.cs b/src/libs/Speechify/Generated/Speechify.FlowClient.Rollback.g.cs index 16538212..91f9527b 100644 --- a/src/libs/Speechify/Generated/Speechify.FlowClient.Rollback.g.cs +++ b/src/libs/Speechify/Generated/Speechify.FlowClient.Rollback.g.cs @@ -180,7 +180,7 @@ partial void ProcessRollbackResponseContent( PrepareRollbackRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - agentId: agentId!, + agentId: agentId, speechifyVersion: speechifyVersion, request: request); @@ -204,7 +204,7 @@ partial void ProcessRollbackResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/flow/rollback\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -238,7 +238,7 @@ partial void ProcessRollbackResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/flow/rollback\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -279,7 +279,7 @@ partial void ProcessRollbackResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/flow/rollback\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -327,7 +327,7 @@ partial void ProcessRollbackResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/flow/rollback\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -349,7 +349,7 @@ partial void ProcessRollbackResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/flow/rollback\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.FlowClient.UpdateFlow.g.cs b/src/libs/Speechify/Generated/Speechify.FlowClient.UpdateFlow.g.cs index d8efe63f..ea1a6976 100644 --- a/src/libs/Speechify/Generated/Speechify.FlowClient.UpdateFlow.g.cs +++ b/src/libs/Speechify/Generated/Speechify.FlowClient.UpdateFlow.g.cs @@ -182,7 +182,7 @@ partial void ProcessUpdateFlowResponseContent( PrepareUpdateFlowRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - agentId: agentId!, + agentId: agentId, speechifyVersion: speechifyVersion, request: request); @@ -206,7 +206,7 @@ partial void ProcessUpdateFlowResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/flow\"", 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, @@ -240,7 +240,7 @@ partial void ProcessUpdateFlowResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/flow\"", 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, @@ -281,7 +281,7 @@ partial void ProcessUpdateFlowResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/flow\"", 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, @@ -329,7 +329,7 @@ partial void ProcessUpdateFlowResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/flow\"", 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, @@ -351,7 +351,7 @@ partial void ProcessUpdateFlowResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/flow\"", 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/Speechify/Generated/Speechify.FlowClient.UpdateTemplate.g.cs b/src/libs/Speechify/Generated/Speechify.FlowClient.UpdateTemplate.g.cs index 06090f5d..dbf0564e 100644 --- a/src/libs/Speechify/Generated/Speechify.FlowClient.UpdateTemplate.g.cs +++ b/src/libs/Speechify/Generated/Speechify.FlowClient.UpdateTemplate.g.cs @@ -180,7 +180,7 @@ partial void ProcessUpdateTemplateResponseContent( PrepareUpdateTemplateRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - flowTemplateId: flowTemplateId!, + flowTemplateId: flowTemplateId, speechifyVersion: speechifyVersion, request: request); @@ -204,7 +204,7 @@ partial void ProcessUpdateTemplateResponseContent( pathTemplate: "$\"/v1/agents/flow/templates/{flowTemplateId}\"", 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, @@ -238,7 +238,7 @@ partial void ProcessUpdateTemplateResponseContent( pathTemplate: "$\"/v1/agents/flow/templates/{flowTemplateId}\"", 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, @@ -279,7 +279,7 @@ partial void ProcessUpdateTemplateResponseContent( pathTemplate: "$\"/v1/agents/flow/templates/{flowTemplateId}\"", 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, @@ -327,7 +327,7 @@ partial void ProcessUpdateTemplateResponseContent( pathTemplate: "$\"/v1/agents/flow/templates/{flowTemplateId}\"", 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, @@ -349,7 +349,7 @@ partial void ProcessUpdateTemplateResponseContent( pathTemplate: "$\"/v1/agents/flow/templates/{flowTemplateId}\"", 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/Speechify/Generated/Speechify.HostedApisClient.Create.g.cs b/src/libs/Speechify/Generated/Speechify.HostedApisClient.Create.g.cs index 110fe625..c4b48c58 100644 --- a/src/libs/Speechify/Generated/Speechify.HostedApisClient.Create.g.cs +++ b/src/libs/Speechify/Generated/Speechify.HostedApisClient.Create.g.cs @@ -248,7 +248,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "\"/v1/apis\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -282,7 +282,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "\"/v1/apis\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -323,7 +323,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "\"/v1/apis\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -371,7 +371,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "\"/v1/apis\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -393,7 +393,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "\"/v1/apis\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.HostedApisClient.Delete.g.cs b/src/libs/Speechify/Generated/Speechify.HostedApisClient.Delete.g.cs index 48932f68..60e2e6a2 100644 --- a/src/libs/Speechify/Generated/Speechify.HostedApisClient.Delete.g.cs +++ b/src/libs/Speechify/Generated/Speechify.HostedApisClient.Delete.g.cs @@ -163,7 +163,7 @@ partial void ProcessDeleteResponseContent( PrepareDeleteRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - apiId: apiId!, + apiId: apiId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -186,7 +186,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/apis/{apiId}\"", 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, @@ -220,7 +220,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/apis/{apiId}\"", 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, @@ -261,7 +261,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/apis/{apiId}\"", 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, @@ -309,7 +309,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/apis/{apiId}\"", 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, @@ -331,7 +331,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/apis/{apiId}\"", 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/Speechify/Generated/Speechify.HostedApisClient.Get.g.cs b/src/libs/Speechify/Generated/Speechify.HostedApisClient.Get.g.cs index 1c23184b..4b08e0cf 100644 --- a/src/libs/Speechify/Generated/Speechify.HostedApisClient.Get.g.cs +++ b/src/libs/Speechify/Generated/Speechify.HostedApisClient.Get.g.cs @@ -163,7 +163,7 @@ partial void ProcessGetResponseContent( PrepareGetRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - apiId: apiId!, + apiId: apiId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -186,7 +186,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/apis/{apiId}\"", httpMethod: "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, @@ -220,7 +220,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/apis/{apiId}\"", httpMethod: "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, @@ -261,7 +261,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/apis/{apiId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -309,7 +309,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/apis/{apiId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetResponseContent( pathTemplate: "$\"/v1/apis/{apiId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.HostedApisClient.GetAnalytics.g.cs b/src/libs/Speechify/Generated/Speechify.HostedApisClient.GetAnalytics.g.cs index 62deca4b..a13fb8f1 100644 --- a/src/libs/Speechify/Generated/Speechify.HostedApisClient.GetAnalytics.g.cs +++ b/src/libs/Speechify/Generated/Speechify.HostedApisClient.GetAnalytics.g.cs @@ -220,7 +220,7 @@ partial void ProcessGetAnalyticsResponseContent( PrepareGetAnalyticsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - apiId: apiId!, + apiId: apiId, start: start, end: end, granularity: granularity, @@ -246,7 +246,7 @@ partial void ProcessGetAnalyticsResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/analytics\"", httpMethod: "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, @@ -280,7 +280,7 @@ partial void ProcessGetAnalyticsResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/analytics\"", httpMethod: "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, @@ -321,7 +321,7 @@ partial void ProcessGetAnalyticsResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/analytics\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -369,7 +369,7 @@ partial void ProcessGetAnalyticsResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/analytics\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -391,7 +391,7 @@ partial void ProcessGetAnalyticsResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/analytics\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.HostedApisClient.GetOpenApi.g.cs b/src/libs/Speechify/Generated/Speechify.HostedApisClient.GetOpenApi.g.cs index 45f74dc8..c4f5c83f 100644 --- a/src/libs/Speechify/Generated/Speechify.HostedApisClient.GetOpenApi.g.cs +++ b/src/libs/Speechify/Generated/Speechify.HostedApisClient.GetOpenApi.g.cs @@ -175,7 +175,7 @@ partial void ProcessGetOpenApiResponseContent( PrepareGetOpenApiRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - apiId: apiId!, + apiId: apiId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -198,7 +198,7 @@ partial void ProcessGetOpenApiResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/openapi\"", httpMethod: "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, @@ -232,7 +232,7 @@ partial void ProcessGetOpenApiResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/openapi\"", httpMethod: "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, @@ -273,7 +273,7 @@ partial void ProcessGetOpenApiResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/openapi\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -321,7 +321,7 @@ partial void ProcessGetOpenApiResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/openapi\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -343,7 +343,7 @@ partial void ProcessGetOpenApiResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/openapi\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.HostedApisClient.GetUsage.g.cs b/src/libs/Speechify/Generated/Speechify.HostedApisClient.GetUsage.g.cs index b3a35eed..45e0f2ad 100644 --- a/src/libs/Speechify/Generated/Speechify.HostedApisClient.GetUsage.g.cs +++ b/src/libs/Speechify/Generated/Speechify.HostedApisClient.GetUsage.g.cs @@ -173,7 +173,7 @@ partial void ProcessGetUsageResponseContent( PrepareGetUsageRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - apiId: apiId!, + apiId: apiId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -196,7 +196,7 @@ partial void ProcessGetUsageResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/usage\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -230,7 +230,7 @@ partial void ProcessGetUsageResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/usage\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -271,7 +271,7 @@ partial void ProcessGetUsageResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/usage\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -319,7 +319,7 @@ partial void ProcessGetUsageResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/usage\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -341,7 +341,7 @@ partial void ProcessGetUsageResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/usage\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.HostedApisClient.List.g.cs b/src/libs/Speechify/Generated/Speechify.HostedApisClient.List.g.cs index e5ec4960..7c947eb8 100644 --- a/src/libs/Speechify/Generated/Speechify.HostedApisClient.List.g.cs +++ b/src/libs/Speechify/Generated/Speechify.HostedApisClient.List.g.cs @@ -219,7 +219,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/apis\"", httpMethod: "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, @@ -253,7 +253,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/apis\"", httpMethod: "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, @@ -294,7 +294,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/apis\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -342,7 +342,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/apis\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -364,7 +364,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/apis\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.HostedApisClient.RotateUserTokenSecret.g.cs b/src/libs/Speechify/Generated/Speechify.HostedApisClient.RotateUserTokenSecret.g.cs index 10564684..38b06c41 100644 --- a/src/libs/Speechify/Generated/Speechify.HostedApisClient.RotateUserTokenSecret.g.cs +++ b/src/libs/Speechify/Generated/Speechify.HostedApisClient.RotateUserTokenSecret.g.cs @@ -193,7 +193,7 @@ partial void ProcessRotateUserTokenSecretResponseContent( PrepareRotateUserTokenSecretRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - apiId: apiId!, + apiId: apiId, speechifyVersion: speechifyVersion, idempotencyKey: idempotencyKey); @@ -217,7 +217,7 @@ partial void ProcessRotateUserTokenSecretResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/rotate-user-token-secret\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -251,7 +251,7 @@ partial void ProcessRotateUserTokenSecretResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/rotate-user-token-secret\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -292,7 +292,7 @@ partial void ProcessRotateUserTokenSecretResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/rotate-user-token-secret\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessRotateUserTokenSecretResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/rotate-user-token-secret\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -362,7 +362,7 @@ partial void ProcessRotateUserTokenSecretResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/rotate-user-token-secret\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.HostedApisClient.Update.g.cs b/src/libs/Speechify/Generated/Speechify.HostedApisClient.Update.g.cs index ebdf57cb..219b46c3 100644 --- a/src/libs/Speechify/Generated/Speechify.HostedApisClient.Update.g.cs +++ b/src/libs/Speechify/Generated/Speechify.HostedApisClient.Update.g.cs @@ -202,7 +202,7 @@ partial void ProcessUpdateResponseContent( PrepareUpdateRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - apiId: apiId!, + apiId: apiId, speechifyVersion: speechifyVersion, request: request); @@ -226,7 +226,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/apis/{apiId}\"", 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, @@ -260,7 +260,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/apis/{apiId}\"", 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, @@ -301,7 +301,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/apis/{apiId}\"", 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, @@ -349,7 +349,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/apis/{apiId}\"", 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, @@ -371,7 +371,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/apis/{apiId}\"", 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/Speechify/Generated/Speechify.IvrMemoryClient.Get.g.cs b/src/libs/Speechify/Generated/Speechify.IvrMemoryClient.Get.g.cs index cc0ecd2f..8231224c 100644 --- a/src/libs/Speechify/Generated/Speechify.IvrMemoryClient.Get.g.cs +++ b/src/libs/Speechify/Generated/Speechify.IvrMemoryClient.Get.g.cs @@ -165,7 +165,7 @@ partial void ProcessGetResponseContent( PrepareGetRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - ivrMenuId: ivrMenuId!, + ivrMenuId: ivrMenuId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -188,7 +188,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/ivr-menus/{ivrMenuId}\"", httpMethod: "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 ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/ivr-menus/{ivrMenuId}\"", httpMethod: "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 ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/ivr-menus/{ivrMenuId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/ivr-menus/{ivrMenuId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/ivr-menus/{ivrMenuId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.IvrMemoryClient.Invalidate.g.cs b/src/libs/Speechify/Generated/Speechify.IvrMemoryClient.Invalidate.g.cs index d8a5fb0c..8c43961c 100644 --- a/src/libs/Speechify/Generated/Speechify.IvrMemoryClient.Invalidate.g.cs +++ b/src/libs/Speechify/Generated/Speechify.IvrMemoryClient.Invalidate.g.cs @@ -190,7 +190,7 @@ partial void ProcessInvalidateResponseContent( PrepareInvalidateRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - ivrMenuId: ivrMenuId!, + ivrMenuId: ivrMenuId, speechifyVersion: speechifyVersion, request: request); @@ -214,7 +214,7 @@ partial void ProcessInvalidateResponseContent( pathTemplate: "$\"/v1/agents/ivr-menus/{ivrMenuId}/invalidate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessInvalidateResponseContent( pathTemplate: "$\"/v1/agents/ivr-menus/{ivrMenuId}/invalidate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessInvalidateResponseContent( pathTemplate: "$\"/v1/agents/ivr-menus/{ivrMenuId}/invalidate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessInvalidateResponseContent( pathTemplate: "$\"/v1/agents/ivr-menus/{ivrMenuId}/invalidate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessInvalidateResponseContent( pathTemplate: "$\"/v1/agents/ivr-menus/{ivrMenuId}/invalidate\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.IvrMemoryClient.List.g.cs b/src/libs/Speechify/Generated/Speechify.IvrMemoryClient.List.g.cs index 0b79c140..afb217ae 100644 --- a/src/libs/Speechify/Generated/Speechify.IvrMemoryClient.List.g.cs +++ b/src/libs/Speechify/Generated/Speechify.IvrMemoryClient.List.g.cs @@ -223,7 +223,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/agents/ivr-menus\"", httpMethod: "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, @@ -257,7 +257,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/agents/ivr-menus\"", httpMethod: "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, @@ -298,7 +298,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/agents/ivr-menus\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -346,7 +346,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/agents/ivr-menus\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -368,7 +368,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/agents/ivr-menus\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.IvrMemoryClient.UpdateLabel.g.cs b/src/libs/Speechify/Generated/Speechify.IvrMemoryClient.UpdateLabel.g.cs index 3b09f8c0..2b798316 100644 --- a/src/libs/Speechify/Generated/Speechify.IvrMemoryClient.UpdateLabel.g.cs +++ b/src/libs/Speechify/Generated/Speechify.IvrMemoryClient.UpdateLabel.g.cs @@ -188,7 +188,7 @@ partial void ProcessUpdateLabelResponseContent( PrepareUpdateLabelRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - ivrMenuId: ivrMenuId!, + ivrMenuId: ivrMenuId, speechifyVersion: speechifyVersion, request: request); @@ -212,7 +212,7 @@ partial void ProcessUpdateLabelResponseContent( pathTemplate: "$\"/v1/agents/ivr-menus/{ivrMenuId}\"", 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, @@ -246,7 +246,7 @@ partial void ProcessUpdateLabelResponseContent( pathTemplate: "$\"/v1/agents/ivr-menus/{ivrMenuId}\"", 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, @@ -287,7 +287,7 @@ partial void ProcessUpdateLabelResponseContent( pathTemplate: "$\"/v1/agents/ivr-menus/{ivrMenuId}\"", 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 ProcessUpdateLabelResponseContent( pathTemplate: "$\"/v1/agents/ivr-menus/{ivrMenuId}\"", 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, @@ -357,7 +357,7 @@ partial void ProcessUpdateLabelResponseContent( pathTemplate: "$\"/v1/agents/ivr-menus/{ivrMenuId}\"", 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/Speechify/Generated/Speechify.JsonConverters.AgentRunStreamEvent.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.AgentRunStreamEvent.g.cs index 923ac98c..026f5b21 100644 --- a/src/libs/Speechify/Generated/Speechify.JsonConverters.AgentRunStreamEvent.g.cs +++ b/src/libs/Speechify/Generated/Speechify.JsonConverters.AgentRunStreamEvent.g.cs @@ -77,25 +77,25 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.AgentRunStreamEventVariant1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.AgentRunStreamEventVariant1).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.RunStepAdded!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickRunStepAdded(), typeInfo); } else if (value.IsRunReplyDelta) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.AgentRunStreamEventVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.AgentRunStreamEventVariant2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.RunReplyDelta!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickRunReplyDelta(), typeInfo); } else if (value.IsRunStatusChanged) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.AgentRunStreamEventVariant3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.AgentRunStreamEventVariant3).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.RunStatusChanged!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickRunStatusChanged(), typeInfo); } else if (value.IsRunEnded) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.AgentRunStreamEventVariant4), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.AgentRunStreamEventVariant4).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.RunEnded!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickRunEnded(), typeInfo); } } } diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.AgentTestConfig.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.AgentTestConfig.g.cs index 20a04fd8..7a5ad124 100644 --- a/src/libs/Speechify/Generated/Speechify.JsonConverters.AgentTestConfig.g.cs +++ b/src/libs/Speechify/Generated/Speechify.JsonConverters.AgentTestConfig.g.cs @@ -183,19 +183,19 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.ReplyConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.ReplyConfig).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.ReplyConfig!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickReplyConfig(), typeInfo); } else if (value.IsToolCallConfig) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.ToolCallConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.ToolCallConfig).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.ToolCallConfig!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickToolCallConfig(), typeInfo); } else if (value.IsSimulationConfig) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.SimulationConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.SimulationConfig).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.SimulationConfig!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSimulationConfig(), typeInfo); } } } diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.AgentToolConfig.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.AgentToolConfig.g.cs index 188b2a0f..ecffe07f 100644 --- a/src/libs/Speechify/Generated/Speechify.JsonConverters.AgentToolConfig.g.cs +++ b/src/libs/Speechify/Generated/Speechify.JsonConverters.AgentToolConfig.g.cs @@ -284,31 +284,31 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.BuiltinToolConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.BuiltinToolConfig).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.BuiltinToolConfig!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBuiltinToolConfig(), typeInfo); } else if (value.IsWebhookToolConfig) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.WebhookToolConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.WebhookToolConfig).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.WebhookToolConfig!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickWebhookToolConfig(), typeInfo); } else if (value.IsClientToolConfig) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.ClientToolConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.ClientToolConfig).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.ClientToolConfig!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickClientToolConfig(), typeInfo); } else if (value.IsMCPToolConfig) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.MCPToolConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.MCPToolConfig).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.MCPToolConfig!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickMCPToolConfig(), typeInfo); } else if (value.IsOpenAPIToolConfig) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.OpenAPIToolConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.OpenAPIToolConfig).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.OpenAPIToolConfig!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickOpenAPIToolConfig(), typeInfo); } } } diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.CreateAgentTestRequestConfig.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.CreateAgentTestRequestConfig.g.cs index 49db7f9c..5da3afed 100644 --- a/src/libs/Speechify/Generated/Speechify.JsonConverters.CreateAgentTestRequestConfig.g.cs +++ b/src/libs/Speechify/Generated/Speechify.JsonConverters.CreateAgentTestRequestConfig.g.cs @@ -183,19 +183,19 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.ReplyConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.ReplyConfig).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.ReplyConfig!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickReplyConfig(), typeInfo); } else if (value.IsToolCallConfig) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.ToolCallConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.ToolCallConfig).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.ToolCallConfig!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickToolCallConfig(), typeInfo); } else if (value.IsSimulationConfig) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.SimulationConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.SimulationConfig).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.SimulationConfig!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSimulationConfig(), typeInfo); } } } diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.CreateAgentToolRequestConfig.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.CreateAgentToolRequestConfig.g.cs index 4e45136d..c289543a 100644 --- a/src/libs/Speechify/Generated/Speechify.JsonConverters.CreateAgentToolRequestConfig.g.cs +++ b/src/libs/Speechify/Generated/Speechify.JsonConverters.CreateAgentToolRequestConfig.g.cs @@ -284,31 +284,31 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.BuiltinToolConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.BuiltinToolConfig).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.BuiltinToolConfig!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBuiltinToolConfig(), typeInfo); } else if (value.IsWebhookToolConfig) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.WebhookToolConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.WebhookToolConfig).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.WebhookToolConfig!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickWebhookToolConfig(), typeInfo); } else if (value.IsClientToolConfig) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.ClientToolConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.ClientToolConfig).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.ClientToolConfig!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickClientToolConfig(), typeInfo); } else if (value.IsMCPToolConfig) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.MCPToolConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.MCPToolConfig).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.MCPToolConfig!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickMCPToolConfig(), typeInfo); } else if (value.IsOpenAPIToolConfig) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.OpenAPIToolConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.OpenAPIToolConfig).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.OpenAPIToolConfig!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickOpenAPIToolConfig(), typeInfo); } } } diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.CreateToolRequestConfig.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.CreateToolRequestConfig.g.cs index 759d6ce2..a8eb6ff0 100644 --- a/src/libs/Speechify/Generated/Speechify.JsonConverters.CreateToolRequestConfig.g.cs +++ b/src/libs/Speechify/Generated/Speechify.JsonConverters.CreateToolRequestConfig.g.cs @@ -244,25 +244,25 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.WebhookToolConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.WebhookToolConfig).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.WebhookToolConfig!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickWebhookToolConfig(), typeInfo); } else if (value.IsClientToolConfig) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.ClientToolConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.ClientToolConfig).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.ClientToolConfig!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickClientToolConfig(), typeInfo); } else if (value.IsMCPToolConfig) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.MCPToolConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.MCPToolConfig).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.MCPToolConfig!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickMCPToolConfig(), typeInfo); } else if (value.IsOpenAPIToolConfig) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.OpenAPIToolConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.OpenAPIToolConfig).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.OpenAPIToolConfig!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickOpenAPIToolConfig(), typeInfo); } } } diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.ImportOpenApiRequestSpec.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.ImportOpenApiRequestSpec.g.cs index 688ac23d..73ad9531 100644 --- a/src/libs/Speechify/Generated/Speechify.JsonConverters.ImportOpenApiRequestSpec.g.cs +++ b/src/libs/Speechify/Generated/Speechify.JsonConverters.ImportOpenApiRequestSpec.g.cs @@ -149,13 +149,13 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(object), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(object).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.ImportOpenApiRequestSpecVariant1!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickImportOpenApiRequestSpecVariant1(), typeInfo); } else if (value.IsImportOpenApiRequestSpecVariant2) { 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.ImportOpenApiRequestSpecVariant2!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickImportOpenApiRequestSpecVariant2(), typeInfo); } } } diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.MCPAuth.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.MCPAuth.g.cs index 91c7a61c..4330a109 100644 --- a/src/libs/Speechify/Generated/Speechify.JsonConverters.MCPAuth.g.cs +++ b/src/libs/Speechify/Generated/Speechify.JsonConverters.MCPAuth.g.cs @@ -68,19 +68,19 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.MCPAuthVariant1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.MCPAuthVariant1).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.None!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickNone(), typeInfo); } else if (value.IsBearer) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.MCPAuthVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.MCPAuthVariant2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Bearer!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBearer(), typeInfo); } else if (value.IsOauth2ClientCredentials) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.MCPAuthVariant3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.MCPAuthVariant3).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Oauth2ClientCredentials!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickOauth2ClientCredentials(), typeInfo); } } } diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.ProjectRunStreamEvent.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.ProjectRunStreamEvent.g.cs index fa457580..db095058 100644 --- a/src/libs/Speechify/Generated/Speechify.JsonConverters.ProjectRunStreamEvent.g.cs +++ b/src/libs/Speechify/Generated/Speechify.JsonConverters.ProjectRunStreamEvent.g.cs @@ -68,19 +68,19 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.ProjectRunStreamEventVariant1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.ProjectRunStreamEventVariant1).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.RunUpdated!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickRunUpdated(), typeInfo); } else if (value.IsRunEnded) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.ProjectRunStreamEventVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.ProjectRunStreamEventVariant2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.RunEnded!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickRunEnded(), typeInfo); } else if (value.IsRunsSynced) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.ProjectRunStreamEventVariant3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.ProjectRunStreamEventVariant3).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.RunsSynced!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickRunsSynced(), typeInfo); } } } diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.SpeechStreamEvent.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.SpeechStreamEvent.g.cs index 0d08c29c..4f3d8953 100644 --- a/src/libs/Speechify/Generated/Speechify.JsonConverters.SpeechStreamEvent.g.cs +++ b/src/libs/Speechify/Generated/Speechify.JsonConverters.SpeechStreamEvent.g.cs @@ -68,19 +68,19 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.SpeechStreamEventVariant1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.SpeechStreamEventVariant1).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.SpeechChunk!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSpeechChunk(), typeInfo); } else if (value.IsSpeechDone) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.SpeechStreamEventVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.SpeechStreamEventVariant2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.SpeechDone!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSpeechDone(), typeInfo); } else if (value.IsSpeechError) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.SpeechStreamEventVariant3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.SpeechStreamEventVariant3).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.SpeechError!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSpeechError(), typeInfo); } } } diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.ToolConfig.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.ToolConfig.g.cs index 5b459532..340011cf 100644 --- a/src/libs/Speechify/Generated/Speechify.JsonConverters.ToolConfig.g.cs +++ b/src/libs/Speechify/Generated/Speechify.JsonConverters.ToolConfig.g.cs @@ -244,25 +244,25 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.WebhookToolConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.WebhookToolConfig).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.WebhookToolConfig!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickWebhookToolConfig(), typeInfo); } else if (value.IsClientToolConfig) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.ClientToolConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.ClientToolConfig).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.ClientToolConfig!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickClientToolConfig(), typeInfo); } else if (value.IsMCPToolConfig) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.MCPToolConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.MCPToolConfig).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.MCPToolConfig!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickMCPToolConfig(), typeInfo); } else if (value.IsOpenAPIToolConfig) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.OpenAPIToolConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.OpenAPIToolConfig).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.OpenAPIToolConfig!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickOpenAPIToolConfig(), typeInfo); } } } diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.UpdateAgentTestRequestConfig.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.UpdateAgentTestRequestConfig.g.cs index 5524ee10..eacb1996 100644 --- a/src/libs/Speechify/Generated/Speechify.JsonConverters.UpdateAgentTestRequestConfig.g.cs +++ b/src/libs/Speechify/Generated/Speechify.JsonConverters.UpdateAgentTestRequestConfig.g.cs @@ -183,19 +183,19 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.ReplyConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.ReplyConfig).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.ReplyConfig!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickReplyConfig(), typeInfo); } else if (value.IsToolCallConfig) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.ToolCallConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.ToolCallConfig).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.ToolCallConfig!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickToolCallConfig(), typeInfo); } else if (value.IsSimulationConfig) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.SimulationConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.SimulationConfig).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.SimulationConfig!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickSimulationConfig(), typeInfo); } } } diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.UpdateAgentToolRequestConfig.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.UpdateAgentToolRequestConfig.g.cs index 7bd31dc8..848eda05 100644 --- a/src/libs/Speechify/Generated/Speechify.JsonConverters.UpdateAgentToolRequestConfig.g.cs +++ b/src/libs/Speechify/Generated/Speechify.JsonConverters.UpdateAgentToolRequestConfig.g.cs @@ -92,7 +92,7 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.BuiltinToolConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.BuiltinToolConfig).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.BuiltinToolConfig!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickBuiltinToolConfig(), typeInfo); } } } diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.UpdateToolRequestConfig.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.UpdateToolRequestConfig.g.cs index c02cceab..07c5f43f 100644 --- a/src/libs/Speechify/Generated/Speechify.JsonConverters.UpdateToolRequestConfig.g.cs +++ b/src/libs/Speechify/Generated/Speechify.JsonConverters.UpdateToolRequestConfig.g.cs @@ -244,25 +244,25 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.WebhookToolConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.WebhookToolConfig).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.WebhookToolConfig!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickWebhookToolConfig(), typeInfo); } else if (value.IsClientToolConfig) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.ClientToolConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.ClientToolConfig).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.ClientToolConfig!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickClientToolConfig(), typeInfo); } else if (value.IsMCPToolConfig) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.MCPToolConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.MCPToolConfig).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.MCPToolConfig!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickMCPToolConfig(), typeInfo); } else if (value.IsOpenAPIToolConfig) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Speechify.OpenAPIToolConfig), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Speechify.OpenAPIToolConfig).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.OpenAPIToolConfig!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickOpenAPIToolConfig(), typeInfo); } } } diff --git a/src/libs/Speechify/Generated/Speechify.KeysClient.CreateKey.g.cs b/src/libs/Speechify/Generated/Speechify.KeysClient.CreateKey.g.cs index aa8f7c00..4b7348cd 100644 --- a/src/libs/Speechify/Generated/Speechify.KeysClient.CreateKey.g.cs +++ b/src/libs/Speechify/Generated/Speechify.KeysClient.CreateKey.g.cs @@ -202,7 +202,7 @@ partial void ProcessCreateKeyResponseContent( PrepareCreateKeyRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - apiId: apiId!, + apiId: apiId, speechifyVersion: speechifyVersion, idempotencyKey: idempotencyKey, request: request); @@ -227,7 +227,7 @@ partial void ProcessCreateKeyResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/keys\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -261,7 +261,7 @@ partial void ProcessCreateKeyResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/keys\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -302,7 +302,7 @@ partial void ProcessCreateKeyResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/keys\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -350,7 +350,7 @@ partial void ProcessCreateKeyResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/keys\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -372,7 +372,7 @@ partial void ProcessCreateKeyResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/keys\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.KeysClient.ListKeys.g.cs b/src/libs/Speechify/Generated/Speechify.KeysClient.ListKeys.g.cs index 51f71dda..3cc3e485 100644 --- a/src/libs/Speechify/Generated/Speechify.KeysClient.ListKeys.g.cs +++ b/src/libs/Speechify/Generated/Speechify.KeysClient.ListKeys.g.cs @@ -187,7 +187,7 @@ partial void ProcessListKeysResponseContent( PrepareListKeysRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - apiId: apiId!, + apiId: apiId, cursor: cursor, limit: limit, speechifyVersion: speechifyVersion); @@ -212,7 +212,7 @@ partial void ProcessListKeysResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/keys\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -246,7 +246,7 @@ partial void ProcessListKeysResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/keys\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -287,7 +287,7 @@ partial void ProcessListKeysResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/keys\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -335,7 +335,7 @@ partial void ProcessListKeysResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/keys\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -357,7 +357,7 @@ partial void ProcessListKeysResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/keys\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.KeysClient.RevokeKey.g.cs b/src/libs/Speechify/Generated/Speechify.KeysClient.RevokeKey.g.cs index 9a8d022a..416b129e 100644 --- a/src/libs/Speechify/Generated/Speechify.KeysClient.RevokeKey.g.cs +++ b/src/libs/Speechify/Generated/Speechify.KeysClient.RevokeKey.g.cs @@ -171,8 +171,8 @@ partial void ProcessRevokeKeyResponseContent( PrepareRevokeKeyRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - apiId: apiId!, - consumerKeyId: consumerKeyId!, + apiId: apiId, + consumerKeyId: consumerKeyId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -195,7 +195,7 @@ partial void ProcessRevokeKeyResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/keys/{consumerKeyId}/revoke\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessRevokeKeyResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/keys/{consumerKeyId}/revoke\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessRevokeKeyResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/keys/{consumerKeyId}/revoke\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessRevokeKeyResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/keys/{consumerKeyId}/revoke\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessRevokeKeyResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/keys/{consumerKeyId}/revoke\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.BatchDeleteDocuments.g.cs b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.BatchDeleteDocuments.g.cs index 59875776..527c27f6 100644 --- a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.BatchDeleteDocuments.g.cs +++ b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.BatchDeleteDocuments.g.cs @@ -186,7 +186,7 @@ partial void ProcessBatchDeleteDocumentsResponseContent( PrepareBatchDeleteDocumentsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - kbId: kbId!, + kbId: kbId, speechifyVersion: speechifyVersion, request: request); @@ -210,7 +210,7 @@ partial void ProcessBatchDeleteDocumentsResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/batch\"", 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, @@ -244,7 +244,7 @@ partial void ProcessBatchDeleteDocumentsResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/batch\"", 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, @@ -285,7 +285,7 @@ partial void ProcessBatchDeleteDocumentsResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/batch\"", 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 ProcessBatchDeleteDocumentsResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/batch\"", 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, @@ -355,7 +355,7 @@ partial void ProcessBatchDeleteDocumentsResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/batch\"", 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/Speechify/Generated/Speechify.KnowledgeBasesClient.BatchMoveDocuments.g.cs b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.BatchMoveDocuments.g.cs index 5d5e0cc8..46f6e74e 100644 --- a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.BatchMoveDocuments.g.cs +++ b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.BatchMoveDocuments.g.cs @@ -184,7 +184,7 @@ partial void ProcessBatchMoveDocumentsResponseContent( PrepareBatchMoveDocumentsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - kbId: kbId!, + kbId: kbId, speechifyVersion: speechifyVersion, request: request); @@ -208,7 +208,7 @@ partial void ProcessBatchMoveDocumentsResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/batch\"", 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 ProcessBatchMoveDocumentsResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/batch\"", 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 ProcessBatchMoveDocumentsResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/batch\"", 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 ProcessBatchMoveDocumentsResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/batch\"", 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 ProcessBatchMoveDocumentsResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/batch\"", 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/Speechify/Generated/Speechify.KnowledgeBasesClient.CancelEvaluation.g.cs b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.CancelEvaluation.g.cs index 9297f1ba..3c203d47 100644 --- a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.CancelEvaluation.g.cs +++ b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.CancelEvaluation.g.cs @@ -171,8 +171,8 @@ partial void ProcessCancelEvaluationResponseContent( PrepareCancelEvaluationRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - kbId: kbId!, - evaluationId: evaluationId!, + kbId: kbId, + evaluationId: evaluationId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -195,7 +195,7 @@ partial void ProcessCancelEvaluationResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/evaluations/{evaluationId}/cancel\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCancelEvaluationResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/evaluations/{evaluationId}/cancel\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCancelEvaluationResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/evaluations/{evaluationId}/cancel\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCancelEvaluationResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/evaluations/{evaluationId}/cancel\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCancelEvaluationResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/evaluations/{evaluationId}/cancel\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.CancelImportJob.g.cs b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.CancelImportJob.g.cs index 03e619f1..b75f7859 100644 --- a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.CancelImportJob.g.cs +++ b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.CancelImportJob.g.cs @@ -181,8 +181,8 @@ partial void ProcessCancelImportJobResponseContent( PrepareCancelImportJobRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - kbId: kbId!, - importId: importId!, + kbId: kbId, + importId: importId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -205,7 +205,7 @@ partial void ProcessCancelImportJobResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/imports/{importId}/cancel\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCancelImportJobResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/imports/{importId}/cancel\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCancelImportJobResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/imports/{importId}/cancel\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCancelImportJobResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/imports/{importId}/cancel\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCancelImportJobResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/imports/{importId}/cancel\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.Create.g.cs b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.Create.g.cs index bd766e31..6126c45f 100644 --- a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.Create.g.cs +++ b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.Create.g.cs @@ -195,7 +195,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "\"/v1/agents/knowledge-bases\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCreateResponseContent( pathTemplate: "\"/v1/agents/knowledge-bases\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCreateResponseContent( pathTemplate: "\"/v1/agents/knowledge-bases\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCreateResponseContent( pathTemplate: "\"/v1/agents/knowledge-bases\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCreateResponseContent( pathTemplate: "\"/v1/agents/knowledge-bases\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.CreateCrawlImport.g.cs b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.CreateCrawlImport.g.cs index 62799f1a..d51cc095 100644 --- a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.CreateCrawlImport.g.cs +++ b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.CreateCrawlImport.g.cs @@ -198,7 +198,7 @@ partial void ProcessCreateCrawlImportResponseContent( PrepareCreateCrawlImportRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - kbId: kbId!, + kbId: kbId, speechifyVersion: speechifyVersion, idempotencyKey: idempotencyKey, request: request); @@ -223,7 +223,7 @@ partial void ProcessCreateCrawlImportResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/crawl\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -257,7 +257,7 @@ partial void ProcessCreateCrawlImportResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/crawl\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -298,7 +298,7 @@ partial void ProcessCreateCrawlImportResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/crawl\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -346,7 +346,7 @@ partial void ProcessCreateCrawlImportResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/crawl\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -368,7 +368,7 @@ partial void ProcessCreateCrawlImportResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/crawl\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.CreateEvalCase.g.cs b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.CreateEvalCase.g.cs index eaf7fa02..54d3e89e 100644 --- a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.CreateEvalCase.g.cs +++ b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.CreateEvalCase.g.cs @@ -202,7 +202,7 @@ partial void ProcessCreateEvalCaseResponseContent( PrepareCreateEvalCaseRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - kbId: kbId!, + kbId: kbId, speechifyVersion: speechifyVersion, idempotencyKey: idempotencyKey, request: request); @@ -227,7 +227,7 @@ partial void ProcessCreateEvalCaseResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/eval-cases\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -261,7 +261,7 @@ partial void ProcessCreateEvalCaseResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/eval-cases\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -302,7 +302,7 @@ partial void ProcessCreateEvalCaseResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/eval-cases\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCreateEvalCaseResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/eval-cases\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -372,7 +372,7 @@ partial void ProcessCreateEvalCaseResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/eval-cases\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.CreateFolder.g.cs b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.CreateFolder.g.cs index 6e0a7caf..e1a830a3 100644 --- a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.CreateFolder.g.cs +++ b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.CreateFolder.g.cs @@ -180,7 +180,7 @@ partial void ProcessCreateFolderResponseContent( PrepareCreateFolderRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - kbId: kbId!, + kbId: kbId, speechifyVersion: speechifyVersion, request: request); @@ -204,7 +204,7 @@ partial void ProcessCreateFolderResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/folders\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -238,7 +238,7 @@ partial void ProcessCreateFolderResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/folders\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -279,7 +279,7 @@ partial void ProcessCreateFolderResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/folders\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -327,7 +327,7 @@ partial void ProcessCreateFolderResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/folders\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -349,7 +349,7 @@ partial void ProcessCreateFolderResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/folders\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.CreateSitemapImport.g.cs b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.CreateSitemapImport.g.cs index 77394dca..8738873d 100644 --- a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.CreateSitemapImport.g.cs +++ b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.CreateSitemapImport.g.cs @@ -198,7 +198,7 @@ partial void ProcessCreateSitemapImportResponseContent( PrepareCreateSitemapImportRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - kbId: kbId!, + kbId: kbId, speechifyVersion: speechifyVersion, idempotencyKey: idempotencyKey, request: request); @@ -223,7 +223,7 @@ partial void ProcessCreateSitemapImportResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/sitemap\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -257,7 +257,7 @@ partial void ProcessCreateSitemapImportResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/sitemap\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -298,7 +298,7 @@ partial void ProcessCreateSitemapImportResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/sitemap\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -346,7 +346,7 @@ partial void ProcessCreateSitemapImportResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/sitemap\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -368,7 +368,7 @@ partial void ProcessCreateSitemapImportResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/sitemap\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.CreateTextDocument.g.cs b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.CreateTextDocument.g.cs index 9f63fca0..f6b4dd92 100644 --- a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.CreateTextDocument.g.cs +++ b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.CreateTextDocument.g.cs @@ -198,7 +198,7 @@ partial void ProcessCreateTextDocumentResponseContent( PrepareCreateTextDocumentRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - kbId: kbId!, + kbId: kbId, speechifyVersion: speechifyVersion, idempotencyKey: idempotencyKey, request: request); @@ -223,7 +223,7 @@ partial void ProcessCreateTextDocumentResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/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, @@ -257,7 +257,7 @@ partial void ProcessCreateTextDocumentResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/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, @@ -298,7 +298,7 @@ partial void ProcessCreateTextDocumentResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/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, @@ -346,7 +346,7 @@ partial void ProcessCreateTextDocumentResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/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, @@ -368,7 +368,7 @@ partial void ProcessCreateTextDocumentResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/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/Speechify/Generated/Speechify.KnowledgeBasesClient.CreateURLBatchImport.g.cs b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.CreateURLBatchImport.g.cs index e4401c8e..49af6b76 100644 --- a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.CreateURLBatchImport.g.cs +++ b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.CreateURLBatchImport.g.cs @@ -204,7 +204,7 @@ partial void ProcessCreateURLBatchImportResponseContent( PrepareCreateURLBatchImportRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - kbId: kbId!, + kbId: kbId, speechifyVersion: speechifyVersion, idempotencyKey: idempotencyKey, request: request); @@ -229,7 +229,7 @@ partial void ProcessCreateURLBatchImportResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/urls\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -263,7 +263,7 @@ partial void ProcessCreateURLBatchImportResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/urls\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -304,7 +304,7 @@ partial void ProcessCreateURLBatchImportResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/urls\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -352,7 +352,7 @@ partial void ProcessCreateURLBatchImportResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/urls\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -374,7 +374,7 @@ partial void ProcessCreateURLBatchImportResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/urls\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.CreateURLDocument.g.cs b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.CreateURLDocument.g.cs index f2f9c463..a0d8c978 100644 --- a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.CreateURLDocument.g.cs +++ b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.CreateURLDocument.g.cs @@ -202,7 +202,7 @@ partial void ProcessCreateURLDocumentResponseContent( PrepareCreateURLDocumentRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - kbId: kbId!, + kbId: kbId, speechifyVersion: speechifyVersion, idempotencyKey: idempotencyKey, request: request); @@ -227,7 +227,7 @@ partial void ProcessCreateURLDocumentResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/url\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -261,7 +261,7 @@ partial void ProcessCreateURLDocumentResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/url\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -302,7 +302,7 @@ partial void ProcessCreateURLDocumentResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/url\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCreateURLDocumentResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/url\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -372,7 +372,7 @@ partial void ProcessCreateURLDocumentResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/url\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.Delete.g.cs b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.Delete.g.cs index 4ed040eb..672a970d 100644 --- a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.Delete.g.cs +++ b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.Delete.g.cs @@ -161,7 +161,7 @@ partial void ProcessDeleteResponseContent( PrepareDeleteRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - kbId: kbId!, + kbId: kbId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -184,7 +184,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}\"", 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, @@ -218,7 +218,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}\"", 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, @@ -259,7 +259,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}\"", 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, @@ -307,7 +307,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}\"", 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, @@ -329,7 +329,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}\"", 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/Speechify/Generated/Speechify.KnowledgeBasesClient.DeleteDocument.g.cs b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.DeleteDocument.g.cs index 5e96edd3..dca1ccc7 100644 --- a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.DeleteDocument.g.cs +++ b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.DeleteDocument.g.cs @@ -169,8 +169,8 @@ partial void ProcessDeleteDocumentResponseContent( PrepareDeleteDocumentRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - kbId: kbId!, - documentId: documentId!, + kbId: kbId, + documentId: documentId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -193,7 +193,7 @@ partial void ProcessDeleteDocumentResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/{documentId}\"", 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, @@ -227,7 +227,7 @@ partial void ProcessDeleteDocumentResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/{documentId}\"", 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, @@ -268,7 +268,7 @@ partial void ProcessDeleteDocumentResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/{documentId}\"", 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, @@ -316,7 +316,7 @@ partial void ProcessDeleteDocumentResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/{documentId}\"", 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, @@ -338,7 +338,7 @@ partial void ProcessDeleteDocumentResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/{documentId}\"", 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/Speechify/Generated/Speechify.KnowledgeBasesClient.DeleteEvalCase.g.cs b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.DeleteEvalCase.g.cs index 6325e7d4..3ba159a9 100644 --- a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.DeleteEvalCase.g.cs +++ b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.DeleteEvalCase.g.cs @@ -171,8 +171,8 @@ partial void ProcessDeleteEvalCaseResponseContent( PrepareDeleteEvalCaseRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - kbId: kbId!, - caseId: caseId!, + kbId: kbId, + caseId: caseId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -195,7 +195,7 @@ partial void ProcessDeleteEvalCaseResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/eval-cases/{caseId}\"", 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, @@ -229,7 +229,7 @@ partial void ProcessDeleteEvalCaseResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/eval-cases/{caseId}\"", 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, @@ -270,7 +270,7 @@ partial void ProcessDeleteEvalCaseResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/eval-cases/{caseId}\"", 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, @@ -318,7 +318,7 @@ partial void ProcessDeleteEvalCaseResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/eval-cases/{caseId}\"", 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, @@ -340,7 +340,7 @@ partial void ProcessDeleteEvalCaseResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/eval-cases/{caseId}\"", 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/Speechify/Generated/Speechify.KnowledgeBasesClient.DeleteFolder.g.cs b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.DeleteFolder.g.cs index 3c2b3c5a..cfbb8bba 100644 --- a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.DeleteFolder.g.cs +++ b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.DeleteFolder.g.cs @@ -186,8 +186,8 @@ partial void ProcessDeleteFolderResponseContent( PrepareDeleteFolderRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - kbId: kbId!, - folderId: folderId!, + kbId: kbId, + folderId: folderId, force: force, speechifyVersion: speechifyVersion); @@ -211,7 +211,7 @@ partial void ProcessDeleteFolderResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/folders/{folderId}\"", 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, @@ -245,7 +245,7 @@ partial void ProcessDeleteFolderResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/folders/{folderId}\"", 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, @@ -286,7 +286,7 @@ partial void ProcessDeleteFolderResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/folders/{folderId}\"", 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, @@ -334,7 +334,7 @@ partial void ProcessDeleteFolderResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/folders/{folderId}\"", 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, @@ -356,7 +356,7 @@ partial void ProcessDeleteFolderResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/folders/{folderId}\"", 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/Speechify/Generated/Speechify.KnowledgeBasesClient.Get.g.cs b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.Get.g.cs index 9d81374c..8c1b861d 100644 --- a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.Get.g.cs +++ b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.Get.g.cs @@ -161,7 +161,7 @@ partial void ProcessGetResponseContent( PrepareGetRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - kbId: kbId!, + kbId: kbId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -184,7 +184,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}\"", httpMethod: "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, @@ -218,7 +218,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}\"", httpMethod: "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, @@ -259,7 +259,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -307,7 +307,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -329,7 +329,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.GetCoverage.g.cs b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.GetCoverage.g.cs index 2e1a9c00..9f7dba69 100644 --- a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.GetCoverage.g.cs +++ b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.GetCoverage.g.cs @@ -190,7 +190,7 @@ partial void ProcessGetCoverageResponseContent( PrepareGetCoverageRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - kbId: kbId!, + kbId: kbId, days: days, speechifyVersion: speechifyVersion); @@ -214,7 +214,7 @@ partial void ProcessGetCoverageResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/coverage\"", httpMethod: "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 ProcessGetCoverageResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/coverage\"", httpMethod: "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 ProcessGetCoverageResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/coverage\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetCoverageResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/coverage\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetCoverageResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/coverage\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.GetDocument.g.cs b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.GetDocument.g.cs index 448248d0..16979c8c 100644 --- a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.GetDocument.g.cs +++ b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.GetDocument.g.cs @@ -169,8 +169,8 @@ partial void ProcessGetDocumentResponseContent( PrepareGetDocumentRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - kbId: kbId!, - documentId: documentId!, + kbId: kbId, + documentId: documentId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -193,7 +193,7 @@ partial void ProcessGetDocumentResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/{documentId}\"", httpMethod: "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, @@ -227,7 +227,7 @@ partial void ProcessGetDocumentResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/{documentId}\"", httpMethod: "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, @@ -268,7 +268,7 @@ partial void ProcessGetDocumentResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/{documentId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -316,7 +316,7 @@ partial void ProcessGetDocumentResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/{documentId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetDocumentResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/{documentId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.GetEvaluation.g.cs b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.GetEvaluation.g.cs index a8549107..541c0b72 100644 --- a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.GetEvaluation.g.cs +++ b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.GetEvaluation.g.cs @@ -171,8 +171,8 @@ partial void ProcessGetEvaluationResponseContent( PrepareGetEvaluationRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - kbId: kbId!, - evaluationId: evaluationId!, + kbId: kbId, + evaluationId: evaluationId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -195,7 +195,7 @@ partial void ProcessGetEvaluationResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/evaluations/{evaluationId}\"", httpMethod: "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 ProcessGetEvaluationResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/evaluations/{evaluationId}\"", httpMethod: "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 ProcessGetEvaluationResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/evaluations/{evaluationId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetEvaluationResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/evaluations/{evaluationId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetEvaluationResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/evaluations/{evaluationId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.GetImportJob.g.cs b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.GetImportJob.g.cs index 09fa1ca6..16782a5b 100644 --- a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.GetImportJob.g.cs +++ b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.GetImportJob.g.cs @@ -173,8 +173,8 @@ partial void ProcessGetImportJobResponseContent( PrepareGetImportJobRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - kbId: kbId!, - importId: importId!, + kbId: kbId, + importId: importId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -197,7 +197,7 @@ partial void ProcessGetImportJobResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/imports/{importId}\"", httpMethod: "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, @@ -231,7 +231,7 @@ partial void ProcessGetImportJobResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/imports/{importId}\"", httpMethod: "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, @@ -272,7 +272,7 @@ partial void ProcessGetImportJobResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/imports/{importId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -320,7 +320,7 @@ partial void ProcessGetImportJobResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/imports/{importId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -342,7 +342,7 @@ partial void ProcessGetImportJobResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/imports/{importId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.List.g.cs b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.List.g.cs index bf398bd4..05a0f37e 100644 --- a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.List.g.cs +++ b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.List.g.cs @@ -217,7 +217,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/agents/knowledge-bases\"", httpMethod: "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, @@ -251,7 +251,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/agents/knowledge-bases\"", httpMethod: "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, @@ -292,7 +292,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/agents/knowledge-bases\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessListResponseContent( pathTemplate: "\"/v1/agents/knowledge-bases\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -362,7 +362,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/agents/knowledge-bases\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.ListChunks.g.cs b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.ListChunks.g.cs index ecda97ad..68133eb6 100644 --- a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.ListChunks.g.cs +++ b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.ListChunks.g.cs @@ -197,8 +197,8 @@ partial void ProcessListChunksResponseContent( PrepareListChunksRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - kbId: kbId!, - documentId: documentId!, + kbId: kbId, + documentId: documentId, cursor: cursor, limit: limit, speechifyVersion: speechifyVersion); @@ -223,7 +223,7 @@ partial void ProcessListChunksResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/{documentId}/chunks\"", httpMethod: "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, @@ -257,7 +257,7 @@ partial void ProcessListChunksResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/{documentId}/chunks\"", httpMethod: "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, @@ -298,7 +298,7 @@ partial void ProcessListChunksResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/{documentId}/chunks\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -346,7 +346,7 @@ partial void ProcessListChunksResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/{documentId}/chunks\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -368,7 +368,7 @@ partial void ProcessListChunksResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/{documentId}/chunks\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.ListDocuments.g.cs b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.ListDocuments.g.cs index 66d2bf06..cded6228 100644 --- a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.ListDocuments.g.cs +++ b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.ListDocuments.g.cs @@ -216,7 +216,7 @@ partial void ProcessListDocumentsResponseContent( PrepareListDocumentsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - kbId: kbId!, + kbId: kbId, folderId: folderId, q: q, sourceKind: sourceKind, @@ -244,7 +244,7 @@ partial void ProcessListDocumentsResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -278,7 +278,7 @@ partial void ProcessListDocumentsResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -319,7 +319,7 @@ partial void ProcessListDocumentsResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -367,7 +367,7 @@ partial void ProcessListDocumentsResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -389,7 +389,7 @@ partial void ProcessListDocumentsResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.ListEvalCases.g.cs b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.ListEvalCases.g.cs index fa949932..691c488c 100644 --- a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.ListEvalCases.g.cs +++ b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.ListEvalCases.g.cs @@ -189,7 +189,7 @@ partial void ProcessListEvalCasesResponseContent( PrepareListEvalCasesRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - kbId: kbId!, + kbId: kbId, cursor: cursor, limit: limit, speechifyVersion: speechifyVersion); @@ -214,7 +214,7 @@ partial void ProcessListEvalCasesResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/eval-cases\"", httpMethod: "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 ProcessListEvalCasesResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/eval-cases\"", httpMethod: "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 ProcessListEvalCasesResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/eval-cases\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessListEvalCasesResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/eval-cases\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessListEvalCasesResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/eval-cases\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.ListEvaluationResults.g.cs b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.ListEvaluationResults.g.cs index 6a755459..46ced45b 100644 --- a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.ListEvaluationResults.g.cs +++ b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.ListEvaluationResults.g.cs @@ -197,8 +197,8 @@ partial void ProcessListEvaluationResultsResponseContent( PrepareListEvaluationResultsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - kbId: kbId!, - evaluationId: evaluationId!, + kbId: kbId, + evaluationId: evaluationId, cursor: cursor, limit: limit, speechifyVersion: speechifyVersion); @@ -223,7 +223,7 @@ partial void ProcessListEvaluationResultsResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/evaluations/{evaluationId}/results\"", httpMethod: "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, @@ -257,7 +257,7 @@ partial void ProcessListEvaluationResultsResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/evaluations/{evaluationId}/results\"", httpMethod: "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, @@ -298,7 +298,7 @@ partial void ProcessListEvaluationResultsResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/evaluations/{evaluationId}/results\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -346,7 +346,7 @@ partial void ProcessListEvaluationResultsResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/evaluations/{evaluationId}/results\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -368,7 +368,7 @@ partial void ProcessListEvaluationResultsResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/evaluations/{evaluationId}/results\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.ListEvaluations.g.cs b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.ListEvaluations.g.cs index 6f8b50d8..c7ba6bd3 100644 --- a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.ListEvaluations.g.cs +++ b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.ListEvaluations.g.cs @@ -189,7 +189,7 @@ partial void ProcessListEvaluationsResponseContent( PrepareListEvaluationsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - kbId: kbId!, + kbId: kbId, cursor: cursor, limit: limit, speechifyVersion: speechifyVersion); @@ -214,7 +214,7 @@ partial void ProcessListEvaluationsResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/evaluations\"", httpMethod: "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 ProcessListEvaluationsResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/evaluations\"", httpMethod: "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 ProcessListEvaluationsResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/evaluations\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessListEvaluationsResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/evaluations\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessListEvaluationsResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/evaluations\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.ListFolders.g.cs b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.ListFolders.g.cs index f2712589..bec482b2 100644 --- a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.ListFolders.g.cs +++ b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.ListFolders.g.cs @@ -195,7 +195,7 @@ partial void ProcessListFoldersResponseContent( PrepareListFoldersRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - kbId: kbId!, + kbId: kbId, cursor: cursor, limit: limit, speechifyVersion: speechifyVersion); @@ -220,7 +220,7 @@ partial void ProcessListFoldersResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/folders\"", httpMethod: "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, @@ -254,7 +254,7 @@ partial void ProcessListFoldersResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/folders\"", httpMethod: "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, @@ -295,7 +295,7 @@ partial void ProcessListFoldersResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/folders\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -343,7 +343,7 @@ partial void ProcessListFoldersResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/folders\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -365,7 +365,7 @@ partial void ProcessListFoldersResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/folders\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.ListImportJobs.g.cs b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.ListImportJobs.g.cs index 6f702c95..ff4b0230 100644 --- a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.ListImportJobs.g.cs +++ b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.ListImportJobs.g.cs @@ -191,7 +191,7 @@ partial void ProcessListImportJobsResponseContent( PrepareListImportJobsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - kbId: kbId!, + kbId: kbId, cursor: cursor, limit: limit, speechifyVersion: speechifyVersion); @@ -216,7 +216,7 @@ partial void ProcessListImportJobsResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/imports\"", httpMethod: "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, @@ -250,7 +250,7 @@ partial void ProcessListImportJobsResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/imports\"", httpMethod: "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, @@ -291,7 +291,7 @@ partial void ProcessListImportJobsResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/imports\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessListImportJobsResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/imports\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -361,7 +361,7 @@ partial void ProcessListImportJobsResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/imports\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.ListRefreshHistory.g.cs b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.ListRefreshHistory.g.cs index c72b31a7..9a7243c9 100644 --- a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.ListRefreshHistory.g.cs +++ b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.ListRefreshHistory.g.cs @@ -199,8 +199,8 @@ partial void ProcessListRefreshHistoryResponseContent( PrepareListRefreshHistoryRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - kbId: kbId!, - documentId: documentId!, + kbId: kbId, + documentId: documentId, cursor: cursor, limit: limit, speechifyVersion: speechifyVersion); @@ -225,7 +225,7 @@ partial void ProcessListRefreshHistoryResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/{documentId}/refresh-history\"", httpMethod: "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, @@ -259,7 +259,7 @@ partial void ProcessListRefreshHistoryResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/{documentId}/refresh-history\"", httpMethod: "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, @@ -300,7 +300,7 @@ partial void ProcessListRefreshHistoryResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/{documentId}/refresh-history\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -348,7 +348,7 @@ partial void ProcessListRefreshHistoryResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/{documentId}/refresh-history\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -370,7 +370,7 @@ partial void ProcessListRefreshHistoryResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/{documentId}/refresh-history\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.Search.g.cs b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.Search.g.cs index af4d4a9d..f9faacdd 100644 --- a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.Search.g.cs +++ b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.Search.g.cs @@ -199,7 +199,7 @@ partial void ProcessSearchResponseContent( pathTemplate: "\"/v1/agents/knowledge-bases/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, @@ -233,7 +233,7 @@ partial void ProcessSearchResponseContent( pathTemplate: "\"/v1/agents/knowledge-bases/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, @@ -274,7 +274,7 @@ partial void ProcessSearchResponseContent( pathTemplate: "\"/v1/agents/knowledge-bases/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, @@ -322,7 +322,7 @@ partial void ProcessSearchResponseContent( pathTemplate: "\"/v1/agents/knowledge-bases/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, @@ -344,7 +344,7 @@ partial void ProcessSearchResponseContent( pathTemplate: "\"/v1/agents/knowledge-bases/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/Speechify/Generated/Speechify.KnowledgeBasesClient.StartEvaluation.g.cs b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.StartEvaluation.g.cs index a974f9b8..8f7f0655 100644 --- a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.StartEvaluation.g.cs +++ b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.StartEvaluation.g.cs @@ -204,7 +204,7 @@ partial void ProcessStartEvaluationResponseContent( PrepareStartEvaluationRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - kbId: kbId!, + kbId: kbId, speechifyVersion: speechifyVersion, idempotencyKey: idempotencyKey, request: request); @@ -229,7 +229,7 @@ partial void ProcessStartEvaluationResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/evaluations\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -263,7 +263,7 @@ partial void ProcessStartEvaluationResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/evaluations\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -304,7 +304,7 @@ partial void ProcessStartEvaluationResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/evaluations\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -352,7 +352,7 @@ partial void ProcessStartEvaluationResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/evaluations\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -374,7 +374,7 @@ partial void ProcessStartEvaluationResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/evaluations\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.Update.g.cs b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.Update.g.cs index dd2cb0f3..3887fdd4 100644 --- a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.Update.g.cs +++ b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.Update.g.cs @@ -180,7 +180,7 @@ partial void ProcessUpdateResponseContent( PrepareUpdateRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - kbId: kbId!, + kbId: kbId, speechifyVersion: speechifyVersion, request: request); @@ -204,7 +204,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}\"", 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, @@ -238,7 +238,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}\"", 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, @@ -279,7 +279,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}\"", 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, @@ -327,7 +327,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}\"", 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, @@ -349,7 +349,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}\"", 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/Speechify/Generated/Speechify.KnowledgeBasesClient.UpdateDocument.g.cs b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.UpdateDocument.g.cs index 772deb6c..034b8965 100644 --- a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.UpdateDocument.g.cs +++ b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.UpdateDocument.g.cs @@ -196,8 +196,8 @@ partial void ProcessUpdateDocumentResponseContent( PrepareUpdateDocumentRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - kbId: kbId!, - documentId: documentId!, + kbId: kbId, + documentId: documentId, speechifyVersion: speechifyVersion, request: request); @@ -221,7 +221,7 @@ partial void ProcessUpdateDocumentResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/{documentId}\"", 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, @@ -255,7 +255,7 @@ partial void ProcessUpdateDocumentResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/{documentId}\"", 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, @@ -296,7 +296,7 @@ partial void ProcessUpdateDocumentResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/{documentId}\"", 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 ProcessUpdateDocumentResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/{documentId}\"", 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, @@ -366,7 +366,7 @@ partial void ProcessUpdateDocumentResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/{documentId}\"", 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/Speechify/Generated/Speechify.KnowledgeBasesClient.UpdateEvalCase.g.cs b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.UpdateEvalCase.g.cs index 4b57f431..1e93fc6a 100644 --- a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.UpdateEvalCase.g.cs +++ b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.UpdateEvalCase.g.cs @@ -190,8 +190,8 @@ partial void ProcessUpdateEvalCaseResponseContent( PrepareUpdateEvalCaseRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - kbId: kbId!, - caseId: caseId!, + kbId: kbId, + caseId: caseId, speechifyVersion: speechifyVersion, request: request); @@ -215,7 +215,7 @@ partial void ProcessUpdateEvalCaseResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/eval-cases/{caseId}\"", 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, @@ -249,7 +249,7 @@ partial void ProcessUpdateEvalCaseResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/eval-cases/{caseId}\"", 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, @@ -290,7 +290,7 @@ partial void ProcessUpdateEvalCaseResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/eval-cases/{caseId}\"", httpMethod: "PATCH", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -338,7 +338,7 @@ partial void ProcessUpdateEvalCaseResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/eval-cases/{caseId}\"", 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, @@ -360,7 +360,7 @@ partial void ProcessUpdateEvalCaseResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/eval-cases/{caseId}\"", 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/Speechify/Generated/Speechify.KnowledgeBasesClient.UpdateFolder.g.cs b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.UpdateFolder.g.cs index 98f1679d..ed92484b 100644 --- a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.UpdateFolder.g.cs +++ b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.UpdateFolder.g.cs @@ -190,8 +190,8 @@ partial void ProcessUpdateFolderResponseContent( PrepareUpdateFolderRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - kbId: kbId!, - folderId: folderId!, + kbId: kbId, + folderId: folderId, speechifyVersion: speechifyVersion, request: request); @@ -215,7 +215,7 @@ partial void ProcessUpdateFolderResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/folders/{folderId}\"", 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, @@ -249,7 +249,7 @@ partial void ProcessUpdateFolderResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/folders/{folderId}\"", 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, @@ -290,7 +290,7 @@ partial void ProcessUpdateFolderResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/folders/{folderId}\"", httpMethod: "PATCH", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -338,7 +338,7 @@ partial void ProcessUpdateFolderResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/folders/{folderId}\"", 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, @@ -360,7 +360,7 @@ partial void ProcessUpdateFolderResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/folders/{folderId}\"", 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/Speechify/Generated/Speechify.KnowledgeBasesClient.UpdateRefreshConfig.g.cs b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.UpdateRefreshConfig.g.cs index 1b6ceb26..7efc9180 100644 --- a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.UpdateRefreshConfig.g.cs +++ b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.UpdateRefreshConfig.g.cs @@ -192,8 +192,8 @@ partial void ProcessUpdateRefreshConfigResponseContent( PrepareUpdateRefreshConfigRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - kbId: kbId!, - documentId: documentId!, + kbId: kbId, + documentId: documentId, speechifyVersion: speechifyVersion, request: request); @@ -217,7 +217,7 @@ partial void ProcessUpdateRefreshConfigResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/{documentId}/refresh-config\"", 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, @@ -251,7 +251,7 @@ partial void ProcessUpdateRefreshConfigResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/{documentId}/refresh-config\"", 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, @@ -292,7 +292,7 @@ partial void ProcessUpdateRefreshConfigResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/{documentId}/refresh-config\"", 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, @@ -340,7 +340,7 @@ partial void ProcessUpdateRefreshConfigResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/{documentId}/refresh-config\"", 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, @@ -362,7 +362,7 @@ partial void ProcessUpdateRefreshConfigResponseContent( pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents/{documentId}/refresh-config\"", 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/Speechify/Generated/Speechify.KnowledgeBasesClient.UploadDocument.g.cs b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.UploadDocument.g.cs index eb766b59..4e1d5eed 100644 --- a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.UploadDocument.g.cs +++ b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.UploadDocument.g.cs @@ -222,7 +222,7 @@ request.Filename is null PrepareUploadDocumentRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - kbId: kbId!, + kbId: kbId, speechifyVersion: speechifyVersion, request: request); @@ -246,7 +246,7 @@ request.Filename is null pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -280,7 +280,7 @@ request.Filename is null pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -321,7 +321,7 @@ request.Filename is null pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -369,7 +369,7 @@ request.Filename is null pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -391,7 +391,7 @@ request.Filename is null pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -873,7 +873,7 @@ request.Filename is null PrepareUploadDocumentRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - kbId: kbId!, + kbId: kbId, speechifyVersion: speechifyVersion, request: request); @@ -897,7 +897,7 @@ request.Filename is null pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -931,7 +931,7 @@ request.Filename is null pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -972,7 +972,7 @@ request.Filename is null pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1020,7 +1020,7 @@ request.Filename is null pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1042,7 +1042,7 @@ request.Filename is null pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1480,7 +1480,7 @@ request.Filename is null PrepareUploadDocumentRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - kbId: kbId!, + kbId: kbId, speechifyVersion: speechifyVersion, request: request); @@ -1504,7 +1504,7 @@ request.Filename is null pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -1538,7 +1538,7 @@ request.Filename is null pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -1579,7 +1579,7 @@ request.Filename is null pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1627,7 +1627,7 @@ request.Filename is null pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1649,7 +1649,7 @@ request.Filename is null pathTemplate: "$\"/v1/agents/knowledge-bases/{kbId}/documents\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.MemoriesClient.Delete.g.cs b/src/libs/Speechify/Generated/Speechify.MemoriesClient.Delete.g.cs index 84f479f2..30441175 100644 --- a/src/libs/Speechify/Generated/Speechify.MemoriesClient.Delete.g.cs +++ b/src/libs/Speechify/Generated/Speechify.MemoriesClient.Delete.g.cs @@ -161,7 +161,7 @@ partial void ProcessDeleteResponseContent( PrepareDeleteRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - memoryId: memoryId!, + memoryId: memoryId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -184,7 +184,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/agents/memories/{memoryId}\"", 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, @@ -218,7 +218,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/agents/memories/{memoryId}\"", 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, @@ -259,7 +259,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/agents/memories/{memoryId}\"", 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, @@ -307,7 +307,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/agents/memories/{memoryId}\"", 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, @@ -329,7 +329,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/agents/memories/{memoryId}\"", 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/Speechify/Generated/Speechify.Models.AgentRunStreamEvent.g.cs b/src/libs/Speechify/Generated/Speechify.Models.AgentRunStreamEvent.g.cs index 7503bde6..dd90e334 100644 --- a/src/libs/Speechify/Generated/Speechify.Models.AgentRunStreamEvent.g.cs +++ b/src/libs/Speechify/Generated/Speechify.Models.AgentRunStreamEvent.g.cs @@ -54,8 +54,8 @@ public bool TryPickRunStepAdded( /// /// /// - public global::Speechify.AgentRunStreamEventVariant1 PickRunStepAdded() => IsRunStepAdded - ? RunStepAdded! + public global::Speechify.AgentRunStreamEventVariant1 PickRunStepAdded() => RunStepAdded is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'RunStepAdded' but the value was {ToString()}."); /// @@ -98,8 +98,8 @@ public bool TryPickRunReplyDelta( /// /// /// - public global::Speechify.AgentRunStreamEventVariant2 PickRunReplyDelta() => IsRunReplyDelta - ? RunReplyDelta! + public global::Speechify.AgentRunStreamEventVariant2 PickRunReplyDelta() => RunReplyDelta is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'RunReplyDelta' but the value was {ToString()}."); /// @@ -137,8 +137,8 @@ public bool TryPickRunStatusChanged( /// /// /// - public global::Speechify.AgentRunStreamEventVariant3 PickRunStatusChanged() => IsRunStatusChanged - ? RunStatusChanged! + public global::Speechify.AgentRunStreamEventVariant3 PickRunStatusChanged() => RunStatusChanged is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'RunStatusChanged' but the value was {ToString()}."); /// @@ -177,8 +177,8 @@ public bool TryPickRunEnded( /// /// /// - public global::Speechify.AgentRunStreamEventVariant4 PickRunEnded() => IsRunEnded - ? RunEnded! + public global::Speechify.AgentRunStreamEventVariant4 PickRunEnded() => RunEnded is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'RunEnded' but the value was {ToString()}."); /// /// @@ -334,21 +334,21 @@ public bool Validate() Validate(); } - if (IsRunStepAdded && runStepAdded != null) + if (RunStepAdded is { } __value0 && runStepAdded != null) { - return runStepAdded(RunStepAdded!); + return runStepAdded(__value0); } - else if (IsRunReplyDelta && runReplyDelta != null) + else if (RunReplyDelta is { } __value1 && runReplyDelta != null) { - return runReplyDelta(RunReplyDelta!); + return runReplyDelta(__value1); } - else if (IsRunStatusChanged && runStatusChanged != null) + else if (RunStatusChanged is { } __value2 && runStatusChanged != null) { - return runStatusChanged(RunStatusChanged!); + return runStatusChanged(__value2); } - else if (IsRunEnded && runEnded != null) + else if (RunEnded is { } __value3 && runEnded != null) { - return runEnded(RunEnded!); + return runEnded(__value3); } return default(TResult); @@ -372,21 +372,21 @@ public void Match( Validate(); } - if (IsRunStepAdded) + if (RunStepAdded is { } __value0) { - runStepAdded?.Invoke(RunStepAdded!); + runStepAdded?.Invoke(__value0); } - else if (IsRunReplyDelta) + else if (RunReplyDelta is { } __value1) { - runReplyDelta?.Invoke(RunReplyDelta!); + runReplyDelta?.Invoke(__value1); } - else if (IsRunStatusChanged) + else if (RunStatusChanged is { } __value2) { - runStatusChanged?.Invoke(RunStatusChanged!); + runStatusChanged?.Invoke(__value2); } - else if (IsRunEnded) + else if (RunEnded is { } __value3) { - runEnded?.Invoke(RunEnded!); + runEnded?.Invoke(__value3); } } @@ -405,21 +405,21 @@ public void Switch( Validate(); } - if (IsRunStepAdded) + if (RunStepAdded is { } __value0) { - runStepAdded?.Invoke(RunStepAdded!); + runStepAdded?.Invoke(__value0); } - else if (IsRunReplyDelta) + else if (RunReplyDelta is { } __value1) { - runReplyDelta?.Invoke(RunReplyDelta!); + runReplyDelta?.Invoke(__value1); } - else if (IsRunStatusChanged) + else if (RunStatusChanged is { } __value2) { - runStatusChanged?.Invoke(RunStatusChanged!); + runStatusChanged?.Invoke(__value2); } - else if (IsRunEnded) + else if (RunEnded is { } __value3) { - runEnded?.Invoke(RunEnded!); + runEnded?.Invoke(__value3); } } diff --git a/src/libs/Speechify/Generated/Speechify.Models.AgentTestConfig.g.cs b/src/libs/Speechify/Generated/Speechify.Models.AgentTestConfig.g.cs index 36ed3e5e..48079530 100644 --- a/src/libs/Speechify/Generated/Speechify.Models.AgentTestConfig.g.cs +++ b/src/libs/Speechify/Generated/Speechify.Models.AgentTestConfig.g.cs @@ -48,8 +48,8 @@ public bool TryPickReplyConfig( /// /// /// - public global::Speechify.ReplyConfig PickReplyConfig() => IsReplyConfig - ? ReplyConfig! + public global::Speechify.ReplyConfig PickReplyConfig() => ReplyConfig is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'ReplyConfig' but the value was {ToString()}."); /// @@ -89,8 +89,8 @@ public bool TryPickToolCallConfig( /// /// /// - public global::Speechify.ToolCallConfig PickToolCallConfig() => IsToolCallConfig - ? ToolCallConfig! + public global::Speechify.ToolCallConfig PickToolCallConfig() => ToolCallConfig is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'ToolCallConfig' but the value was {ToString()}."); /// @@ -132,8 +132,8 @@ public bool TryPickSimulationConfig( /// /// /// - public global::Speechify.SimulationConfig PickSimulationConfig() => IsSimulationConfig - ? SimulationConfig! + public global::Speechify.SimulationConfig PickSimulationConfig() => SimulationConfig is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'SimulationConfig' but the value was {ToString()}."); /// /// @@ -258,17 +258,17 @@ public bool Validate() Validate(); } - if (IsReplyConfig && replyConfig != null) + if (ReplyConfig is { } __value0 && replyConfig != null) { - return replyConfig(ReplyConfig!); + return replyConfig(__value0); } - else if (IsToolCallConfig && toolCallConfig != null) + else if (ToolCallConfig is { } __value1 && toolCallConfig != null) { - return toolCallConfig(ToolCallConfig!); + return toolCallConfig(__value1); } - else if (IsSimulationConfig && simulationConfig != null) + else if (SimulationConfig is { } __value2 && simulationConfig != null) { - return simulationConfig(SimulationConfig!); + return simulationConfig(__value2); } return default(TResult); @@ -290,17 +290,17 @@ public void Match( Validate(); } - if (IsReplyConfig) + if (ReplyConfig is { } __value0) { - replyConfig?.Invoke(ReplyConfig!); + replyConfig?.Invoke(__value0); } - else if (IsToolCallConfig) + else if (ToolCallConfig is { } __value1) { - toolCallConfig?.Invoke(ToolCallConfig!); + toolCallConfig?.Invoke(__value1); } - else if (IsSimulationConfig) + else if (SimulationConfig is { } __value2) { - simulationConfig?.Invoke(SimulationConfig!); + simulationConfig?.Invoke(__value2); } } @@ -318,17 +318,17 @@ public void Switch( Validate(); } - if (IsReplyConfig) + if (ReplyConfig is { } __value0) { - replyConfig?.Invoke(ReplyConfig!); + replyConfig?.Invoke(__value0); } - else if (IsToolCallConfig) + else if (ToolCallConfig is { } __value1) { - toolCallConfig?.Invoke(ToolCallConfig!); + toolCallConfig?.Invoke(__value1); } - else if (IsSimulationConfig) + else if (SimulationConfig is { } __value2) { - simulationConfig?.Invoke(SimulationConfig!); + simulationConfig?.Invoke(__value2); } } diff --git a/src/libs/Speechify/Generated/Speechify.Models.AgentToolConfig.g.cs b/src/libs/Speechify/Generated/Speechify.Models.AgentToolConfig.g.cs index b66665a2..d5da5f56 100644 --- a/src/libs/Speechify/Generated/Speechify.Models.AgentToolConfig.g.cs +++ b/src/libs/Speechify/Generated/Speechify.Models.AgentToolConfig.g.cs @@ -48,8 +48,8 @@ public bool TryPickBuiltinToolConfig( /// /// /// - public global::Speechify.BuiltinToolConfig PickBuiltinToolConfig() => IsBuiltinToolConfig - ? BuiltinToolConfig! + public global::Speechify.BuiltinToolConfig PickBuiltinToolConfig() => BuiltinToolConfig is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'BuiltinToolConfig' but the value was {ToString()}."); /// @@ -99,8 +99,8 @@ public bool TryPickWebhookToolConfig( /// /// /// - public global::Speechify.WebhookToolConfig PickWebhookToolConfig() => IsWebhookToolConfig - ? WebhookToolConfig! + public global::Speechify.WebhookToolConfig PickWebhookToolConfig() => WebhookToolConfig is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'WebhookToolConfig' but the value was {ToString()}."); /// @@ -136,8 +136,8 @@ public bool TryPickClientToolConfig( /// /// /// - public global::Speechify.ClientToolConfig PickClientToolConfig() => IsClientToolConfig - ? ClientToolConfig! + public global::Speechify.ClientToolConfig PickClientToolConfig() => ClientToolConfig is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'ClientToolConfig' but the value was {ToString()}."); /// @@ -209,8 +209,8 @@ public bool TryPickMCPToolConfig( /// /// /// - public global::Speechify.MCPToolConfig PickMCPToolConfig() => IsMCPToolConfig - ? MCPToolConfig! + public global::Speechify.MCPToolConfig PickMCPToolConfig() => MCPToolConfig is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'MCPToolConfig' but the value was {ToString()}."); /// @@ -260,8 +260,8 @@ public bool TryPickOpenAPIToolConfig( /// /// /// - public global::Speechify.OpenAPIToolConfig PickOpenAPIToolConfig() => IsOpenAPIToolConfig - ? OpenAPIToolConfig! + public global::Speechify.OpenAPIToolConfig PickOpenAPIToolConfig() => OpenAPIToolConfig is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'OpenAPIToolConfig' but the value was {ToString()}."); /// /// @@ -442,25 +442,25 @@ public bool Validate() Validate(); } - if (IsBuiltinToolConfig && builtinToolConfig != null) + if (BuiltinToolConfig is { } __value0 && builtinToolConfig != null) { - return builtinToolConfig(BuiltinToolConfig!); + return builtinToolConfig(__value0); } - else if (IsWebhookToolConfig && webhookToolConfig != null) + else if (WebhookToolConfig is { } __value1 && webhookToolConfig != null) { - return webhookToolConfig(WebhookToolConfig!); + return webhookToolConfig(__value1); } - else if (IsClientToolConfig && clientToolConfig != null) + else if (ClientToolConfig is { } __value2 && clientToolConfig != null) { - return clientToolConfig(ClientToolConfig!); + return clientToolConfig(__value2); } - else if (IsMCPToolConfig && mCPToolConfig != null) + else if (MCPToolConfig is { } __value3 && mCPToolConfig != null) { - return mCPToolConfig(MCPToolConfig!); + return mCPToolConfig(__value3); } - else if (IsOpenAPIToolConfig && openAPIToolConfig != null) + else if (OpenAPIToolConfig is { } __value4 && openAPIToolConfig != null) { - return openAPIToolConfig(OpenAPIToolConfig!); + return openAPIToolConfig(__value4); } return default(TResult); @@ -486,25 +486,25 @@ public void Match( Validate(); } - if (IsBuiltinToolConfig) + if (BuiltinToolConfig is { } __value0) { - builtinToolConfig?.Invoke(BuiltinToolConfig!); + builtinToolConfig?.Invoke(__value0); } - else if (IsWebhookToolConfig) + else if (WebhookToolConfig is { } __value1) { - webhookToolConfig?.Invoke(WebhookToolConfig!); + webhookToolConfig?.Invoke(__value1); } - else if (IsClientToolConfig) + else if (ClientToolConfig is { } __value2) { - clientToolConfig?.Invoke(ClientToolConfig!); + clientToolConfig?.Invoke(__value2); } - else if (IsMCPToolConfig) + else if (MCPToolConfig is { } __value3) { - mCPToolConfig?.Invoke(MCPToolConfig!); + mCPToolConfig?.Invoke(__value3); } - else if (IsOpenAPIToolConfig) + else if (OpenAPIToolConfig is { } __value4) { - openAPIToolConfig?.Invoke(OpenAPIToolConfig!); + openAPIToolConfig?.Invoke(__value4); } } @@ -524,25 +524,25 @@ public void Switch( Validate(); } - if (IsBuiltinToolConfig) + if (BuiltinToolConfig is { } __value0) { - builtinToolConfig?.Invoke(BuiltinToolConfig!); + builtinToolConfig?.Invoke(__value0); } - else if (IsWebhookToolConfig) + else if (WebhookToolConfig is { } __value1) { - webhookToolConfig?.Invoke(WebhookToolConfig!); + webhookToolConfig?.Invoke(__value1); } - else if (IsClientToolConfig) + else if (ClientToolConfig is { } __value2) { - clientToolConfig?.Invoke(ClientToolConfig!); + clientToolConfig?.Invoke(__value2); } - else if (IsMCPToolConfig) + else if (MCPToolConfig is { } __value3) { - mCPToolConfig?.Invoke(MCPToolConfig!); + mCPToolConfig?.Invoke(__value3); } - else if (IsOpenAPIToolConfig) + else if (OpenAPIToolConfig is { } __value4) { - openAPIToolConfig?.Invoke(OpenAPIToolConfig!); + openAPIToolConfig?.Invoke(__value4); } } diff --git a/src/libs/Speechify/Generated/Speechify.Models.CreateAgentTestRequestConfig.g.cs b/src/libs/Speechify/Generated/Speechify.Models.CreateAgentTestRequestConfig.g.cs index 7e6e99f3..582a2972 100644 --- a/src/libs/Speechify/Generated/Speechify.Models.CreateAgentTestRequestConfig.g.cs +++ b/src/libs/Speechify/Generated/Speechify.Models.CreateAgentTestRequestConfig.g.cs @@ -48,8 +48,8 @@ public bool TryPickReplyConfig( /// /// /// - public global::Speechify.ReplyConfig PickReplyConfig() => IsReplyConfig - ? ReplyConfig! + public global::Speechify.ReplyConfig PickReplyConfig() => ReplyConfig is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'ReplyConfig' but the value was {ToString()}."); /// @@ -89,8 +89,8 @@ public bool TryPickToolCallConfig( /// /// /// - public global::Speechify.ToolCallConfig PickToolCallConfig() => IsToolCallConfig - ? ToolCallConfig! + public global::Speechify.ToolCallConfig PickToolCallConfig() => ToolCallConfig is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'ToolCallConfig' but the value was {ToString()}."); /// @@ -132,8 +132,8 @@ public bool TryPickSimulationConfig( /// /// /// - public global::Speechify.SimulationConfig PickSimulationConfig() => IsSimulationConfig - ? SimulationConfig! + public global::Speechify.SimulationConfig PickSimulationConfig() => SimulationConfig is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'SimulationConfig' but the value was {ToString()}."); /// /// @@ -258,17 +258,17 @@ public bool Validate() Validate(); } - if (IsReplyConfig && replyConfig != null) + if (ReplyConfig is { } __value0 && replyConfig != null) { - return replyConfig(ReplyConfig!); + return replyConfig(__value0); } - else if (IsToolCallConfig && toolCallConfig != null) + else if (ToolCallConfig is { } __value1 && toolCallConfig != null) { - return toolCallConfig(ToolCallConfig!); + return toolCallConfig(__value1); } - else if (IsSimulationConfig && simulationConfig != null) + else if (SimulationConfig is { } __value2 && simulationConfig != null) { - return simulationConfig(SimulationConfig!); + return simulationConfig(__value2); } return default(TResult); @@ -290,17 +290,17 @@ public void Match( Validate(); } - if (IsReplyConfig) + if (ReplyConfig is { } __value0) { - replyConfig?.Invoke(ReplyConfig!); + replyConfig?.Invoke(__value0); } - else if (IsToolCallConfig) + else if (ToolCallConfig is { } __value1) { - toolCallConfig?.Invoke(ToolCallConfig!); + toolCallConfig?.Invoke(__value1); } - else if (IsSimulationConfig) + else if (SimulationConfig is { } __value2) { - simulationConfig?.Invoke(SimulationConfig!); + simulationConfig?.Invoke(__value2); } } @@ -318,17 +318,17 @@ public void Switch( Validate(); } - if (IsReplyConfig) + if (ReplyConfig is { } __value0) { - replyConfig?.Invoke(ReplyConfig!); + replyConfig?.Invoke(__value0); } - else if (IsToolCallConfig) + else if (ToolCallConfig is { } __value1) { - toolCallConfig?.Invoke(ToolCallConfig!); + toolCallConfig?.Invoke(__value1); } - else if (IsSimulationConfig) + else if (SimulationConfig is { } __value2) { - simulationConfig?.Invoke(SimulationConfig!); + simulationConfig?.Invoke(__value2); } } diff --git a/src/libs/Speechify/Generated/Speechify.Models.CreateAgentToolRequestConfig.g.cs b/src/libs/Speechify/Generated/Speechify.Models.CreateAgentToolRequestConfig.g.cs index 9fb10b80..d0870a4c 100644 --- a/src/libs/Speechify/Generated/Speechify.Models.CreateAgentToolRequestConfig.g.cs +++ b/src/libs/Speechify/Generated/Speechify.Models.CreateAgentToolRequestConfig.g.cs @@ -48,8 +48,8 @@ public bool TryPickBuiltinToolConfig( /// /// /// - public global::Speechify.BuiltinToolConfig PickBuiltinToolConfig() => IsBuiltinToolConfig - ? BuiltinToolConfig! + public global::Speechify.BuiltinToolConfig PickBuiltinToolConfig() => BuiltinToolConfig is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'BuiltinToolConfig' but the value was {ToString()}."); /// @@ -99,8 +99,8 @@ public bool TryPickWebhookToolConfig( /// /// /// - public global::Speechify.WebhookToolConfig PickWebhookToolConfig() => IsWebhookToolConfig - ? WebhookToolConfig! + public global::Speechify.WebhookToolConfig PickWebhookToolConfig() => WebhookToolConfig is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'WebhookToolConfig' but the value was {ToString()}."); /// @@ -136,8 +136,8 @@ public bool TryPickClientToolConfig( /// /// /// - public global::Speechify.ClientToolConfig PickClientToolConfig() => IsClientToolConfig - ? ClientToolConfig! + public global::Speechify.ClientToolConfig PickClientToolConfig() => ClientToolConfig is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'ClientToolConfig' but the value was {ToString()}."); /// @@ -209,8 +209,8 @@ public bool TryPickMCPToolConfig( /// /// /// - public global::Speechify.MCPToolConfig PickMCPToolConfig() => IsMCPToolConfig - ? MCPToolConfig! + public global::Speechify.MCPToolConfig PickMCPToolConfig() => MCPToolConfig is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'MCPToolConfig' but the value was {ToString()}."); /// @@ -260,8 +260,8 @@ public bool TryPickOpenAPIToolConfig( /// /// /// - public global::Speechify.OpenAPIToolConfig PickOpenAPIToolConfig() => IsOpenAPIToolConfig - ? OpenAPIToolConfig! + public global::Speechify.OpenAPIToolConfig PickOpenAPIToolConfig() => OpenAPIToolConfig is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'OpenAPIToolConfig' but the value was {ToString()}."); /// /// @@ -442,25 +442,25 @@ public bool Validate() Validate(); } - if (IsBuiltinToolConfig && builtinToolConfig != null) + if (BuiltinToolConfig is { } __value0 && builtinToolConfig != null) { - return builtinToolConfig(BuiltinToolConfig!); + return builtinToolConfig(__value0); } - else if (IsWebhookToolConfig && webhookToolConfig != null) + else if (WebhookToolConfig is { } __value1 && webhookToolConfig != null) { - return webhookToolConfig(WebhookToolConfig!); + return webhookToolConfig(__value1); } - else if (IsClientToolConfig && clientToolConfig != null) + else if (ClientToolConfig is { } __value2 && clientToolConfig != null) { - return clientToolConfig(ClientToolConfig!); + return clientToolConfig(__value2); } - else if (IsMCPToolConfig && mCPToolConfig != null) + else if (MCPToolConfig is { } __value3 && mCPToolConfig != null) { - return mCPToolConfig(MCPToolConfig!); + return mCPToolConfig(__value3); } - else if (IsOpenAPIToolConfig && openAPIToolConfig != null) + else if (OpenAPIToolConfig is { } __value4 && openAPIToolConfig != null) { - return openAPIToolConfig(OpenAPIToolConfig!); + return openAPIToolConfig(__value4); } return default(TResult); @@ -486,25 +486,25 @@ public void Match( Validate(); } - if (IsBuiltinToolConfig) + if (BuiltinToolConfig is { } __value0) { - builtinToolConfig?.Invoke(BuiltinToolConfig!); + builtinToolConfig?.Invoke(__value0); } - else if (IsWebhookToolConfig) + else if (WebhookToolConfig is { } __value1) { - webhookToolConfig?.Invoke(WebhookToolConfig!); + webhookToolConfig?.Invoke(__value1); } - else if (IsClientToolConfig) + else if (ClientToolConfig is { } __value2) { - clientToolConfig?.Invoke(ClientToolConfig!); + clientToolConfig?.Invoke(__value2); } - else if (IsMCPToolConfig) + else if (MCPToolConfig is { } __value3) { - mCPToolConfig?.Invoke(MCPToolConfig!); + mCPToolConfig?.Invoke(__value3); } - else if (IsOpenAPIToolConfig) + else if (OpenAPIToolConfig is { } __value4) { - openAPIToolConfig?.Invoke(OpenAPIToolConfig!); + openAPIToolConfig?.Invoke(__value4); } } @@ -524,25 +524,25 @@ public void Switch( Validate(); } - if (IsBuiltinToolConfig) + if (BuiltinToolConfig is { } __value0) { - builtinToolConfig?.Invoke(BuiltinToolConfig!); + builtinToolConfig?.Invoke(__value0); } - else if (IsWebhookToolConfig) + else if (WebhookToolConfig is { } __value1) { - webhookToolConfig?.Invoke(WebhookToolConfig!); + webhookToolConfig?.Invoke(__value1); } - else if (IsClientToolConfig) + else if (ClientToolConfig is { } __value2) { - clientToolConfig?.Invoke(ClientToolConfig!); + clientToolConfig?.Invoke(__value2); } - else if (IsMCPToolConfig) + else if (MCPToolConfig is { } __value3) { - mCPToolConfig?.Invoke(MCPToolConfig!); + mCPToolConfig?.Invoke(__value3); } - else if (IsOpenAPIToolConfig) + else if (OpenAPIToolConfig is { } __value4) { - openAPIToolConfig?.Invoke(OpenAPIToolConfig!); + openAPIToolConfig?.Invoke(__value4); } } diff --git a/src/libs/Speechify/Generated/Speechify.Models.CreateToolRequestConfig.g.cs b/src/libs/Speechify/Generated/Speechify.Models.CreateToolRequestConfig.g.cs index fff21fbf..7b3235db 100644 --- a/src/libs/Speechify/Generated/Speechify.Models.CreateToolRequestConfig.g.cs +++ b/src/libs/Speechify/Generated/Speechify.Models.CreateToolRequestConfig.g.cs @@ -56,8 +56,8 @@ public bool TryPickWebhookToolConfig( /// /// /// - public global::Speechify.WebhookToolConfig PickWebhookToolConfig() => IsWebhookToolConfig - ? WebhookToolConfig! + public global::Speechify.WebhookToolConfig PickWebhookToolConfig() => WebhookToolConfig is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'WebhookToolConfig' but the value was {ToString()}."); /// @@ -93,8 +93,8 @@ public bool TryPickClientToolConfig( /// /// /// - public global::Speechify.ClientToolConfig PickClientToolConfig() => IsClientToolConfig - ? ClientToolConfig! + public global::Speechify.ClientToolConfig PickClientToolConfig() => ClientToolConfig is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'ClientToolConfig' but the value was {ToString()}."); /// @@ -166,8 +166,8 @@ public bool TryPickMCPToolConfig( /// /// /// - public global::Speechify.MCPToolConfig PickMCPToolConfig() => IsMCPToolConfig - ? MCPToolConfig! + public global::Speechify.MCPToolConfig PickMCPToolConfig() => MCPToolConfig is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'MCPToolConfig' but the value was {ToString()}."); /// @@ -217,8 +217,8 @@ public bool TryPickOpenAPIToolConfig( /// /// /// - public global::Speechify.OpenAPIToolConfig PickOpenAPIToolConfig() => IsOpenAPIToolConfig - ? OpenAPIToolConfig! + public global::Speechify.OpenAPIToolConfig PickOpenAPIToolConfig() => OpenAPIToolConfig is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'OpenAPIToolConfig' but the value was {ToString()}."); /// /// @@ -371,21 +371,21 @@ public bool Validate() Validate(); } - if (IsWebhookToolConfig && webhookToolConfig != null) + if (WebhookToolConfig is { } __value0 && webhookToolConfig != null) { - return webhookToolConfig(WebhookToolConfig!); + return webhookToolConfig(__value0); } - else if (IsClientToolConfig && clientToolConfig != null) + else if (ClientToolConfig is { } __value1 && clientToolConfig != null) { - return clientToolConfig(ClientToolConfig!); + return clientToolConfig(__value1); } - else if (IsMCPToolConfig && mCPToolConfig != null) + else if (MCPToolConfig is { } __value2 && mCPToolConfig != null) { - return mCPToolConfig(MCPToolConfig!); + return mCPToolConfig(__value2); } - else if (IsOpenAPIToolConfig && openAPIToolConfig != null) + else if (OpenAPIToolConfig is { } __value3 && openAPIToolConfig != null) { - return openAPIToolConfig(OpenAPIToolConfig!); + return openAPIToolConfig(__value3); } return default(TResult); @@ -409,21 +409,21 @@ public void Match( Validate(); } - if (IsWebhookToolConfig) + if (WebhookToolConfig is { } __value0) { - webhookToolConfig?.Invoke(WebhookToolConfig!); + webhookToolConfig?.Invoke(__value0); } - else if (IsClientToolConfig) + else if (ClientToolConfig is { } __value1) { - clientToolConfig?.Invoke(ClientToolConfig!); + clientToolConfig?.Invoke(__value1); } - else if (IsMCPToolConfig) + else if (MCPToolConfig is { } __value2) { - mCPToolConfig?.Invoke(MCPToolConfig!); + mCPToolConfig?.Invoke(__value2); } - else if (IsOpenAPIToolConfig) + else if (OpenAPIToolConfig is { } __value3) { - openAPIToolConfig?.Invoke(OpenAPIToolConfig!); + openAPIToolConfig?.Invoke(__value3); } } @@ -442,21 +442,21 @@ public void Switch( Validate(); } - if (IsWebhookToolConfig) + if (WebhookToolConfig is { } __value0) { - webhookToolConfig?.Invoke(WebhookToolConfig!); + webhookToolConfig?.Invoke(__value0); } - else if (IsClientToolConfig) + else if (ClientToolConfig is { } __value1) { - clientToolConfig?.Invoke(ClientToolConfig!); + clientToolConfig?.Invoke(__value1); } - else if (IsMCPToolConfig) + else if (MCPToolConfig is { } __value2) { - mCPToolConfig?.Invoke(MCPToolConfig!); + mCPToolConfig?.Invoke(__value2); } - else if (IsOpenAPIToolConfig) + else if (OpenAPIToolConfig is { } __value3) { - openAPIToolConfig?.Invoke(OpenAPIToolConfig!); + openAPIToolConfig?.Invoke(__value3); } } diff --git a/src/libs/Speechify/Generated/Speechify.Models.ImportOpenApiRequestSpec.g.cs b/src/libs/Speechify/Generated/Speechify.Models.ImportOpenApiRequestSpec.g.cs index d981387c..c146864d 100644 --- a/src/libs/Speechify/Generated/Speechify.Models.ImportOpenApiRequestSpec.g.cs +++ b/src/libs/Speechify/Generated/Speechify.Models.ImportOpenApiRequestSpec.g.cs @@ -43,8 +43,8 @@ public bool TryPickImportOpenApiRequestSpecVariant1( /// /// /// - public object PickImportOpenApiRequestSpecVariant1() => IsImportOpenApiRequestSpecVariant1 - ? ImportOpenApiRequestSpecVariant1! + public object PickImportOpenApiRequestSpecVariant1() => ImportOpenApiRequestSpecVariant1 is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'ImportOpenApiRequestSpecVariant1' but the value was {ToString()}."); /// @@ -80,8 +80,8 @@ public bool TryPickImportOpenApiRequestSpecVariant2( /// /// /// - public string PickImportOpenApiRequestSpecVariant2() => IsImportOpenApiRequestSpecVariant2 - ? ImportOpenApiRequestSpecVariant2! + public string PickImportOpenApiRequestSpecVariant2() => ImportOpenApiRequestSpecVariant2 is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'ImportOpenApiRequestSpecVariant2' but the value was {ToString()}."); /// /// @@ -155,13 +155,13 @@ public bool Validate() Validate(); } - if (IsImportOpenApiRequestSpecVariant1 && importOpenApiRequestSpecVariant1 != null) + if (ImportOpenApiRequestSpecVariant1 is { } __value0 && importOpenApiRequestSpecVariant1 != null) { - return importOpenApiRequestSpecVariant1(ImportOpenApiRequestSpecVariant1!); + return importOpenApiRequestSpecVariant1(__value0); } - else if (IsImportOpenApiRequestSpecVariant2 && importOpenApiRequestSpecVariant2 != null) + else if (ImportOpenApiRequestSpecVariant2 is { } __value1 && importOpenApiRequestSpecVariant2 != null) { - return importOpenApiRequestSpecVariant2(ImportOpenApiRequestSpecVariant2!); + return importOpenApiRequestSpecVariant2(__value1); } return default(TResult); @@ -181,13 +181,13 @@ public void Match( Validate(); } - if (IsImportOpenApiRequestSpecVariant1) + if (ImportOpenApiRequestSpecVariant1 is { } __value0) { - importOpenApiRequestSpecVariant1?.Invoke(ImportOpenApiRequestSpecVariant1!); + importOpenApiRequestSpecVariant1?.Invoke(__value0); } - else if (IsImportOpenApiRequestSpecVariant2) + else if (ImportOpenApiRequestSpecVariant2 is { } __value1) { - importOpenApiRequestSpecVariant2?.Invoke(ImportOpenApiRequestSpecVariant2!); + importOpenApiRequestSpecVariant2?.Invoke(__value1); } } @@ -204,13 +204,13 @@ public void Switch( Validate(); } - if (IsImportOpenApiRequestSpecVariant1) + if (ImportOpenApiRequestSpecVariant1 is { } __value0) { - importOpenApiRequestSpecVariant1?.Invoke(ImportOpenApiRequestSpecVariant1!); + importOpenApiRequestSpecVariant1?.Invoke(__value0); } - else if (IsImportOpenApiRequestSpecVariant2) + else if (ImportOpenApiRequestSpecVariant2 is { } __value1) { - importOpenApiRequestSpecVariant2?.Invoke(ImportOpenApiRequestSpecVariant2!); + importOpenApiRequestSpecVariant2?.Invoke(__value1); } } diff --git a/src/libs/Speechify/Generated/Speechify.Models.MCPAuth.g.cs b/src/libs/Speechify/Generated/Speechify.Models.MCPAuth.g.cs index fdec93ac..206c649c 100644 --- a/src/libs/Speechify/Generated/Speechify.Models.MCPAuth.g.cs +++ b/src/libs/Speechify/Generated/Speechify.Models.MCPAuth.g.cs @@ -51,8 +51,8 @@ public bool TryPickNone( /// /// /// - public global::Speechify.MCPAuthVariant1 PickNone() => IsNone - ? None! + public global::Speechify.MCPAuthVariant1 PickNone() => None is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'None' but the value was {ToString()}."); /// @@ -93,8 +93,8 @@ public bool TryPickBearer( /// /// /// - public global::Speechify.MCPAuthVariant2 PickBearer() => IsBearer - ? Bearer! + public global::Speechify.MCPAuthVariant2 PickBearer() => Bearer is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'Bearer' but the value was {ToString()}."); /// @@ -137,8 +137,8 @@ public bool TryPickOauth2ClientCredentials( /// /// /// - public global::Speechify.MCPAuthVariant3 PickOauth2ClientCredentials() => IsOauth2ClientCredentials - ? Oauth2ClientCredentials! + public global::Speechify.MCPAuthVariant3 PickOauth2ClientCredentials() => Oauth2ClientCredentials is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'Oauth2ClientCredentials' but the value was {ToString()}."); /// /// @@ -266,17 +266,17 @@ public bool Validate() Validate(); } - if (IsNone && none != null) + if (None is { } __value0 && none != null) { - return none(None!); + return none(__value0); } - else if (IsBearer && bearer != null) + else if (Bearer is { } __value1 && bearer != null) { - return bearer(Bearer!); + return bearer(__value1); } - else if (IsOauth2ClientCredentials && oauth2ClientCredentials != null) + else if (Oauth2ClientCredentials is { } __value2 && oauth2ClientCredentials != null) { - return oauth2ClientCredentials(Oauth2ClientCredentials!); + return oauth2ClientCredentials(__value2); } return default(TResult); @@ -298,17 +298,17 @@ public void Match( Validate(); } - if (IsNone) + if (None is { } __value0) { - none?.Invoke(None!); + none?.Invoke(__value0); } - else if (IsBearer) + else if (Bearer is { } __value1) { - bearer?.Invoke(Bearer!); + bearer?.Invoke(__value1); } - else if (IsOauth2ClientCredentials) + else if (Oauth2ClientCredentials is { } __value2) { - oauth2ClientCredentials?.Invoke(Oauth2ClientCredentials!); + oauth2ClientCredentials?.Invoke(__value2); } } @@ -326,17 +326,17 @@ public void Switch( Validate(); } - if (IsNone) + if (None is { } __value0) { - none?.Invoke(None!); + none?.Invoke(__value0); } - else if (IsBearer) + else if (Bearer is { } __value1) { - bearer?.Invoke(Bearer!); + bearer?.Invoke(__value1); } - else if (IsOauth2ClientCredentials) + else if (Oauth2ClientCredentials is { } __value2) { - oauth2ClientCredentials?.Invoke(Oauth2ClientCredentials!); + oauth2ClientCredentials?.Invoke(__value2); } } diff --git a/src/libs/Speechify/Generated/Speechify.Models.ProjectRunStreamEvent.g.cs b/src/libs/Speechify/Generated/Speechify.Models.ProjectRunStreamEvent.g.cs index 3f446c50..ac6afa34 100644 --- a/src/libs/Speechify/Generated/Speechify.Models.ProjectRunStreamEvent.g.cs +++ b/src/libs/Speechify/Generated/Speechify.Models.ProjectRunStreamEvent.g.cs @@ -51,8 +51,8 @@ public bool TryPickRunUpdated( /// /// /// - public global::Speechify.ProjectRunStreamEventVariant1 PickRunUpdated() => IsRunUpdated - ? RunUpdated! + public global::Speechify.ProjectRunStreamEventVariant1 PickRunUpdated() => RunUpdated is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'RunUpdated' but the value was {ToString()}."); /// @@ -89,8 +89,8 @@ public bool TryPickRunEnded( /// /// /// - public global::Speechify.ProjectRunStreamEventVariant2 PickRunEnded() => IsRunEnded - ? RunEnded! + public global::Speechify.ProjectRunStreamEventVariant2 PickRunEnded() => RunEnded is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'RunEnded' but the value was {ToString()}."); /// @@ -127,8 +127,8 @@ public bool TryPickRunsSynced( /// /// /// - public global::Speechify.ProjectRunStreamEventVariant3 PickRunsSynced() => IsRunsSynced - ? RunsSynced! + public global::Speechify.ProjectRunStreamEventVariant3 PickRunsSynced() => RunsSynced is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'RunsSynced' but the value was {ToString()}."); /// /// @@ -256,17 +256,17 @@ public bool Validate() Validate(); } - if (IsRunUpdated && runUpdated != null) + if (RunUpdated is { } __value0 && runUpdated != null) { - return runUpdated(RunUpdated!); + return runUpdated(__value0); } - else if (IsRunEnded && runEnded != null) + else if (RunEnded is { } __value1 && runEnded != null) { - return runEnded(RunEnded!); + return runEnded(__value1); } - else if (IsRunsSynced && runsSynced != null) + else if (RunsSynced is { } __value2 && runsSynced != null) { - return runsSynced(RunsSynced!); + return runsSynced(__value2); } return default(TResult); @@ -288,17 +288,17 @@ public void Match( Validate(); } - if (IsRunUpdated) + if (RunUpdated is { } __value0) { - runUpdated?.Invoke(RunUpdated!); + runUpdated?.Invoke(__value0); } - else if (IsRunEnded) + else if (RunEnded is { } __value1) { - runEnded?.Invoke(RunEnded!); + runEnded?.Invoke(__value1); } - else if (IsRunsSynced) + else if (RunsSynced is { } __value2) { - runsSynced?.Invoke(RunsSynced!); + runsSynced?.Invoke(__value2); } } @@ -316,17 +316,17 @@ public void Switch( Validate(); } - if (IsRunUpdated) + if (RunUpdated is { } __value0) { - runUpdated?.Invoke(RunUpdated!); + runUpdated?.Invoke(__value0); } - else if (IsRunEnded) + else if (RunEnded is { } __value1) { - runEnded?.Invoke(RunEnded!); + runEnded?.Invoke(__value1); } - else if (IsRunsSynced) + else if (RunsSynced is { } __value2) { - runsSynced?.Invoke(RunsSynced!); + runsSynced?.Invoke(__value2); } } diff --git a/src/libs/Speechify/Generated/Speechify.Models.SpeechStreamEvent.g.cs b/src/libs/Speechify/Generated/Speechify.Models.SpeechStreamEvent.g.cs index 79654977..5801b575 100644 --- a/src/libs/Speechify/Generated/Speechify.Models.SpeechStreamEvent.g.cs +++ b/src/libs/Speechify/Generated/Speechify.Models.SpeechStreamEvent.g.cs @@ -54,8 +54,8 @@ public bool TryPickSpeechChunk( /// /// /// - public global::Speechify.SpeechStreamEventVariant1 PickSpeechChunk() => IsSpeechChunk - ? SpeechChunk! + public global::Speechify.SpeechStreamEventVariant1 PickSpeechChunk() => SpeechChunk is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'SpeechChunk' but the value was {ToString()}."); /// @@ -92,8 +92,8 @@ public bool TryPickSpeechDone( /// /// /// - public global::Speechify.SpeechStreamEventVariant2 PickSpeechDone() => IsSpeechDone - ? SpeechDone! + public global::Speechify.SpeechStreamEventVariant2 PickSpeechDone() => SpeechDone is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'SpeechDone' but the value was {ToString()}."); /// @@ -132,8 +132,8 @@ public bool TryPickSpeechError( /// /// /// - public global::Speechify.SpeechStreamEventVariant3 PickSpeechError() => IsSpeechError - ? SpeechError! + public global::Speechify.SpeechStreamEventVariant3 PickSpeechError() => SpeechError is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'SpeechError' but the value was {ToString()}."); /// /// @@ -261,17 +261,17 @@ public bool Validate() Validate(); } - if (IsSpeechChunk && speechChunk != null) + if (SpeechChunk is { } __value0 && speechChunk != null) { - return speechChunk(SpeechChunk!); + return speechChunk(__value0); } - else if (IsSpeechDone && speechDone != null) + else if (SpeechDone is { } __value1 && speechDone != null) { - return speechDone(SpeechDone!); + return speechDone(__value1); } - else if (IsSpeechError && speechError != null) + else if (SpeechError is { } __value2 && speechError != null) { - return speechError(SpeechError!); + return speechError(__value2); } return default(TResult); @@ -293,17 +293,17 @@ public void Match( Validate(); } - if (IsSpeechChunk) + if (SpeechChunk is { } __value0) { - speechChunk?.Invoke(SpeechChunk!); + speechChunk?.Invoke(__value0); } - else if (IsSpeechDone) + else if (SpeechDone is { } __value1) { - speechDone?.Invoke(SpeechDone!); + speechDone?.Invoke(__value1); } - else if (IsSpeechError) + else if (SpeechError is { } __value2) { - speechError?.Invoke(SpeechError!); + speechError?.Invoke(__value2); } } @@ -321,17 +321,17 @@ public void Switch( Validate(); } - if (IsSpeechChunk) + if (SpeechChunk is { } __value0) { - speechChunk?.Invoke(SpeechChunk!); + speechChunk?.Invoke(__value0); } - else if (IsSpeechDone) + else if (SpeechDone is { } __value1) { - speechDone?.Invoke(SpeechDone!); + speechDone?.Invoke(__value1); } - else if (IsSpeechError) + else if (SpeechError is { } __value2) { - speechError?.Invoke(SpeechError!); + speechError?.Invoke(__value2); } } diff --git a/src/libs/Speechify/Generated/Speechify.Models.ToolConfig.g.cs b/src/libs/Speechify/Generated/Speechify.Models.ToolConfig.g.cs index c63aadbf..a2a3eb5e 100644 --- a/src/libs/Speechify/Generated/Speechify.Models.ToolConfig.g.cs +++ b/src/libs/Speechify/Generated/Speechify.Models.ToolConfig.g.cs @@ -56,8 +56,8 @@ public bool TryPickWebhookToolConfig( /// /// /// - public global::Speechify.WebhookToolConfig PickWebhookToolConfig() => IsWebhookToolConfig - ? WebhookToolConfig! + public global::Speechify.WebhookToolConfig PickWebhookToolConfig() => WebhookToolConfig is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'WebhookToolConfig' but the value was {ToString()}."); /// @@ -93,8 +93,8 @@ public bool TryPickClientToolConfig( /// /// /// - public global::Speechify.ClientToolConfig PickClientToolConfig() => IsClientToolConfig - ? ClientToolConfig! + public global::Speechify.ClientToolConfig PickClientToolConfig() => ClientToolConfig is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'ClientToolConfig' but the value was {ToString()}."); /// @@ -166,8 +166,8 @@ public bool TryPickMCPToolConfig( /// /// /// - public global::Speechify.MCPToolConfig PickMCPToolConfig() => IsMCPToolConfig - ? MCPToolConfig! + public global::Speechify.MCPToolConfig PickMCPToolConfig() => MCPToolConfig is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'MCPToolConfig' but the value was {ToString()}."); /// @@ -217,8 +217,8 @@ public bool TryPickOpenAPIToolConfig( /// /// /// - public global::Speechify.OpenAPIToolConfig PickOpenAPIToolConfig() => IsOpenAPIToolConfig - ? OpenAPIToolConfig! + public global::Speechify.OpenAPIToolConfig PickOpenAPIToolConfig() => OpenAPIToolConfig is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'OpenAPIToolConfig' but the value was {ToString()}."); /// /// @@ -371,21 +371,21 @@ public bool Validate() Validate(); } - if (IsWebhookToolConfig && webhookToolConfig != null) + if (WebhookToolConfig is { } __value0 && webhookToolConfig != null) { - return webhookToolConfig(WebhookToolConfig!); + return webhookToolConfig(__value0); } - else if (IsClientToolConfig && clientToolConfig != null) + else if (ClientToolConfig is { } __value1 && clientToolConfig != null) { - return clientToolConfig(ClientToolConfig!); + return clientToolConfig(__value1); } - else if (IsMCPToolConfig && mCPToolConfig != null) + else if (MCPToolConfig is { } __value2 && mCPToolConfig != null) { - return mCPToolConfig(MCPToolConfig!); + return mCPToolConfig(__value2); } - else if (IsOpenAPIToolConfig && openAPIToolConfig != null) + else if (OpenAPIToolConfig is { } __value3 && openAPIToolConfig != null) { - return openAPIToolConfig(OpenAPIToolConfig!); + return openAPIToolConfig(__value3); } return default(TResult); @@ -409,21 +409,21 @@ public void Match( Validate(); } - if (IsWebhookToolConfig) + if (WebhookToolConfig is { } __value0) { - webhookToolConfig?.Invoke(WebhookToolConfig!); + webhookToolConfig?.Invoke(__value0); } - else if (IsClientToolConfig) + else if (ClientToolConfig is { } __value1) { - clientToolConfig?.Invoke(ClientToolConfig!); + clientToolConfig?.Invoke(__value1); } - else if (IsMCPToolConfig) + else if (MCPToolConfig is { } __value2) { - mCPToolConfig?.Invoke(MCPToolConfig!); + mCPToolConfig?.Invoke(__value2); } - else if (IsOpenAPIToolConfig) + else if (OpenAPIToolConfig is { } __value3) { - openAPIToolConfig?.Invoke(OpenAPIToolConfig!); + openAPIToolConfig?.Invoke(__value3); } } @@ -442,21 +442,21 @@ public void Switch( Validate(); } - if (IsWebhookToolConfig) + if (WebhookToolConfig is { } __value0) { - webhookToolConfig?.Invoke(WebhookToolConfig!); + webhookToolConfig?.Invoke(__value0); } - else if (IsClientToolConfig) + else if (ClientToolConfig is { } __value1) { - clientToolConfig?.Invoke(ClientToolConfig!); + clientToolConfig?.Invoke(__value1); } - else if (IsMCPToolConfig) + else if (MCPToolConfig is { } __value2) { - mCPToolConfig?.Invoke(MCPToolConfig!); + mCPToolConfig?.Invoke(__value2); } - else if (IsOpenAPIToolConfig) + else if (OpenAPIToolConfig is { } __value3) { - openAPIToolConfig?.Invoke(OpenAPIToolConfig!); + openAPIToolConfig?.Invoke(__value3); } } diff --git a/src/libs/Speechify/Generated/Speechify.Models.UpdateAgentTestRequestConfig.g.cs b/src/libs/Speechify/Generated/Speechify.Models.UpdateAgentTestRequestConfig.g.cs index 0dd84100..6b9b740f 100644 --- a/src/libs/Speechify/Generated/Speechify.Models.UpdateAgentTestRequestConfig.g.cs +++ b/src/libs/Speechify/Generated/Speechify.Models.UpdateAgentTestRequestConfig.g.cs @@ -48,8 +48,8 @@ public bool TryPickReplyConfig( /// /// /// - public global::Speechify.ReplyConfig PickReplyConfig() => IsReplyConfig - ? ReplyConfig! + public global::Speechify.ReplyConfig PickReplyConfig() => ReplyConfig is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'ReplyConfig' but the value was {ToString()}."); /// @@ -89,8 +89,8 @@ public bool TryPickToolCallConfig( /// /// /// - public global::Speechify.ToolCallConfig PickToolCallConfig() => IsToolCallConfig - ? ToolCallConfig! + public global::Speechify.ToolCallConfig PickToolCallConfig() => ToolCallConfig is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'ToolCallConfig' but the value was {ToString()}."); /// @@ -132,8 +132,8 @@ public bool TryPickSimulationConfig( /// /// /// - public global::Speechify.SimulationConfig PickSimulationConfig() => IsSimulationConfig - ? SimulationConfig! + public global::Speechify.SimulationConfig PickSimulationConfig() => SimulationConfig is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'SimulationConfig' but the value was {ToString()}."); /// /// @@ -258,17 +258,17 @@ public bool Validate() Validate(); } - if (IsReplyConfig && replyConfig != null) + if (ReplyConfig is { } __value0 && replyConfig != null) { - return replyConfig(ReplyConfig!); + return replyConfig(__value0); } - else if (IsToolCallConfig && toolCallConfig != null) + else if (ToolCallConfig is { } __value1 && toolCallConfig != null) { - return toolCallConfig(ToolCallConfig!); + return toolCallConfig(__value1); } - else if (IsSimulationConfig && simulationConfig != null) + else if (SimulationConfig is { } __value2 && simulationConfig != null) { - return simulationConfig(SimulationConfig!); + return simulationConfig(__value2); } return default(TResult); @@ -290,17 +290,17 @@ public void Match( Validate(); } - if (IsReplyConfig) + if (ReplyConfig is { } __value0) { - replyConfig?.Invoke(ReplyConfig!); + replyConfig?.Invoke(__value0); } - else if (IsToolCallConfig) + else if (ToolCallConfig is { } __value1) { - toolCallConfig?.Invoke(ToolCallConfig!); + toolCallConfig?.Invoke(__value1); } - else if (IsSimulationConfig) + else if (SimulationConfig is { } __value2) { - simulationConfig?.Invoke(SimulationConfig!); + simulationConfig?.Invoke(__value2); } } @@ -318,17 +318,17 @@ public void Switch( Validate(); } - if (IsReplyConfig) + if (ReplyConfig is { } __value0) { - replyConfig?.Invoke(ReplyConfig!); + replyConfig?.Invoke(__value0); } - else if (IsToolCallConfig) + else if (ToolCallConfig is { } __value1) { - toolCallConfig?.Invoke(ToolCallConfig!); + toolCallConfig?.Invoke(__value1); } - else if (IsSimulationConfig) + else if (SimulationConfig is { } __value2) { - simulationConfig?.Invoke(SimulationConfig!); + simulationConfig?.Invoke(__value2); } } diff --git a/src/libs/Speechify/Generated/Speechify.Models.UpdateAgentToolRequestConfig.g.cs b/src/libs/Speechify/Generated/Speechify.Models.UpdateAgentToolRequestConfig.g.cs index 45ddb6da..99d9ef1d 100644 --- a/src/libs/Speechify/Generated/Speechify.Models.UpdateAgentToolRequestConfig.g.cs +++ b/src/libs/Speechify/Generated/Speechify.Models.UpdateAgentToolRequestConfig.g.cs @@ -48,8 +48,8 @@ public bool TryPickBuiltinToolConfig( /// /// /// - public global::Speechify.BuiltinToolConfig PickBuiltinToolConfig() => IsBuiltinToolConfig - ? BuiltinToolConfig! + public global::Speechify.BuiltinToolConfig PickBuiltinToolConfig() => BuiltinToolConfig is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'BuiltinToolConfig' but the value was {ToString()}."); /// /// @@ -108,9 +108,9 @@ public bool Validate() Validate(); } - if (IsBuiltinToolConfig && builtinToolConfig != null) + if (BuiltinToolConfig is { } __value0 && builtinToolConfig != null) { - return builtinToolConfig(BuiltinToolConfig!); + return builtinToolConfig(__value0); } return default(TResult); @@ -128,9 +128,9 @@ public void Match( Validate(); } - if (IsBuiltinToolConfig) + if (BuiltinToolConfig is { } __value0) { - builtinToolConfig?.Invoke(BuiltinToolConfig!); + builtinToolConfig?.Invoke(__value0); } } @@ -146,9 +146,9 @@ public void Switch( Validate(); } - if (IsBuiltinToolConfig) + if (BuiltinToolConfig is { } __value0) { - builtinToolConfig?.Invoke(BuiltinToolConfig!); + builtinToolConfig?.Invoke(__value0); } } diff --git a/src/libs/Speechify/Generated/Speechify.Models.UpdateToolRequestConfig.g.cs b/src/libs/Speechify/Generated/Speechify.Models.UpdateToolRequestConfig.g.cs index a1f1d30d..bbe3b82f 100644 --- a/src/libs/Speechify/Generated/Speechify.Models.UpdateToolRequestConfig.g.cs +++ b/src/libs/Speechify/Generated/Speechify.Models.UpdateToolRequestConfig.g.cs @@ -56,8 +56,8 @@ public bool TryPickWebhookToolConfig( /// /// /// - public global::Speechify.WebhookToolConfig PickWebhookToolConfig() => IsWebhookToolConfig - ? WebhookToolConfig! + public global::Speechify.WebhookToolConfig PickWebhookToolConfig() => WebhookToolConfig is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'WebhookToolConfig' but the value was {ToString()}."); /// @@ -93,8 +93,8 @@ public bool TryPickClientToolConfig( /// /// /// - public global::Speechify.ClientToolConfig PickClientToolConfig() => IsClientToolConfig - ? ClientToolConfig! + public global::Speechify.ClientToolConfig PickClientToolConfig() => ClientToolConfig is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'ClientToolConfig' but the value was {ToString()}."); /// @@ -166,8 +166,8 @@ public bool TryPickMCPToolConfig( /// /// /// - public global::Speechify.MCPToolConfig PickMCPToolConfig() => IsMCPToolConfig - ? MCPToolConfig! + public global::Speechify.MCPToolConfig PickMCPToolConfig() => MCPToolConfig is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'MCPToolConfig' but the value was {ToString()}."); /// @@ -217,8 +217,8 @@ public bool TryPickOpenAPIToolConfig( /// /// /// - public global::Speechify.OpenAPIToolConfig PickOpenAPIToolConfig() => IsOpenAPIToolConfig - ? OpenAPIToolConfig! + public global::Speechify.OpenAPIToolConfig PickOpenAPIToolConfig() => OpenAPIToolConfig is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'OpenAPIToolConfig' but the value was {ToString()}."); /// /// @@ -371,21 +371,21 @@ public bool Validate() Validate(); } - if (IsWebhookToolConfig && webhookToolConfig != null) + if (WebhookToolConfig is { } __value0 && webhookToolConfig != null) { - return webhookToolConfig(WebhookToolConfig!); + return webhookToolConfig(__value0); } - else if (IsClientToolConfig && clientToolConfig != null) + else if (ClientToolConfig is { } __value1 && clientToolConfig != null) { - return clientToolConfig(ClientToolConfig!); + return clientToolConfig(__value1); } - else if (IsMCPToolConfig && mCPToolConfig != null) + else if (MCPToolConfig is { } __value2 && mCPToolConfig != null) { - return mCPToolConfig(MCPToolConfig!); + return mCPToolConfig(__value2); } - else if (IsOpenAPIToolConfig && openAPIToolConfig != null) + else if (OpenAPIToolConfig is { } __value3 && openAPIToolConfig != null) { - return openAPIToolConfig(OpenAPIToolConfig!); + return openAPIToolConfig(__value3); } return default(TResult); @@ -409,21 +409,21 @@ public void Match( Validate(); } - if (IsWebhookToolConfig) + if (WebhookToolConfig is { } __value0) { - webhookToolConfig?.Invoke(WebhookToolConfig!); + webhookToolConfig?.Invoke(__value0); } - else if (IsClientToolConfig) + else if (ClientToolConfig is { } __value1) { - clientToolConfig?.Invoke(ClientToolConfig!); + clientToolConfig?.Invoke(__value1); } - else if (IsMCPToolConfig) + else if (MCPToolConfig is { } __value2) { - mCPToolConfig?.Invoke(MCPToolConfig!); + mCPToolConfig?.Invoke(__value2); } - else if (IsOpenAPIToolConfig) + else if (OpenAPIToolConfig is { } __value3) { - openAPIToolConfig?.Invoke(OpenAPIToolConfig!); + openAPIToolConfig?.Invoke(__value3); } } @@ -442,21 +442,21 @@ public void Switch( Validate(); } - if (IsWebhookToolConfig) + if (WebhookToolConfig is { } __value0) { - webhookToolConfig?.Invoke(WebhookToolConfig!); + webhookToolConfig?.Invoke(__value0); } - else if (IsClientToolConfig) + else if (ClientToolConfig is { } __value1) { - clientToolConfig?.Invoke(ClientToolConfig!); + clientToolConfig?.Invoke(__value1); } - else if (IsMCPToolConfig) + else if (MCPToolConfig is { } __value2) { - mCPToolConfig?.Invoke(MCPToolConfig!); + mCPToolConfig?.Invoke(__value2); } - else if (IsOpenAPIToolConfig) + else if (OpenAPIToolConfig is { } __value3) { - openAPIToolConfig?.Invoke(OpenAPIToolConfig!); + openAPIToolConfig?.Invoke(__value3); } } diff --git a/src/libs/Speechify/Generated/Speechify.ModelsClient.List.g.cs b/src/libs/Speechify/Generated/Speechify.ModelsClient.List.g.cs index 3ce30872..19b7238d 100644 --- a/src/libs/Speechify/Generated/Speechify.ModelsClient.List.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ModelsClient.List.g.cs @@ -191,7 +191,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/audio/models\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -225,7 +225,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/audio/models\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -266,7 +266,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/audio/models\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -314,7 +314,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/audio/models\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -336,7 +336,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/audio/models\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.OutboundCallsClient.Create.g.cs b/src/libs/Speechify/Generated/Speechify.OutboundCallsClient.Create.g.cs index d47db1c8..6aca3a22 100644 --- a/src/libs/Speechify/Generated/Speechify.OutboundCallsClient.Create.g.cs +++ b/src/libs/Speechify/Generated/Speechify.OutboundCallsClient.Create.g.cs @@ -262,7 +262,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "\"/v1/agents/outbound-calls\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -296,7 +296,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "\"/v1/agents/outbound-calls\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -337,7 +337,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "\"/v1/agents/outbound-calls\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -385,7 +385,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "\"/v1/agents/outbound-calls\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -407,7 +407,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "\"/v1/agents/outbound-calls\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.PhoneNumbersClient.Delete.g.cs b/src/libs/Speechify/Generated/Speechify.PhoneNumbersClient.Delete.g.cs index ada5c27b..773d77dc 100644 --- a/src/libs/Speechify/Generated/Speechify.PhoneNumbersClient.Delete.g.cs +++ b/src/libs/Speechify/Generated/Speechify.PhoneNumbersClient.Delete.g.cs @@ -165,7 +165,7 @@ partial void ProcessDeleteResponseContent( PrepareDeleteRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - phoneNumberId: phoneNumberId!, + phoneNumberId: phoneNumberId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -188,7 +188,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/agents/phone-numbers/{phoneNumberId}\"", 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 ProcessDeleteResponseContent( pathTemplate: "$\"/v1/agents/phone-numbers/{phoneNumberId}\"", 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 ProcessDeleteResponseContent( pathTemplate: "$\"/v1/agents/phone-numbers/{phoneNumberId}\"", 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 ProcessDeleteResponseContent( pathTemplate: "$\"/v1/agents/phone-numbers/{phoneNumberId}\"", 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 ProcessDeleteResponseContent( pathTemplate: "$\"/v1/agents/phone-numbers/{phoneNumberId}\"", 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/Speechify/Generated/Speechify.PhoneNumbersClient.Get.g.cs b/src/libs/Speechify/Generated/Speechify.PhoneNumbersClient.Get.g.cs index b563c83e..8457dd57 100644 --- a/src/libs/Speechify/Generated/Speechify.PhoneNumbersClient.Get.g.cs +++ b/src/libs/Speechify/Generated/Speechify.PhoneNumbersClient.Get.g.cs @@ -161,7 +161,7 @@ partial void ProcessGetResponseContent( PrepareGetRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - phoneNumberId: phoneNumberId!, + phoneNumberId: phoneNumberId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -184,7 +184,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/phone-numbers/{phoneNumberId}\"", httpMethod: "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, @@ -218,7 +218,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/phone-numbers/{phoneNumberId}\"", httpMethod: "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, @@ -259,7 +259,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/phone-numbers/{phoneNumberId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -307,7 +307,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/phone-numbers/{phoneNumberId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -329,7 +329,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/phone-numbers/{phoneNumberId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.PhoneNumbersClient.Import.g.cs b/src/libs/Speechify/Generated/Speechify.PhoneNumbersClient.Import.g.cs index 6418e733..c193d41d 100644 --- a/src/libs/Speechify/Generated/Speechify.PhoneNumbersClient.Import.g.cs +++ b/src/libs/Speechify/Generated/Speechify.PhoneNumbersClient.Import.g.cs @@ -213,7 +213,7 @@ partial void ProcessImportResponseContent( pathTemplate: "\"/v1/agents/phone-numbers\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -247,7 +247,7 @@ partial void ProcessImportResponseContent( pathTemplate: "\"/v1/agents/phone-numbers\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -288,7 +288,7 @@ partial void ProcessImportResponseContent( pathTemplate: "\"/v1/agents/phone-numbers\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -336,7 +336,7 @@ partial void ProcessImportResponseContent( pathTemplate: "\"/v1/agents/phone-numbers\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -358,7 +358,7 @@ partial void ProcessImportResponseContent( pathTemplate: "\"/v1/agents/phone-numbers\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.PhoneNumbersClient.List.g.cs b/src/libs/Speechify/Generated/Speechify.PhoneNumbersClient.List.g.cs index bfad45fb..54d029e7 100644 --- a/src/libs/Speechify/Generated/Speechify.PhoneNumbersClient.List.g.cs +++ b/src/libs/Speechify/Generated/Speechify.PhoneNumbersClient.List.g.cs @@ -215,7 +215,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/agents/phone-numbers\"", httpMethod: "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, @@ -249,7 +249,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/agents/phone-numbers\"", httpMethod: "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, @@ -290,7 +290,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/agents/phone-numbers\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessListResponseContent( pathTemplate: "\"/v1/agents/phone-numbers\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessListResponseContent( pathTemplate: "\"/v1/agents/phone-numbers\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.PhoneNumbersClient.Purchase.g.cs b/src/libs/Speechify/Generated/Speechify.PhoneNumbersClient.Purchase.g.cs index 028d6e82..a4f6b6ec 100644 --- a/src/libs/Speechify/Generated/Speechify.PhoneNumbersClient.Purchase.g.cs +++ b/src/libs/Speechify/Generated/Speechify.PhoneNumbersClient.Purchase.g.cs @@ -254,7 +254,7 @@ partial void ProcessPurchaseResponseContent( pathTemplate: "\"/v1/agents/phone-numbers/purchase\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -288,7 +288,7 @@ partial void ProcessPurchaseResponseContent( pathTemplate: "\"/v1/agents/phone-numbers/purchase\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -329,7 +329,7 @@ partial void ProcessPurchaseResponseContent( pathTemplate: "\"/v1/agents/phone-numbers/purchase\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -377,7 +377,7 @@ partial void ProcessPurchaseResponseContent( pathTemplate: "\"/v1/agents/phone-numbers/purchase\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -399,7 +399,7 @@ partial void ProcessPurchaseResponseContent( pathTemplate: "\"/v1/agents/phone-numbers/purchase\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.PhoneNumbersClient.SearchAvailable.g.cs b/src/libs/Speechify/Generated/Speechify.PhoneNumbersClient.SearchAvailable.g.cs index 3556ef40..4172aad2 100644 --- a/src/libs/Speechify/Generated/Speechify.PhoneNumbersClient.SearchAvailable.g.cs +++ b/src/libs/Speechify/Generated/Speechify.PhoneNumbersClient.SearchAvailable.g.cs @@ -225,7 +225,7 @@ partial void ProcessSearchAvailableResponseContent( pathTemplate: "\"/v1/agents/phone-numbers/available\"", httpMethod: "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, @@ -259,7 +259,7 @@ partial void ProcessSearchAvailableResponseContent( pathTemplate: "\"/v1/agents/phone-numbers/available\"", httpMethod: "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, @@ -300,7 +300,7 @@ partial void ProcessSearchAvailableResponseContent( pathTemplate: "\"/v1/agents/phone-numbers/available\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -348,7 +348,7 @@ partial void ProcessSearchAvailableResponseContent( pathTemplate: "\"/v1/agents/phone-numbers/available\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -370,7 +370,7 @@ partial void ProcessSearchAvailableResponseContent( pathTemplate: "\"/v1/agents/phone-numbers/available\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.PhoneNumbersClient.Update.g.cs b/src/libs/Speechify/Generated/Speechify.PhoneNumbersClient.Update.g.cs index 3dd6897a..cd0380c4 100644 --- a/src/libs/Speechify/Generated/Speechify.PhoneNumbersClient.Update.g.cs +++ b/src/libs/Speechify/Generated/Speechify.PhoneNumbersClient.Update.g.cs @@ -198,7 +198,7 @@ partial void ProcessUpdateResponseContent( PrepareUpdateRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - phoneNumberId: phoneNumberId!, + phoneNumberId: phoneNumberId, speechifyVersion: speechifyVersion, request: request); @@ -222,7 +222,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/agents/phone-numbers/{phoneNumberId}\"", 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, @@ -256,7 +256,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/agents/phone-numbers/{phoneNumberId}\"", 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, @@ -297,7 +297,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/agents/phone-numbers/{phoneNumberId}\"", 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, @@ -345,7 +345,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/agents/phone-numbers/{phoneNumberId}\"", 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, @@ -367,7 +367,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/agents/phone-numbers/{phoneNumberId}\"", 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/Speechify/Generated/Speechify.ProjectsClient.Archive.g.cs b/src/libs/Speechify/Generated/Speechify.ProjectsClient.Archive.g.cs index df2e38ac..a69fd661 100644 --- a/src/libs/Speechify/Generated/Speechify.ProjectsClient.Archive.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ProjectsClient.Archive.g.cs @@ -179,7 +179,7 @@ partial void ProcessArchiveResponseContent( PrepareArchiveRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - projectId: projectId!, + projectId: projectId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -202,7 +202,7 @@ partial void ProcessArchiveResponseContent( pathTemplate: "$\"/v1/projects/{projectId}/archive\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessArchiveResponseContent( pathTemplate: "$\"/v1/projects/{projectId}/archive\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessArchiveResponseContent( pathTemplate: "$\"/v1/projects/{projectId}/archive\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessArchiveResponseContent( pathTemplate: "$\"/v1/projects/{projectId}/archive\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessArchiveResponseContent( pathTemplate: "$\"/v1/projects/{projectId}/archive\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.ProjectsClient.Audit.g.cs b/src/libs/Speechify/Generated/Speechify.ProjectsClient.Audit.g.cs index 97fc6f3f..cc32ba40 100644 --- a/src/libs/Speechify/Generated/Speechify.ProjectsClient.Audit.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ProjectsClient.Audit.g.cs @@ -205,7 +205,7 @@ partial void ProcessAuditResponseContent( PrepareAuditRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - projectId: projectId!, + projectId: projectId, cursor: cursor, limit: limit, speechifyVersion: speechifyVersion); @@ -230,7 +230,7 @@ partial void ProcessAuditResponseContent( pathTemplate: "$\"/v1/projects/{projectId}/audit\"", httpMethod: "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, @@ -264,7 +264,7 @@ partial void ProcessAuditResponseContent( pathTemplate: "$\"/v1/projects/{projectId}/audit\"", httpMethod: "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, @@ -305,7 +305,7 @@ partial void ProcessAuditResponseContent( pathTemplate: "$\"/v1/projects/{projectId}/audit\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessAuditResponseContent( pathTemplate: "$\"/v1/projects/{projectId}/audit\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -375,7 +375,7 @@ partial void ProcessAuditResponseContent( pathTemplate: "$\"/v1/projects/{projectId}/audit\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.ProjectsClient.Create.g.cs b/src/libs/Speechify/Generated/Speechify.ProjectsClient.Create.g.cs index b47bf824..744142e3 100644 --- a/src/libs/Speechify/Generated/Speechify.ProjectsClient.Create.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ProjectsClient.Create.g.cs @@ -201,7 +201,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "\"/v1/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, @@ -235,7 +235,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "\"/v1/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, @@ -276,7 +276,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "\"/v1/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, @@ -324,7 +324,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "\"/v1/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, @@ -346,7 +346,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "\"/v1/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/Speechify/Generated/Speechify.ProjectsClient.Delete.g.cs b/src/libs/Speechify/Generated/Speechify.ProjectsClient.Delete.g.cs index a7d2247e..173223c9 100644 --- a/src/libs/Speechify/Generated/Speechify.ProjectsClient.Delete.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ProjectsClient.Delete.g.cs @@ -298,7 +298,7 @@ partial void ProcessDeleteResponseContent( PrepareDeleteRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - projectId: projectId!, + projectId: projectId, speechifyVersion: speechifyVersion, request: request); @@ -322,7 +322,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/projects/{projectId}\"", 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, @@ -356,7 +356,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/projects/{projectId}\"", 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, @@ -397,7 +397,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/projects/{projectId}\"", 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, @@ -445,7 +445,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/projects/{projectId}\"", 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, @@ -467,7 +467,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/projects/{projectId}\"", 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/Speechify/Generated/Speechify.ProjectsClient.Get.g.cs b/src/libs/Speechify/Generated/Speechify.ProjectsClient.Get.g.cs index b354715b..cc79a7af 100644 --- a/src/libs/Speechify/Generated/Speechify.ProjectsClient.Get.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ProjectsClient.Get.g.cs @@ -165,7 +165,7 @@ partial void ProcessGetResponseContent( PrepareGetRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - projectId: projectId!, + projectId: projectId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -188,7 +188,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/projects/{projectId}\"", httpMethod: "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 ProcessGetResponseContent( pathTemplate: "$\"/v1/projects/{projectId}\"", httpMethod: "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 ProcessGetResponseContent( pathTemplate: "$\"/v1/projects/{projectId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetResponseContent( pathTemplate: "$\"/v1/projects/{projectId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetResponseContent( pathTemplate: "$\"/v1/projects/{projectId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.ProjectsClient.GrantMember.g.cs b/src/libs/Speechify/Generated/Speechify.ProjectsClient.GrantMember.g.cs index d5545a98..23b62327 100644 --- a/src/libs/Speechify/Generated/Speechify.ProjectsClient.GrantMember.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ProjectsClient.GrantMember.g.cs @@ -190,7 +190,7 @@ partial void ProcessGrantMemberResponseContent( PrepareGrantMemberRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - projectId: projectId!, + projectId: projectId, speechifyVersion: speechifyVersion, request: request); @@ -214,7 +214,7 @@ partial void ProcessGrantMemberResponseContent( pathTemplate: "$\"/v1/projects/{projectId}/members\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -248,7 +248,7 @@ partial void ProcessGrantMemberResponseContent( pathTemplate: "$\"/v1/projects/{projectId}/members\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -289,7 +289,7 @@ partial void ProcessGrantMemberResponseContent( pathTemplate: "$\"/v1/projects/{projectId}/members\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -337,7 +337,7 @@ partial void ProcessGrantMemberResponseContent( pathTemplate: "$\"/v1/projects/{projectId}/members\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -359,7 +359,7 @@ partial void ProcessGrantMemberResponseContent( pathTemplate: "$\"/v1/projects/{projectId}/members\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.ProjectsClient.List.g.cs b/src/libs/Speechify/Generated/Speechify.ProjectsClient.List.g.cs index 19554125..eeec2a3f 100644 --- a/src/libs/Speechify/Generated/Speechify.ProjectsClient.List.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ProjectsClient.List.g.cs @@ -241,7 +241,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/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, @@ -275,7 +275,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/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, @@ -316,7 +316,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/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, @@ -364,7 +364,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/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, @@ -386,7 +386,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/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/Speechify/Generated/Speechify.ProjectsClient.ListMembers.g.cs b/src/libs/Speechify/Generated/Speechify.ProjectsClient.ListMembers.g.cs index 500724cd..253e204e 100644 --- a/src/libs/Speechify/Generated/Speechify.ProjectsClient.ListMembers.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ProjectsClient.ListMembers.g.cs @@ -193,7 +193,7 @@ partial void ProcessListMembersResponseContent( PrepareListMembersRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - projectId: projectId!, + projectId: projectId, cursor: cursor, limit: limit, speechifyVersion: speechifyVersion); @@ -218,7 +218,7 @@ partial void ProcessListMembersResponseContent( pathTemplate: "$\"/v1/projects/{projectId}/members\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -252,7 +252,7 @@ partial void ProcessListMembersResponseContent( pathTemplate: "$\"/v1/projects/{projectId}/members\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -293,7 +293,7 @@ partial void ProcessListMembersResponseContent( pathTemplate: "$\"/v1/projects/{projectId}/members\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -341,7 +341,7 @@ partial void ProcessListMembersResponseContent( pathTemplate: "$\"/v1/projects/{projectId}/members\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -363,7 +363,7 @@ partial void ProcessListMembersResponseContent( pathTemplate: "$\"/v1/projects/{projectId}/members\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.ProjectsClient.Promote.g.cs b/src/libs/Speechify/Generated/Speechify.ProjectsClient.Promote.g.cs index 89077492..8d37901b 100644 --- a/src/libs/Speechify/Generated/Speechify.ProjectsClient.Promote.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ProjectsClient.Promote.g.cs @@ -254,7 +254,7 @@ partial void ProcessPromoteResponseContent( PreparePromoteRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - projectId: projectId!, + projectId: projectId, speechifyVersion: speechifyVersion, idempotencyKey: idempotencyKey, request: request); @@ -279,7 +279,7 @@ partial void ProcessPromoteResponseContent( pathTemplate: "$\"/v1/projects/{projectId}/promote\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -313,7 +313,7 @@ partial void ProcessPromoteResponseContent( pathTemplate: "$\"/v1/projects/{projectId}/promote\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -354,7 +354,7 @@ partial void ProcessPromoteResponseContent( pathTemplate: "$\"/v1/projects/{projectId}/promote\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -402,7 +402,7 @@ partial void ProcessPromoteResponseContent( pathTemplate: "$\"/v1/projects/{projectId}/promote\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -424,7 +424,7 @@ partial void ProcessPromoteResponseContent( pathTemplate: "$\"/v1/projects/{projectId}/promote\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.ProjectsClient.Restore.g.cs b/src/libs/Speechify/Generated/Speechify.ProjectsClient.Restore.g.cs index 11956880..cf74c80a 100644 --- a/src/libs/Speechify/Generated/Speechify.ProjectsClient.Restore.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ProjectsClient.Restore.g.cs @@ -205,7 +205,7 @@ partial void ProcessRestoreResponseContent( PrepareRestoreRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - projectId: projectId!, + projectId: projectId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -228,7 +228,7 @@ partial void ProcessRestoreResponseContent( pathTemplate: "$\"/v1/projects/{projectId}/restore\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -262,7 +262,7 @@ partial void ProcessRestoreResponseContent( pathTemplate: "$\"/v1/projects/{projectId}/restore\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -303,7 +303,7 @@ partial void ProcessRestoreResponseContent( pathTemplate: "$\"/v1/projects/{projectId}/restore\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -351,7 +351,7 @@ partial void ProcessRestoreResponseContent( pathTemplate: "$\"/v1/projects/{projectId}/restore\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -373,7 +373,7 @@ partial void ProcessRestoreResponseContent( pathTemplate: "$\"/v1/projects/{projectId}/restore\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.ProjectsClient.RevokeMember.g.cs b/src/libs/Speechify/Generated/Speechify.ProjectsClient.RevokeMember.g.cs index ef32bccd..26ff590d 100644 --- a/src/libs/Speechify/Generated/Speechify.ProjectsClient.RevokeMember.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ProjectsClient.RevokeMember.g.cs @@ -177,8 +177,8 @@ partial void ProcessRevokeMemberResponseContent( PrepareRevokeMemberRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - projectId: projectId!, - userId: userId!, + projectId: projectId, + userId: userId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -201,7 +201,7 @@ partial void ProcessRevokeMemberResponseContent( pathTemplate: "$\"/v1/projects/{projectId}/members/{userId}\"", 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, @@ -235,7 +235,7 @@ partial void ProcessRevokeMemberResponseContent( pathTemplate: "$\"/v1/projects/{projectId}/members/{userId}\"", 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, @@ -276,7 +276,7 @@ partial void ProcessRevokeMemberResponseContent( pathTemplate: "$\"/v1/projects/{projectId}/members/{userId}\"", 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 ProcessRevokeMemberResponseContent( pathTemplate: "$\"/v1/projects/{projectId}/members/{userId}\"", 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, @@ -346,7 +346,7 @@ partial void ProcessRevokeMemberResponseContent( pathTemplate: "$\"/v1/projects/{projectId}/members/{userId}\"", 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/Speechify/Generated/Speechify.ProjectsClient.Stats.g.cs b/src/libs/Speechify/Generated/Speechify.ProjectsClient.Stats.g.cs index dd6e1193..22b8bbf1 100644 --- a/src/libs/Speechify/Generated/Speechify.ProjectsClient.Stats.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ProjectsClient.Stats.g.cs @@ -175,7 +175,7 @@ partial void ProcessStatsResponseContent( PrepareStatsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - projectId: projectId!, + projectId: projectId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -198,7 +198,7 @@ partial void ProcessStatsResponseContent( pathTemplate: "$\"/v1/projects/{projectId}/stats\"", httpMethod: "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, @@ -232,7 +232,7 @@ partial void ProcessStatsResponseContent( pathTemplate: "$\"/v1/projects/{projectId}/stats\"", httpMethod: "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, @@ -273,7 +273,7 @@ partial void ProcessStatsResponseContent( pathTemplate: "$\"/v1/projects/{projectId}/stats\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -321,7 +321,7 @@ partial void ProcessStatsResponseContent( pathTemplate: "$\"/v1/projects/{projectId}/stats\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -343,7 +343,7 @@ partial void ProcessStatsResponseContent( pathTemplate: "$\"/v1/projects/{projectId}/stats\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.ProjectsClient.Teardown.g.cs b/src/libs/Speechify/Generated/Speechify.ProjectsClient.Teardown.g.cs index 03363bbf..8af15ab7 100644 --- a/src/libs/Speechify/Generated/Speechify.ProjectsClient.Teardown.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ProjectsClient.Teardown.g.cs @@ -173,7 +173,7 @@ partial void ProcessTeardownResponseContent( PrepareTeardownRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - projectId: projectId!, + projectId: projectId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -196,7 +196,7 @@ partial void ProcessTeardownResponseContent( pathTemplate: "$\"/v1/projects/{projectId}/teardown\"", httpMethod: "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 ProcessTeardownResponseContent( pathTemplate: "$\"/v1/projects/{projectId}/teardown\"", httpMethod: "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 ProcessTeardownResponseContent( pathTemplate: "$\"/v1/projects/{projectId}/teardown\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessTeardownResponseContent( pathTemplate: "$\"/v1/projects/{projectId}/teardown\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessTeardownResponseContent( pathTemplate: "$\"/v1/projects/{projectId}/teardown\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.ProjectsClient.Unarchive.g.cs b/src/libs/Speechify/Generated/Speechify.ProjectsClient.Unarchive.g.cs index 53e8bcbc..ed89a736 100644 --- a/src/libs/Speechify/Generated/Speechify.ProjectsClient.Unarchive.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ProjectsClient.Unarchive.g.cs @@ -163,7 +163,7 @@ partial void ProcessUnarchiveResponseContent( PrepareUnarchiveRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - projectId: projectId!, + projectId: projectId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -186,7 +186,7 @@ partial void ProcessUnarchiveResponseContent( pathTemplate: "$\"/v1/projects/{projectId}/unarchive\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -220,7 +220,7 @@ partial void ProcessUnarchiveResponseContent( pathTemplate: "$\"/v1/projects/{projectId}/unarchive\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -261,7 +261,7 @@ partial void ProcessUnarchiveResponseContent( pathTemplate: "$\"/v1/projects/{projectId}/unarchive\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -309,7 +309,7 @@ partial void ProcessUnarchiveResponseContent( pathTemplate: "$\"/v1/projects/{projectId}/unarchive\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessUnarchiveResponseContent( pathTemplate: "$\"/v1/projects/{projectId}/unarchive\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.ProjectsClient.Update.g.cs b/src/libs/Speechify/Generated/Speechify.ProjectsClient.Update.g.cs index ca0bef8c..03fb7f29 100644 --- a/src/libs/Speechify/Generated/Speechify.ProjectsClient.Update.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ProjectsClient.Update.g.cs @@ -190,7 +190,7 @@ partial void ProcessUpdateResponseContent( PrepareUpdateRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - projectId: projectId!, + projectId: projectId, speechifyVersion: speechifyVersion, request: request); @@ -214,7 +214,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/projects/{projectId}\"", 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, @@ -248,7 +248,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/projects/{projectId}\"", 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, @@ -289,7 +289,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/projects/{projectId}\"", 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, @@ -337,7 +337,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/projects/{projectId}\"", 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, @@ -359,7 +359,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/projects/{projectId}\"", 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/Speechify/Generated/Speechify.PublishGateClient.Latest.g.cs b/src/libs/Speechify/Generated/Speechify.PublishGateClient.Latest.g.cs index 8d9b899b..fcfcbc64 100644 --- a/src/libs/Speechify/Generated/Speechify.PublishGateClient.Latest.g.cs +++ b/src/libs/Speechify/Generated/Speechify.PublishGateClient.Latest.g.cs @@ -175,7 +175,7 @@ partial void ProcessLatestResponseContent( PrepareLatestRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - agentId: agentId!, + agentId: agentId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -198,7 +198,7 @@ partial void ProcessLatestResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/publish-gate/latest\"", httpMethod: "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, @@ -232,7 +232,7 @@ partial void ProcessLatestResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/publish-gate/latest\"", httpMethod: "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, @@ -273,7 +273,7 @@ partial void ProcessLatestResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/publish-gate/latest\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -321,7 +321,7 @@ partial void ProcessLatestResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/publish-gate/latest\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -343,7 +343,7 @@ partial void ProcessLatestResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/publish-gate/latest\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.RoutesClient.CreateRoute.g.cs b/src/libs/Speechify/Generated/Speechify.RoutesClient.CreateRoute.g.cs index 5efc75c0..50d898bd 100644 --- a/src/libs/Speechify/Generated/Speechify.RoutesClient.CreateRoute.g.cs +++ b/src/libs/Speechify/Generated/Speechify.RoutesClient.CreateRoute.g.cs @@ -274,7 +274,7 @@ partial void ProcessCreateRouteResponseContent( PrepareCreateRouteRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - apiId: apiId!, + apiId: apiId, speechifyVersion: speechifyVersion, idempotencyKey: idempotencyKey, request: request); @@ -299,7 +299,7 @@ partial void ProcessCreateRouteResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/routes\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -333,7 +333,7 @@ partial void ProcessCreateRouteResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/routes\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -374,7 +374,7 @@ partial void ProcessCreateRouteResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/routes\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -422,7 +422,7 @@ partial void ProcessCreateRouteResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/routes\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -444,7 +444,7 @@ partial void ProcessCreateRouteResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/routes\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.RoutesClient.DeleteRoute.g.cs b/src/libs/Speechify/Generated/Speechify.RoutesClient.DeleteRoute.g.cs index c900483a..8526d1ff 100644 --- a/src/libs/Speechify/Generated/Speechify.RoutesClient.DeleteRoute.g.cs +++ b/src/libs/Speechify/Generated/Speechify.RoutesClient.DeleteRoute.g.cs @@ -171,8 +171,8 @@ partial void ProcessDeleteRouteResponseContent( PrepareDeleteRouteRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - apiId: apiId!, - routeId: routeId!, + apiId: apiId, + routeId: routeId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -195,7 +195,7 @@ partial void ProcessDeleteRouteResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/routes/{routeId}\"", 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, @@ -229,7 +229,7 @@ partial void ProcessDeleteRouteResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/routes/{routeId}\"", 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, @@ -270,7 +270,7 @@ partial void ProcessDeleteRouteResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/routes/{routeId}\"", 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, @@ -318,7 +318,7 @@ partial void ProcessDeleteRouteResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/routes/{routeId}\"", 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, @@ -340,7 +340,7 @@ partial void ProcessDeleteRouteResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/routes/{routeId}\"", 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/Speechify/Generated/Speechify.RoutesClient.GetRoute.g.cs b/src/libs/Speechify/Generated/Speechify.RoutesClient.GetRoute.g.cs index ebff5da1..ac9934c2 100644 --- a/src/libs/Speechify/Generated/Speechify.RoutesClient.GetRoute.g.cs +++ b/src/libs/Speechify/Generated/Speechify.RoutesClient.GetRoute.g.cs @@ -171,8 +171,8 @@ partial void ProcessGetRouteResponseContent( PrepareGetRouteRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - apiId: apiId!, - routeId: routeId!, + apiId: apiId, + routeId: routeId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -195,7 +195,7 @@ partial void ProcessGetRouteResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/routes/{routeId}\"", httpMethod: "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 ProcessGetRouteResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/routes/{routeId}\"", httpMethod: "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 ProcessGetRouteResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/routes/{routeId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetRouteResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/routes/{routeId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetRouteResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/routes/{routeId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.RoutesClient.ListRoutes.g.cs b/src/libs/Speechify/Generated/Speechify.RoutesClient.ListRoutes.g.cs index 07b00db7..91b83d5c 100644 --- a/src/libs/Speechify/Generated/Speechify.RoutesClient.ListRoutes.g.cs +++ b/src/libs/Speechify/Generated/Speechify.RoutesClient.ListRoutes.g.cs @@ -187,7 +187,7 @@ partial void ProcessListRoutesResponseContent( PrepareListRoutesRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - apiId: apiId!, + apiId: apiId, cursor: cursor, limit: limit, speechifyVersion: speechifyVersion); @@ -212,7 +212,7 @@ partial void ProcessListRoutesResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/routes\"", httpMethod: "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 ProcessListRoutesResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/routes\"", httpMethod: "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 ProcessListRoutesResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/routes\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessListRoutesResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/routes\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessListRoutesResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/routes\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.RoutesClient.MountRoutes.g.cs b/src/libs/Speechify/Generated/Speechify.RoutesClient.MountRoutes.g.cs index 134d59b5..7705e7d5 100644 --- a/src/libs/Speechify/Generated/Speechify.RoutesClient.MountRoutes.g.cs +++ b/src/libs/Speechify/Generated/Speechify.RoutesClient.MountRoutes.g.cs @@ -282,7 +282,7 @@ partial void ProcessMountRoutesResponseContent( PrepareMountRoutesRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - apiId: apiId!, + apiId: apiId, speechifyVersion: speechifyVersion, idempotencyKey: idempotencyKey, request: request); @@ -307,7 +307,7 @@ partial void ProcessMountRoutesResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/routes/mount\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -341,7 +341,7 @@ partial void ProcessMountRoutesResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/routes/mount\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -382,7 +382,7 @@ partial void ProcessMountRoutesResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/routes/mount\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -430,7 +430,7 @@ partial void ProcessMountRoutesResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/routes/mount\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -452,7 +452,7 @@ partial void ProcessMountRoutesResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/routes/mount\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.RoutesClient.UpdateRoute.g.cs b/src/libs/Speechify/Generated/Speechify.RoutesClient.UpdateRoute.g.cs index ea80d7d4..6988a568 100644 --- a/src/libs/Speechify/Generated/Speechify.RoutesClient.UpdateRoute.g.cs +++ b/src/libs/Speechify/Generated/Speechify.RoutesClient.UpdateRoute.g.cs @@ -190,8 +190,8 @@ partial void ProcessUpdateRouteResponseContent( PrepareUpdateRouteRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - apiId: apiId!, - routeId: routeId!, + apiId: apiId, + routeId: routeId, speechifyVersion: speechifyVersion, request: request); @@ -215,7 +215,7 @@ partial void ProcessUpdateRouteResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/routes/{routeId}\"", 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, @@ -249,7 +249,7 @@ partial void ProcessUpdateRouteResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/routes/{routeId}\"", 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, @@ -290,7 +290,7 @@ partial void ProcessUpdateRouteResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/routes/{routeId}\"", httpMethod: "PATCH", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -338,7 +338,7 @@ partial void ProcessUpdateRouteResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/routes/{routeId}\"", 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, @@ -360,7 +360,7 @@ partial void ProcessUpdateRouteResponseContent( pathTemplate: "$\"/v1/apis/{apiId}/routes/{routeId}\"", 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/Speechify/Generated/Speechify.RunsClient.CancelRun.g.cs b/src/libs/Speechify/Generated/Speechify.RunsClient.CancelRun.g.cs index bfa21746..1bc89aa3 100644 --- a/src/libs/Speechify/Generated/Speechify.RunsClient.CancelRun.g.cs +++ b/src/libs/Speechify/Generated/Speechify.RunsClient.CancelRun.g.cs @@ -195,8 +195,8 @@ partial void ProcessCancelRunResponseContent( PrepareCancelRunRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - agentId: agentId!, - runId: runId!, + agentId: agentId, + runId: runId, speechifyVersion: speechifyVersion, idempotencyKey: idempotencyKey); @@ -220,7 +220,7 @@ partial void ProcessCancelRunResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/runs/{runId}/cancel\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -254,7 +254,7 @@ partial void ProcessCancelRunResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/runs/{runId}/cancel\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -295,7 +295,7 @@ partial void ProcessCancelRunResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/runs/{runId}/cancel\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -343,7 +343,7 @@ partial void ProcessCancelRunResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/runs/{runId}/cancel\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -365,7 +365,7 @@ partial void ProcessCancelRunResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/runs/{runId}/cancel\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.RunsClient.CreateRun.g.cs b/src/libs/Speechify/Generated/Speechify.RunsClient.CreateRun.g.cs index eb079855..090b9574 100644 --- a/src/libs/Speechify/Generated/Speechify.RunsClient.CreateRun.g.cs +++ b/src/libs/Speechify/Generated/Speechify.RunsClient.CreateRun.g.cs @@ -290,7 +290,7 @@ partial void ProcessCreateRunResponseContent( PrepareCreateRunRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - agentId: agentId!, + agentId: agentId, speechifyVersion: speechifyVersion, idempotencyKey: idempotencyKey, request: request); @@ -315,7 +315,7 @@ partial void ProcessCreateRunResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/runs\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -349,7 +349,7 @@ partial void ProcessCreateRunResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/runs\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -390,7 +390,7 @@ partial void ProcessCreateRunResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/runs\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -438,7 +438,7 @@ partial void ProcessCreateRunResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/runs\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -460,7 +460,7 @@ partial void ProcessCreateRunResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/runs\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.RunsClient.Get.g.cs b/src/libs/Speechify/Generated/Speechify.RunsClient.Get.g.cs index 01fbb23f..2028860a 100644 --- a/src/libs/Speechify/Generated/Speechify.RunsClient.Get.g.cs +++ b/src/libs/Speechify/Generated/Speechify.RunsClient.Get.g.cs @@ -181,7 +181,7 @@ partial void ProcessGetResponseContent( PrepareGetRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - runId: runId!, + runId: runId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -204,7 +204,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/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, @@ -238,7 +238,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/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, @@ -279,7 +279,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/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, @@ -327,7 +327,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/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, @@ -349,7 +349,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/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/Speechify/Generated/Speechify.RunsClient.GetRun.g.cs b/src/libs/Speechify/Generated/Speechify.RunsClient.GetRun.g.cs index 7541678d..5d370a26 100644 --- a/src/libs/Speechify/Generated/Speechify.RunsClient.GetRun.g.cs +++ b/src/libs/Speechify/Generated/Speechify.RunsClient.GetRun.g.cs @@ -175,8 +175,8 @@ partial void ProcessGetRunResponseContent( PrepareGetRunRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - agentId: agentId!, - runId: runId!, + agentId: agentId, + runId: runId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -199,7 +199,7 @@ partial void ProcessGetRunResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/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, @@ -233,7 +233,7 @@ partial void ProcessGetRunResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/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, @@ -274,7 +274,7 @@ partial void ProcessGetRunResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/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, @@ -322,7 +322,7 @@ partial void ProcessGetRunResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/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, @@ -344,7 +344,7 @@ partial void ProcessGetRunResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/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/Speechify/Generated/Speechify.RunsClient.List.g.cs b/src/libs/Speechify/Generated/Speechify.RunsClient.List.g.cs index af65ca1b..52b1a174 100644 --- a/src/libs/Speechify/Generated/Speechify.RunsClient.List.g.cs +++ b/src/libs/Speechify/Generated/Speechify.RunsClient.List.g.cs @@ -271,7 +271,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/agents/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, @@ -305,7 +305,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/agents/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, @@ -346,7 +346,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/agents/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, @@ -394,7 +394,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/agents/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, @@ -416,7 +416,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/agents/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/Speechify/Generated/Speechify.RunsClient.ListRunChildren.g.cs b/src/libs/Speechify/Generated/Speechify.RunsClient.ListRunChildren.g.cs index 52897332..a794d5f3 100644 --- a/src/libs/Speechify/Generated/Speechify.RunsClient.ListRunChildren.g.cs +++ b/src/libs/Speechify/Generated/Speechify.RunsClient.ListRunChildren.g.cs @@ -213,8 +213,8 @@ partial void ProcessListRunChildrenResponseContent( PrepareListRunChildrenRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - agentId: agentId!, - runId: runId!, + agentId: agentId, + runId: runId, cursor: cursor, limit: limit, speechifyVersion: speechifyVersion); @@ -239,7 +239,7 @@ partial void ProcessListRunChildrenResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/runs/{runId}/children\"", httpMethod: "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, @@ -273,7 +273,7 @@ partial void ProcessListRunChildrenResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/runs/{runId}/children\"", httpMethod: "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, @@ -314,7 +314,7 @@ partial void ProcessListRunChildrenResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/runs/{runId}/children\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -362,7 +362,7 @@ partial void ProcessListRunChildrenResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/runs/{runId}/children\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -384,7 +384,7 @@ partial void ProcessListRunChildrenResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/runs/{runId}/children\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.RunsClient.ListRunSteps.g.cs b/src/libs/Speechify/Generated/Speechify.RunsClient.ListRunSteps.g.cs index df3a0721..98b33ddc 100644 --- a/src/libs/Speechify/Generated/Speechify.RunsClient.ListRunSteps.g.cs +++ b/src/libs/Speechify/Generated/Speechify.RunsClient.ListRunSteps.g.cs @@ -221,8 +221,8 @@ partial void ProcessListRunStepsResponseContent( PrepareListRunStepsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - agentId: agentId!, - runId: runId!, + agentId: agentId, + runId: runId, cursor: cursor, limit: limit, speechifyVersion: speechifyVersion); @@ -247,7 +247,7 @@ partial void ProcessListRunStepsResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/runs/{runId}/steps\"", httpMethod: "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, @@ -281,7 +281,7 @@ partial void ProcessListRunStepsResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/runs/{runId}/steps\"", httpMethod: "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, @@ -322,7 +322,7 @@ partial void ProcessListRunStepsResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/runs/{runId}/steps\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -370,7 +370,7 @@ partial void ProcessListRunStepsResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/runs/{runId}/steps\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -392,7 +392,7 @@ partial void ProcessListRunStepsResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/runs/{runId}/steps\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.RunsClient.ListRuns.g.cs b/src/libs/Speechify/Generated/Speechify.RunsClient.ListRuns.g.cs index fbc82b66..27d6296a 100644 --- a/src/libs/Speechify/Generated/Speechify.RunsClient.ListRuns.g.cs +++ b/src/libs/Speechify/Generated/Speechify.RunsClient.ListRuns.g.cs @@ -213,7 +213,7 @@ partial void ProcessListRunsResponseContent( PrepareListRunsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - agentId: agentId!, + agentId: agentId, status: status, userIdentity: userIdentity, cursor: cursor, @@ -240,7 +240,7 @@ partial void ProcessListRunsResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/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, @@ -274,7 +274,7 @@ partial void ProcessListRunsResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/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, @@ -315,7 +315,7 @@ partial void ProcessListRunsResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/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, @@ -363,7 +363,7 @@ partial void ProcessListRunsResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/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, @@ -385,7 +385,7 @@ partial void ProcessListRunsResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/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/Speechify/Generated/Speechify.RunsClient.StreamEvents.g.cs b/src/libs/Speechify/Generated/Speechify.RunsClient.StreamEvents.g.cs index 5bd2fa55..65ec3066 100644 --- a/src/libs/Speechify/Generated/Speechify.RunsClient.StreamEvents.g.cs +++ b/src/libs/Speechify/Generated/Speechify.RunsClient.StreamEvents.g.cs @@ -200,8 +200,8 @@ partial void ProcessStreamEventsResponse( PrepareStreamEventsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - agentId: agentId!, - runId: runId!, + agentId: agentId, + runId: runId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -224,7 +224,7 @@ partial void ProcessStreamEventsResponse( pathTemplate: "$\"/v1/agents/{agentId}/runs/{runId}/events\"", httpMethod: "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, @@ -258,7 +258,7 @@ partial void ProcessStreamEventsResponse( pathTemplate: "$\"/v1/agents/{agentId}/runs/{runId}/events\"", httpMethod: "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, @@ -299,7 +299,7 @@ partial void ProcessStreamEventsResponse( pathTemplate: "$\"/v1/agents/{agentId}/runs/{runId}/events\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessStreamEventsResponse( pathTemplate: "$\"/v1/agents/{agentId}/runs/{runId}/events\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -369,7 +369,7 @@ partial void ProcessStreamEventsResponse( pathTemplate: "$\"/v1/agents/{agentId}/runs/{runId}/events\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.RunsClient.StreamProjectEvents.g.cs b/src/libs/Speechify/Generated/Speechify.RunsClient.StreamProjectEvents.g.cs index 44e3997c..4d9d5060 100644 --- a/src/libs/Speechify/Generated/Speechify.RunsClient.StreamProjectEvents.g.cs +++ b/src/libs/Speechify/Generated/Speechify.RunsClient.StreamProjectEvents.g.cs @@ -183,7 +183,7 @@ partial void ProcessStreamProjectEventsResponse( PrepareStreamProjectEventsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - projectId: projectId!, + projectId: projectId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -206,7 +206,7 @@ partial void ProcessStreamProjectEventsResponse( pathTemplate: "\"/v1/agents/runs/events\"", httpMethod: "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, @@ -240,7 +240,7 @@ partial void ProcessStreamProjectEventsResponse( pathTemplate: "\"/v1/agents/runs/events\"", httpMethod: "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, @@ -281,7 +281,7 @@ partial void ProcessStreamProjectEventsResponse( pathTemplate: "\"/v1/agents/runs/events\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -329,7 +329,7 @@ partial void ProcessStreamProjectEventsResponse( pathTemplate: "\"/v1/agents/runs/events\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -351,7 +351,7 @@ partial void ProcessStreamProjectEventsResponse( pathTemplate: "\"/v1/agents/runs/events\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.RunsClient.SubmitRun.g.cs b/src/libs/Speechify/Generated/Speechify.RunsClient.SubmitRun.g.cs index 95d8540e..964b9444 100644 --- a/src/libs/Speechify/Generated/Speechify.RunsClient.SubmitRun.g.cs +++ b/src/libs/Speechify/Generated/Speechify.RunsClient.SubmitRun.g.cs @@ -240,8 +240,8 @@ partial void ProcessSubmitRunResponseContent( PrepareSubmitRunRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - agentId: agentId!, - runId: runId!, + agentId: agentId, + runId: runId, speechifyVersion: speechifyVersion, idempotencyKey: idempotencyKey, request: request); @@ -266,7 +266,7 @@ partial void ProcessSubmitRunResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/runs/{runId}/submit\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -300,7 +300,7 @@ partial void ProcessSubmitRunResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/runs/{runId}/submit\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -341,7 +341,7 @@ partial void ProcessSubmitRunResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/runs/{runId}/submit\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -389,7 +389,7 @@ partial void ProcessSubmitRunResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/runs/{runId}/submit\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -411,7 +411,7 @@ partial void ProcessSubmitRunResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/runs/{runId}/submit\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.ShareLinksClient.Create.g.cs b/src/libs/Speechify/Generated/Speechify.ShareLinksClient.Create.g.cs index 4bc8f4b5..802fcc68 100644 --- a/src/libs/Speechify/Generated/Speechify.ShareLinksClient.Create.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ShareLinksClient.Create.g.cs @@ -216,7 +216,7 @@ partial void ProcessCreateResponseContent( PrepareCreateRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - agentId: agentId!, + agentId: agentId, speechifyVersion: speechifyVersion, idempotencyKey: idempotencyKey, request: request); @@ -241,7 +241,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/share-links\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -275,7 +275,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/share-links\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -316,7 +316,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/share-links\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -364,7 +364,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/share-links\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -386,7 +386,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/share-links\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.ShareLinksClient.CreateSession.g.cs b/src/libs/Speechify/Generated/Speechify.ShareLinksClient.CreateSession.g.cs index 1050e0f5..277ad75d 100644 --- a/src/libs/Speechify/Generated/Speechify.ShareLinksClient.CreateSession.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ShareLinksClient.CreateSession.g.cs @@ -219,7 +219,7 @@ partial void ProcessCreateSessionResponseContent( pathTemplate: "\"/v1/agents/share-links/sessions\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -253,7 +253,7 @@ partial void ProcessCreateSessionResponseContent( pathTemplate: "\"/v1/agents/share-links/sessions\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -294,7 +294,7 @@ partial void ProcessCreateSessionResponseContent( pathTemplate: "\"/v1/agents/share-links/sessions\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -342,7 +342,7 @@ partial void ProcessCreateSessionResponseContent( pathTemplate: "\"/v1/agents/share-links/sessions\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -364,7 +364,7 @@ partial void ProcessCreateSessionResponseContent( pathTemplate: "\"/v1/agents/share-links/sessions\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.ShareLinksClient.List.g.cs b/src/libs/Speechify/Generated/Speechify.ShareLinksClient.List.g.cs index afb749dc..a2e15fdd 100644 --- a/src/libs/Speechify/Generated/Speechify.ShareLinksClient.List.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ShareLinksClient.List.g.cs @@ -195,7 +195,7 @@ partial void ProcessListResponseContent( PrepareListRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - agentId: agentId!, + agentId: agentId, cursor: cursor, limit: limit, speechifyVersion: speechifyVersion); @@ -220,7 +220,7 @@ partial void ProcessListResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/share-links\"", httpMethod: "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, @@ -254,7 +254,7 @@ partial void ProcessListResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/share-links\"", httpMethod: "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, @@ -295,7 +295,7 @@ partial void ProcessListResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/share-links\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -343,7 +343,7 @@ partial void ProcessListResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/share-links\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -365,7 +365,7 @@ partial void ProcessListResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/share-links\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.ShareLinksClient.Preview.g.cs b/src/libs/Speechify/Generated/Speechify.ShareLinksClient.Preview.g.cs index dca5ec18..7756d2f6 100644 --- a/src/libs/Speechify/Generated/Speechify.ShareLinksClient.Preview.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ShareLinksClient.Preview.g.cs @@ -192,7 +192,7 @@ partial void ProcessPreviewResponseContent( PreparePreviewRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - token: token!, + token: token, speechifyVersion: speechifyVersion); return __httpRequest; @@ -215,7 +215,7 @@ partial void ProcessPreviewResponseContent( pathTemplate: "\"/v1/agents/share-links/preview\"", httpMethod: "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, @@ -249,7 +249,7 @@ partial void ProcessPreviewResponseContent( pathTemplate: "\"/v1/agents/share-links/preview\"", httpMethod: "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, @@ -290,7 +290,7 @@ partial void ProcessPreviewResponseContent( pathTemplate: "\"/v1/agents/share-links/preview\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessPreviewResponseContent( pathTemplate: "\"/v1/agents/share-links/preview\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessPreviewResponseContent( pathTemplate: "\"/v1/agents/share-links/preview\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.ShareLinksClient.Reveal.g.cs b/src/libs/Speechify/Generated/Speechify.ShareLinksClient.Reveal.g.cs index c920258a..2232a93d 100644 --- a/src/libs/Speechify/Generated/Speechify.ShareLinksClient.Reveal.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ShareLinksClient.Reveal.g.cs @@ -183,8 +183,8 @@ partial void ProcessRevealResponseContent( PrepareRevealRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - agentId: agentId!, - shareLinkId: shareLinkId!, + agentId: agentId, + shareLinkId: shareLinkId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -207,7 +207,7 @@ partial void ProcessRevealResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/share-links/{shareLinkId}/reveal\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -241,7 +241,7 @@ partial void ProcessRevealResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/share-links/{shareLinkId}/reveal\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -282,7 +282,7 @@ partial void ProcessRevealResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/share-links/{shareLinkId}/reveal\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessRevealResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/share-links/{shareLinkId}/reveal\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -352,7 +352,7 @@ partial void ProcessRevealResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/share-links/{shareLinkId}/reveal\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.ShareLinksClient.Revoke.g.cs b/src/libs/Speechify/Generated/Speechify.ShareLinksClient.Revoke.g.cs index 20fbb937..6eb23739 100644 --- a/src/libs/Speechify/Generated/Speechify.ShareLinksClient.Revoke.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ShareLinksClient.Revoke.g.cs @@ -181,8 +181,8 @@ partial void ProcessRevokeResponseContent( PrepareRevokeRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - agentId: agentId!, - shareLinkId: shareLinkId!, + agentId: agentId, + shareLinkId: shareLinkId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -205,7 +205,7 @@ partial void ProcessRevokeResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/share-links/{shareLinkId}\"", 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, @@ -239,7 +239,7 @@ partial void ProcessRevokeResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/share-links/{shareLinkId}\"", 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, @@ -280,7 +280,7 @@ partial void ProcessRevokeResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/share-links/{shareLinkId}\"", 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 ProcessRevokeResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/share-links/{shareLinkId}\"", 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, @@ -350,7 +350,7 @@ partial void ProcessRevokeResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/share-links/{shareLinkId}\"", 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/Speechify/Generated/Speechify.SipTrunksClient.Create.g.cs b/src/libs/Speechify/Generated/Speechify.SipTrunksClient.Create.g.cs index 0dc1cf72..1a1f8c4e 100644 --- a/src/libs/Speechify/Generated/Speechify.SipTrunksClient.Create.g.cs +++ b/src/libs/Speechify/Generated/Speechify.SipTrunksClient.Create.g.cs @@ -203,7 +203,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "\"/v1/agents/sip-trunks\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -237,7 +237,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "\"/v1/agents/sip-trunks\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -278,7 +278,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "\"/v1/agents/sip-trunks\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCreateResponseContent( pathTemplate: "\"/v1/agents/sip-trunks\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -348,7 +348,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "\"/v1/agents/sip-trunks\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.SipTrunksClient.Delete.g.cs b/src/libs/Speechify/Generated/Speechify.SipTrunksClient.Delete.g.cs index 2320b8f7..3333c22a 100644 --- a/src/libs/Speechify/Generated/Speechify.SipTrunksClient.Delete.g.cs +++ b/src/libs/Speechify/Generated/Speechify.SipTrunksClient.Delete.g.cs @@ -167,7 +167,7 @@ partial void ProcessDeleteResponseContent( PrepareDeleteRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - sipTrunkId: sipTrunkId!, + sipTrunkId: sipTrunkId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -190,7 +190,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/agents/sip-trunks/{sipTrunkId}\"", 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, @@ -224,7 +224,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/agents/sip-trunks/{sipTrunkId}\"", 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, @@ -265,7 +265,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/agents/sip-trunks/{sipTrunkId}\"", 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, @@ -313,7 +313,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/agents/sip-trunks/{sipTrunkId}\"", 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, @@ -335,7 +335,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/agents/sip-trunks/{sipTrunkId}\"", 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/Speechify/Generated/Speechify.SipTrunksClient.Get.g.cs b/src/libs/Speechify/Generated/Speechify.SipTrunksClient.Get.g.cs index bd771b17..035acfc3 100644 --- a/src/libs/Speechify/Generated/Speechify.SipTrunksClient.Get.g.cs +++ b/src/libs/Speechify/Generated/Speechify.SipTrunksClient.Get.g.cs @@ -161,7 +161,7 @@ partial void ProcessGetResponseContent( PrepareGetRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - sipTrunkId: sipTrunkId!, + sipTrunkId: sipTrunkId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -184,7 +184,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/sip-trunks/{sipTrunkId}\"", httpMethod: "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, @@ -218,7 +218,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/sip-trunks/{sipTrunkId}\"", httpMethod: "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, @@ -259,7 +259,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/sip-trunks/{sipTrunkId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -307,7 +307,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/sip-trunks/{sipTrunkId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -329,7 +329,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/sip-trunks/{sipTrunkId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.SipTrunksClient.List.g.cs b/src/libs/Speechify/Generated/Speechify.SipTrunksClient.List.g.cs index c03788f3..0c671ecf 100644 --- a/src/libs/Speechify/Generated/Speechify.SipTrunksClient.List.g.cs +++ b/src/libs/Speechify/Generated/Speechify.SipTrunksClient.List.g.cs @@ -209,7 +209,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/agents/sip-trunks\"", httpMethod: "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 ProcessListResponseContent( pathTemplate: "\"/v1/agents/sip-trunks\"", httpMethod: "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 ProcessListResponseContent( pathTemplate: "\"/v1/agents/sip-trunks\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessListResponseContent( pathTemplate: "\"/v1/agents/sip-trunks\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessListResponseContent( pathTemplate: "\"/v1/agents/sip-trunks\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.SkillsClient.Create.g.cs b/src/libs/Speechify/Generated/Speechify.SkillsClient.Create.g.cs index 73913128..d0789801 100644 --- a/src/libs/Speechify/Generated/Speechify.SkillsClient.Create.g.cs +++ b/src/libs/Speechify/Generated/Speechify.SkillsClient.Create.g.cs @@ -220,7 +220,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "\"/v1/skills\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -254,7 +254,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "\"/v1/skills\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -295,7 +295,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "\"/v1/skills\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -343,7 +343,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "\"/v1/skills\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -365,7 +365,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "\"/v1/skills\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.SkillsClient.Delete.g.cs b/src/libs/Speechify/Generated/Speechify.SkillsClient.Delete.g.cs index c77a2b01..9b2d6ed3 100644 --- a/src/libs/Speechify/Generated/Speechify.SkillsClient.Delete.g.cs +++ b/src/libs/Speechify/Generated/Speechify.SkillsClient.Delete.g.cs @@ -167,7 +167,7 @@ partial void ProcessDeleteResponseContent( PrepareDeleteRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - skillId: skillId!, + skillId: skillId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -190,7 +190,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/skills/{skillId}\"", 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, @@ -224,7 +224,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/skills/{skillId}\"", 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, @@ -265,7 +265,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/skills/{skillId}\"", 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, @@ -313,7 +313,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/skills/{skillId}\"", 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, @@ -335,7 +335,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/skills/{skillId}\"", 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/Speechify/Generated/Speechify.SkillsClient.Get.g.cs b/src/libs/Speechify/Generated/Speechify.SkillsClient.Get.g.cs index f7788b26..32836371 100644 --- a/src/libs/Speechify/Generated/Speechify.SkillsClient.Get.g.cs +++ b/src/libs/Speechify/Generated/Speechify.SkillsClient.Get.g.cs @@ -180,7 +180,7 @@ partial void ProcessGetResponseContent( PrepareGetRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - skillId: skillId!, + skillId: skillId, version: version, speechifyVersion: speechifyVersion); @@ -204,7 +204,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/skills/{skillId}\"", httpMethod: "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, @@ -238,7 +238,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/skills/{skillId}\"", httpMethod: "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, @@ -279,7 +279,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/skills/{skillId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -327,7 +327,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/skills/{skillId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -349,7 +349,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/skills/{skillId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.SkillsClient.List.g.cs b/src/libs/Speechify/Generated/Speechify.SkillsClient.List.g.cs index 69df77d6..343a8ec8 100644 --- a/src/libs/Speechify/Generated/Speechify.SkillsClient.List.g.cs +++ b/src/libs/Speechify/Generated/Speechify.SkillsClient.List.g.cs @@ -221,7 +221,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/skills\"", httpMethod: "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, @@ -255,7 +255,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/skills\"", httpMethod: "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, @@ -296,7 +296,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/skills\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessListResponseContent( pathTemplate: "\"/v1/skills\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessListResponseContent( pathTemplate: "\"/v1/skills\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.SkillsClient.ListVersions.g.cs b/src/libs/Speechify/Generated/Speechify.SkillsClient.ListVersions.g.cs index 53a632de..4bcf56b2 100644 --- a/src/libs/Speechify/Generated/Speechify.SkillsClient.ListVersions.g.cs +++ b/src/libs/Speechify/Generated/Speechify.SkillsClient.ListVersions.g.cs @@ -193,7 +193,7 @@ partial void ProcessListVersionsResponseContent( PrepareListVersionsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - skillId: skillId!, + skillId: skillId, cursor: cursor, limit: limit, speechifyVersion: speechifyVersion); @@ -218,7 +218,7 @@ partial void ProcessListVersionsResponseContent( pathTemplate: "$\"/v1/skills/{skillId}/versions\"", httpMethod: "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, @@ -252,7 +252,7 @@ partial void ProcessListVersionsResponseContent( pathTemplate: "$\"/v1/skills/{skillId}/versions\"", httpMethod: "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, @@ -293,7 +293,7 @@ partial void ProcessListVersionsResponseContent( pathTemplate: "$\"/v1/skills/{skillId}/versions\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessListVersionsResponseContent( pathTemplate: "$\"/v1/skills/{skillId}/versions\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -363,7 +363,7 @@ partial void ProcessListVersionsResponseContent( pathTemplate: "$\"/v1/skills/{skillId}/versions\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.SkillsClient.Update.g.cs b/src/libs/Speechify/Generated/Speechify.SkillsClient.Update.g.cs index c2407927..0718fbce 100644 --- a/src/libs/Speechify/Generated/Speechify.SkillsClient.Update.g.cs +++ b/src/libs/Speechify/Generated/Speechify.SkillsClient.Update.g.cs @@ -194,7 +194,7 @@ partial void ProcessUpdateResponseContent( PrepareUpdateRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - skillId: skillId!, + skillId: skillId, speechifyVersion: speechifyVersion, request: request); @@ -218,7 +218,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/skills/{skillId}\"", 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, @@ -252,7 +252,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/skills/{skillId}\"", 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, @@ -293,7 +293,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/skills/{skillId}\"", 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, @@ -341,7 +341,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/skills/{skillId}\"", 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, @@ -363,7 +363,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/skills/{skillId}\"", 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/Speechify/Generated/Speechify.StoresClient.Attach.g.cs b/src/libs/Speechify/Generated/Speechify.StoresClient.Attach.g.cs index 08a35dbf..20d51bc1 100644 --- a/src/libs/Speechify/Generated/Speechify.StoresClient.Attach.g.cs +++ b/src/libs/Speechify/Generated/Speechify.StoresClient.Attach.g.cs @@ -173,8 +173,8 @@ partial void ProcessAttachResponseContent( PrepareAttachRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - agentId: agentId!, - storeId: storeId!, + agentId: agentId, + storeId: storeId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -197,7 +197,7 @@ partial void ProcessAttachResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/stores/{storeId}\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -231,7 +231,7 @@ partial void ProcessAttachResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/stores/{storeId}\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -272,7 +272,7 @@ partial void ProcessAttachResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/stores/{storeId}\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -320,7 +320,7 @@ partial void ProcessAttachResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/stores/{storeId}\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -342,7 +342,7 @@ partial void ProcessAttachResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/stores/{storeId}\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.StoresClient.Collections.g.cs b/src/libs/Speechify/Generated/Speechify.StoresClient.Collections.g.cs index 700547a7..1920ee32 100644 --- a/src/libs/Speechify/Generated/Speechify.StoresClient.Collections.g.cs +++ b/src/libs/Speechify/Generated/Speechify.StoresClient.Collections.g.cs @@ -167,7 +167,7 @@ partial void ProcessCollectionsResponseContent( PrepareCollectionsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - storeId: storeId!, + storeId: storeId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -190,7 +190,7 @@ partial void ProcessCollectionsResponseContent( pathTemplate: "$\"/v1/stores/{storeId}/collections\"", httpMethod: "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 ProcessCollectionsResponseContent( pathTemplate: "$\"/v1/stores/{storeId}/collections\"", httpMethod: "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 ProcessCollectionsResponseContent( pathTemplate: "$\"/v1/stores/{storeId}/collections\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCollectionsResponseContent( pathTemplate: "$\"/v1/stores/{storeId}/collections\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCollectionsResponseContent( pathTemplate: "$\"/v1/stores/{storeId}/collections\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.StoresClient.Create.g.cs b/src/libs/Speechify/Generated/Speechify.StoresClient.Create.g.cs index 73454260..dd930485 100644 --- a/src/libs/Speechify/Generated/Speechify.StoresClient.Create.g.cs +++ b/src/libs/Speechify/Generated/Speechify.StoresClient.Create.g.cs @@ -224,7 +224,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "\"/v1/stores\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -258,7 +258,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "\"/v1/stores\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -299,7 +299,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "\"/v1/stores\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCreateResponseContent( pathTemplate: "\"/v1/stores\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -369,7 +369,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "\"/v1/stores\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.StoresClient.Delete.g.cs b/src/libs/Speechify/Generated/Speechify.StoresClient.Delete.g.cs index a0b084ac..c6cd6fc6 100644 --- a/src/libs/Speechify/Generated/Speechify.StoresClient.Delete.g.cs +++ b/src/libs/Speechify/Generated/Speechify.StoresClient.Delete.g.cs @@ -165,7 +165,7 @@ partial void ProcessDeleteResponseContent( PrepareDeleteRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - storeId: storeId!, + storeId: storeId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -188,7 +188,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/stores/{storeId}\"", 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 ProcessDeleteResponseContent( pathTemplate: "$\"/v1/stores/{storeId}\"", 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 ProcessDeleteResponseContent( pathTemplate: "$\"/v1/stores/{storeId}\"", 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 ProcessDeleteResponseContent( pathTemplate: "$\"/v1/stores/{storeId}\"", 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 ProcessDeleteResponseContent( pathTemplate: "$\"/v1/stores/{storeId}\"", 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/Speechify/Generated/Speechify.StoresClient.Detach.g.cs b/src/libs/Speechify/Generated/Speechify.StoresClient.Detach.g.cs index adac0cdb..f782ba55 100644 --- a/src/libs/Speechify/Generated/Speechify.StoresClient.Detach.g.cs +++ b/src/libs/Speechify/Generated/Speechify.StoresClient.Detach.g.cs @@ -171,8 +171,8 @@ partial void ProcessDetachResponseContent( PrepareDetachRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - agentId: agentId!, - storeId: storeId!, + agentId: agentId, + storeId: storeId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -195,7 +195,7 @@ partial void ProcessDetachResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/stores/{storeId}\"", 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, @@ -229,7 +229,7 @@ partial void ProcessDetachResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/stores/{storeId}\"", 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, @@ -270,7 +270,7 @@ partial void ProcessDetachResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/stores/{storeId}\"", 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, @@ -318,7 +318,7 @@ partial void ProcessDetachResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/stores/{storeId}\"", 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, @@ -340,7 +340,7 @@ partial void ProcessDetachResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/stores/{storeId}\"", 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/Speechify/Generated/Speechify.StoresClient.Get.g.cs b/src/libs/Speechify/Generated/Speechify.StoresClient.Get.g.cs index ae9c9c1f..01eaf369 100644 --- a/src/libs/Speechify/Generated/Speechify.StoresClient.Get.g.cs +++ b/src/libs/Speechify/Generated/Speechify.StoresClient.Get.g.cs @@ -163,7 +163,7 @@ partial void ProcessGetResponseContent( PrepareGetRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - storeId: storeId!, + storeId: storeId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -186,7 +186,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/stores/{storeId}\"", httpMethod: "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, @@ -220,7 +220,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/stores/{storeId}\"", httpMethod: "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, @@ -261,7 +261,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/stores/{storeId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -309,7 +309,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/stores/{storeId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetResponseContent( pathTemplate: "$\"/v1/stores/{storeId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.StoresClient.List.g.cs b/src/libs/Speechify/Generated/Speechify.StoresClient.List.g.cs index 4fc4312d..5b176686 100644 --- a/src/libs/Speechify/Generated/Speechify.StoresClient.List.g.cs +++ b/src/libs/Speechify/Generated/Speechify.StoresClient.List.g.cs @@ -231,7 +231,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/stores\"", httpMethod: "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, @@ -265,7 +265,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/stores\"", httpMethod: "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, @@ -306,7 +306,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/stores\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessListResponseContent( pathTemplate: "\"/v1/stores\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -376,7 +376,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/stores\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.StoresClient.ListAttached.g.cs b/src/libs/Speechify/Generated/Speechify.StoresClient.ListAttached.g.cs index 1354c8bd..86496632 100644 --- a/src/libs/Speechify/Generated/Speechify.StoresClient.ListAttached.g.cs +++ b/src/libs/Speechify/Generated/Speechify.StoresClient.ListAttached.g.cs @@ -189,7 +189,7 @@ partial void ProcessListAttachedResponseContent( PrepareListAttachedRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - agentId: agentId!, + agentId: agentId, cursor: cursor, limit: limit, speechifyVersion: speechifyVersion); @@ -214,7 +214,7 @@ partial void ProcessListAttachedResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/stores\"", httpMethod: "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 ProcessListAttachedResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/stores\"", httpMethod: "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 ProcessListAttachedResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/stores\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessListAttachedResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/stores\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessListAttachedResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/stores\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.StoresClient.Update.g.cs b/src/libs/Speechify/Generated/Speechify.StoresClient.Update.g.cs index 7addf323..46ad426c 100644 --- a/src/libs/Speechify/Generated/Speechify.StoresClient.Update.g.cs +++ b/src/libs/Speechify/Generated/Speechify.StoresClient.Update.g.cs @@ -182,7 +182,7 @@ partial void ProcessUpdateResponseContent( PrepareUpdateRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - storeId: storeId!, + storeId: storeId, speechifyVersion: speechifyVersion, request: request); @@ -206,7 +206,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/stores/{storeId}\"", 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, @@ -240,7 +240,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/stores/{storeId}\"", 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, @@ -281,7 +281,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/stores/{storeId}\"", 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, @@ -329,7 +329,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/stores/{storeId}\"", 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, @@ -351,7 +351,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/stores/{storeId}\"", 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/Speechify/Generated/Speechify.TeamsClient.Create.g.cs b/src/libs/Speechify/Generated/Speechify.TeamsClient.Create.g.cs index 4764e562..93f96a12 100644 --- a/src/libs/Speechify/Generated/Speechify.TeamsClient.Create.g.cs +++ b/src/libs/Speechify/Generated/Speechify.TeamsClient.Create.g.cs @@ -216,7 +216,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "\"/v1/agents/teams\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -250,7 +250,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "\"/v1/agents/teams\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -291,7 +291,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "\"/v1/agents/teams\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCreateResponseContent( pathTemplate: "\"/v1/agents/teams\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -361,7 +361,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "\"/v1/agents/teams\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.TeamsClient.Delete.g.cs b/src/libs/Speechify/Generated/Speechify.TeamsClient.Delete.g.cs index c79f964f..92e12aee 100644 --- a/src/libs/Speechify/Generated/Speechify.TeamsClient.Delete.g.cs +++ b/src/libs/Speechify/Generated/Speechify.TeamsClient.Delete.g.cs @@ -161,7 +161,7 @@ partial void ProcessDeleteResponseContent( PrepareDeleteRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - teamId: teamId!, + teamId: teamId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -184,7 +184,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/agents/teams/{teamId}\"", 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, @@ -218,7 +218,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/agents/teams/{teamId}\"", 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, @@ -259,7 +259,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/agents/teams/{teamId}\"", 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, @@ -307,7 +307,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/agents/teams/{teamId}\"", 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, @@ -329,7 +329,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/agents/teams/{teamId}\"", 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/Speechify/Generated/Speechify.TeamsClient.Get.g.cs b/src/libs/Speechify/Generated/Speechify.TeamsClient.Get.g.cs index 185547f0..e8dbb898 100644 --- a/src/libs/Speechify/Generated/Speechify.TeamsClient.Get.g.cs +++ b/src/libs/Speechify/Generated/Speechify.TeamsClient.Get.g.cs @@ -161,7 +161,7 @@ partial void ProcessGetResponseContent( PrepareGetRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - teamId: teamId!, + teamId: teamId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -184,7 +184,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/teams/{teamId}\"", httpMethod: "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, @@ -218,7 +218,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/teams/{teamId}\"", httpMethod: "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, @@ -259,7 +259,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/teams/{teamId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -307,7 +307,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/teams/{teamId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -329,7 +329,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/teams/{teamId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.TeamsClient.List.g.cs b/src/libs/Speechify/Generated/Speechify.TeamsClient.List.g.cs index 8c95c3c1..8b9bdb29 100644 --- a/src/libs/Speechify/Generated/Speechify.TeamsClient.List.g.cs +++ b/src/libs/Speechify/Generated/Speechify.TeamsClient.List.g.cs @@ -207,7 +207,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/agents/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, @@ -241,7 +241,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/agents/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, @@ -282,7 +282,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/agents/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, @@ -330,7 +330,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/agents/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, @@ -352,7 +352,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/agents/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/Speechify/Generated/Speechify.TeamsClient.ListRuns.g.cs b/src/libs/Speechify/Generated/Speechify.TeamsClient.ListRuns.g.cs index 605b4842..21f84e11 100644 --- a/src/libs/Speechify/Generated/Speechify.TeamsClient.ListRuns.g.cs +++ b/src/libs/Speechify/Generated/Speechify.TeamsClient.ListRuns.g.cs @@ -195,7 +195,7 @@ partial void ProcessListRunsResponseContent( PrepareListRunsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - teamId: teamId!, + teamId: teamId, cursor: cursor, limit: limit, speechifyVersion: speechifyVersion); @@ -220,7 +220,7 @@ partial void ProcessListRunsResponseContent( pathTemplate: "$\"/v1/agents/teams/{teamId}/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, @@ -254,7 +254,7 @@ partial void ProcessListRunsResponseContent( pathTemplate: "$\"/v1/agents/teams/{teamId}/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, @@ -295,7 +295,7 @@ partial void ProcessListRunsResponseContent( pathTemplate: "$\"/v1/agents/teams/{teamId}/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, @@ -343,7 +343,7 @@ partial void ProcessListRunsResponseContent( pathTemplate: "$\"/v1/agents/teams/{teamId}/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, @@ -365,7 +365,7 @@ partial void ProcessListRunsResponseContent( pathTemplate: "$\"/v1/agents/teams/{teamId}/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/Speechify/Generated/Speechify.TeamsClient.Run.g.cs b/src/libs/Speechify/Generated/Speechify.TeamsClient.Run.g.cs index 370b9b6e..9bc0a305 100644 --- a/src/libs/Speechify/Generated/Speechify.TeamsClient.Run.g.cs +++ b/src/libs/Speechify/Generated/Speechify.TeamsClient.Run.g.cs @@ -246,7 +246,7 @@ partial void ProcessRunResponseContent( PrepareRunRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - teamId: teamId!, + teamId: teamId, speechifyVersion: speechifyVersion, idempotencyKey: idempotencyKey, request: request); @@ -271,7 +271,7 @@ partial void ProcessRunResponseContent( pathTemplate: "$\"/v1/agents/teams/{teamId}/runs\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -305,7 +305,7 @@ partial void ProcessRunResponseContent( pathTemplate: "$\"/v1/agents/teams/{teamId}/runs\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -346,7 +346,7 @@ partial void ProcessRunResponseContent( pathTemplate: "$\"/v1/agents/teams/{teamId}/runs\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -394,7 +394,7 @@ partial void ProcessRunResponseContent( pathTemplate: "$\"/v1/agents/teams/{teamId}/runs\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -416,7 +416,7 @@ partial void ProcessRunResponseContent( pathTemplate: "$\"/v1/agents/teams/{teamId}/runs\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.TeamsClient.Update.g.cs b/src/libs/Speechify/Generated/Speechify.TeamsClient.Update.g.cs index e630a9c5..a140f2c5 100644 --- a/src/libs/Speechify/Generated/Speechify.TeamsClient.Update.g.cs +++ b/src/libs/Speechify/Generated/Speechify.TeamsClient.Update.g.cs @@ -184,7 +184,7 @@ partial void ProcessUpdateResponseContent( PrepareUpdateRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - teamId: teamId!, + teamId: teamId, speechifyVersion: speechifyVersion, request: request); @@ -208,7 +208,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/agents/teams/{teamId}\"", 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 ProcessUpdateResponseContent( pathTemplate: "$\"/v1/agents/teams/{teamId}\"", 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 ProcessUpdateResponseContent( pathTemplate: "$\"/v1/agents/teams/{teamId}\"", 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 ProcessUpdateResponseContent( pathTemplate: "$\"/v1/agents/teams/{teamId}\"", 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 ProcessUpdateResponseContent( pathTemplate: "$\"/v1/agents/teams/{teamId}\"", 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/Speechify/Generated/Speechify.TestsClient.CancelSuiteRun.g.cs b/src/libs/Speechify/Generated/Speechify.TestsClient.CancelSuiteRun.g.cs index 00e174b4..0e8df1e5 100644 --- a/src/libs/Speechify/Generated/Speechify.TestsClient.CancelSuiteRun.g.cs +++ b/src/libs/Speechify/Generated/Speechify.TestsClient.CancelSuiteRun.g.cs @@ -167,7 +167,7 @@ partial void ProcessCancelSuiteRunResponseContent( PrepareCancelSuiteRunRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - suiteRunId: suiteRunId!, + suiteRunId: suiteRunId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -190,7 +190,7 @@ partial void ProcessCancelSuiteRunResponseContent( pathTemplate: "$\"/v1/agents/tests/suite-runs/{suiteRunId}/cancel\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCancelSuiteRunResponseContent( pathTemplate: "$\"/v1/agents/tests/suite-runs/{suiteRunId}/cancel\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCancelSuiteRunResponseContent( pathTemplate: "$\"/v1/agents/tests/suite-runs/{suiteRunId}/cancel\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCancelSuiteRunResponseContent( pathTemplate: "$\"/v1/agents/tests/suite-runs/{suiteRunId}/cancel\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCancelSuiteRunResponseContent( pathTemplate: "$\"/v1/agents/tests/suite-runs/{suiteRunId}/cancel\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.TestsClient.CancelTestRun.g.cs b/src/libs/Speechify/Generated/Speechify.TestsClient.CancelTestRun.g.cs index 698d20da..61bc53f5 100644 --- a/src/libs/Speechify/Generated/Speechify.TestsClient.CancelTestRun.g.cs +++ b/src/libs/Speechify/Generated/Speechify.TestsClient.CancelTestRun.g.cs @@ -165,7 +165,7 @@ partial void ProcessCancelTestRunResponseContent( PrepareCancelTestRunRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - testRunId: testRunId!, + testRunId: testRunId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -188,7 +188,7 @@ partial void ProcessCancelTestRunResponseContent( pathTemplate: "$\"/v1/agents/tests/runs/{testRunId}/cancel\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCancelTestRunResponseContent( pathTemplate: "$\"/v1/agents/tests/runs/{testRunId}/cancel\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCancelTestRunResponseContent( pathTemplate: "$\"/v1/agents/tests/runs/{testRunId}/cancel\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCancelTestRunResponseContent( pathTemplate: "$\"/v1/agents/tests/runs/{testRunId}/cancel\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCancelTestRunResponseContent( pathTemplate: "$\"/v1/agents/tests/runs/{testRunId}/cancel\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.TestsClient.CreateTest.g.cs b/src/libs/Speechify/Generated/Speechify.TestsClient.CreateTest.g.cs index 0bf0db3b..f4bd2207 100644 --- a/src/libs/Speechify/Generated/Speechify.TestsClient.CreateTest.g.cs +++ b/src/libs/Speechify/Generated/Speechify.TestsClient.CreateTest.g.cs @@ -224,7 +224,7 @@ partial void ProcessCreateTestResponseContent( pathTemplate: "\"/v1/agents/tests\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -258,7 +258,7 @@ partial void ProcessCreateTestResponseContent( pathTemplate: "\"/v1/agents/tests\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -299,7 +299,7 @@ partial void ProcessCreateTestResponseContent( pathTemplate: "\"/v1/agents/tests\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCreateTestResponseContent( pathTemplate: "\"/v1/agents/tests\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -369,7 +369,7 @@ partial void ProcessCreateTestResponseContent( pathTemplate: "\"/v1/agents/tests\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.TestsClient.CreateTestFolder.g.cs b/src/libs/Speechify/Generated/Speechify.TestsClient.CreateTestFolder.g.cs index 530c723b..a81092fd 100644 --- a/src/libs/Speechify/Generated/Speechify.TestsClient.CreateTestFolder.g.cs +++ b/src/libs/Speechify/Generated/Speechify.TestsClient.CreateTestFolder.g.cs @@ -195,7 +195,7 @@ partial void ProcessCreateTestFolderResponseContent( pathTemplate: "\"/v1/agents/tests/folders\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCreateTestFolderResponseContent( pathTemplate: "\"/v1/agents/tests/folders\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCreateTestFolderResponseContent( pathTemplate: "\"/v1/agents/tests/folders\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCreateTestFolderResponseContent( pathTemplate: "\"/v1/agents/tests/folders\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessCreateTestFolderResponseContent( pathTemplate: "\"/v1/agents/tests/folders\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.TestsClient.DeleteTest.g.cs b/src/libs/Speechify/Generated/Speechify.TestsClient.DeleteTest.g.cs index 9aa59af5..99520f91 100644 --- a/src/libs/Speechify/Generated/Speechify.TestsClient.DeleteTest.g.cs +++ b/src/libs/Speechify/Generated/Speechify.TestsClient.DeleteTest.g.cs @@ -161,7 +161,7 @@ partial void ProcessDeleteTestResponseContent( PrepareDeleteTestRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - testId: testId!, + testId: testId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -184,7 +184,7 @@ partial void ProcessDeleteTestResponseContent( pathTemplate: "$\"/v1/agents/tests/{testId}\"", 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, @@ -218,7 +218,7 @@ partial void ProcessDeleteTestResponseContent( pathTemplate: "$\"/v1/agents/tests/{testId}\"", 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, @@ -259,7 +259,7 @@ partial void ProcessDeleteTestResponseContent( pathTemplate: "$\"/v1/agents/tests/{testId}\"", 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, @@ -307,7 +307,7 @@ partial void ProcessDeleteTestResponseContent( pathTemplate: "$\"/v1/agents/tests/{testId}\"", 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, @@ -329,7 +329,7 @@ partial void ProcessDeleteTestResponseContent( pathTemplate: "$\"/v1/agents/tests/{testId}\"", 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/Speechify/Generated/Speechify.TestsClient.DeleteTestFolder.g.cs b/src/libs/Speechify/Generated/Speechify.TestsClient.DeleteTestFolder.g.cs index f166127c..41ae271e 100644 --- a/src/libs/Speechify/Generated/Speechify.TestsClient.DeleteTestFolder.g.cs +++ b/src/libs/Speechify/Generated/Speechify.TestsClient.DeleteTestFolder.g.cs @@ -161,7 +161,7 @@ partial void ProcessDeleteTestFolderResponseContent( PrepareDeleteTestFolderRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - testFolderId: testFolderId!, + testFolderId: testFolderId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -184,7 +184,7 @@ partial void ProcessDeleteTestFolderResponseContent( pathTemplate: "$\"/v1/agents/tests/folders/{testFolderId}\"", 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, @@ -218,7 +218,7 @@ partial void ProcessDeleteTestFolderResponseContent( pathTemplate: "$\"/v1/agents/tests/folders/{testFolderId}\"", 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, @@ -259,7 +259,7 @@ partial void ProcessDeleteTestFolderResponseContent( pathTemplate: "$\"/v1/agents/tests/folders/{testFolderId}\"", 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, @@ -307,7 +307,7 @@ partial void ProcessDeleteTestFolderResponseContent( pathTemplate: "$\"/v1/agents/tests/folders/{testFolderId}\"", 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, @@ -329,7 +329,7 @@ partial void ProcessDeleteTestFolderResponseContent( pathTemplate: "$\"/v1/agents/tests/folders/{testFolderId}\"", 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/Speechify/Generated/Speechify.TestsClient.GetSuiteRun.g.cs b/src/libs/Speechify/Generated/Speechify.TestsClient.GetSuiteRun.g.cs index ab1b5aeb..67f079e8 100644 --- a/src/libs/Speechify/Generated/Speechify.TestsClient.GetSuiteRun.g.cs +++ b/src/libs/Speechify/Generated/Speechify.TestsClient.GetSuiteRun.g.cs @@ -163,7 +163,7 @@ partial void ProcessGetSuiteRunResponseContent( PrepareGetSuiteRunRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - suiteRunId: suiteRunId!, + suiteRunId: suiteRunId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -186,7 +186,7 @@ partial void ProcessGetSuiteRunResponseContent( pathTemplate: "$\"/v1/agents/tests/suite-runs/{suiteRunId}\"", httpMethod: "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, @@ -220,7 +220,7 @@ partial void ProcessGetSuiteRunResponseContent( pathTemplate: "$\"/v1/agents/tests/suite-runs/{suiteRunId}\"", httpMethod: "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, @@ -261,7 +261,7 @@ partial void ProcessGetSuiteRunResponseContent( pathTemplate: "$\"/v1/agents/tests/suite-runs/{suiteRunId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -309,7 +309,7 @@ partial void ProcessGetSuiteRunResponseContent( pathTemplate: "$\"/v1/agents/tests/suite-runs/{suiteRunId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetSuiteRunResponseContent( pathTemplate: "$\"/v1/agents/tests/suite-runs/{suiteRunId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.TestsClient.GetTest.g.cs b/src/libs/Speechify/Generated/Speechify.TestsClient.GetTest.g.cs index ddbb4154..4e873311 100644 --- a/src/libs/Speechify/Generated/Speechify.TestsClient.GetTest.g.cs +++ b/src/libs/Speechify/Generated/Speechify.TestsClient.GetTest.g.cs @@ -161,7 +161,7 @@ partial void ProcessGetTestResponseContent( PrepareGetTestRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - testId: testId!, + testId: testId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -184,7 +184,7 @@ partial void ProcessGetTestResponseContent( pathTemplate: "$\"/v1/agents/tests/{testId}\"", httpMethod: "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, @@ -218,7 +218,7 @@ partial void ProcessGetTestResponseContent( pathTemplate: "$\"/v1/agents/tests/{testId}\"", httpMethod: "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, @@ -259,7 +259,7 @@ partial void ProcessGetTestResponseContent( pathTemplate: "$\"/v1/agents/tests/{testId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -307,7 +307,7 @@ partial void ProcessGetTestResponseContent( pathTemplate: "$\"/v1/agents/tests/{testId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -329,7 +329,7 @@ partial void ProcessGetTestResponseContent( pathTemplate: "$\"/v1/agents/tests/{testId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.TestsClient.GetTestRun.g.cs b/src/libs/Speechify/Generated/Speechify.TestsClient.GetTestRun.g.cs index 59c8dc68..916c5664 100644 --- a/src/libs/Speechify/Generated/Speechify.TestsClient.GetTestRun.g.cs +++ b/src/libs/Speechify/Generated/Speechify.TestsClient.GetTestRun.g.cs @@ -167,7 +167,7 @@ partial void ProcessGetTestRunResponseContent( PrepareGetTestRunRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - testRunId: testRunId!, + testRunId: testRunId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -190,7 +190,7 @@ partial void ProcessGetTestRunResponseContent( pathTemplate: "$\"/v1/agents/tests/runs/{testRunId}\"", httpMethod: "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 ProcessGetTestRunResponseContent( pathTemplate: "$\"/v1/agents/tests/runs/{testRunId}\"", httpMethod: "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 ProcessGetTestRunResponseContent( pathTemplate: "$\"/v1/agents/tests/runs/{testRunId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetTestRunResponseContent( pathTemplate: "$\"/v1/agents/tests/runs/{testRunId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetTestRunResponseContent( pathTemplate: "$\"/v1/agents/tests/runs/{testRunId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.TestsClient.GetTestStats.g.cs b/src/libs/Speechify/Generated/Speechify.TestsClient.GetTestStats.g.cs index 525c10be..eae80340 100644 --- a/src/libs/Speechify/Generated/Speechify.TestsClient.GetTestStats.g.cs +++ b/src/libs/Speechify/Generated/Speechify.TestsClient.GetTestStats.g.cs @@ -207,7 +207,7 @@ partial void ProcessGetTestStatsResponseContent( pathTemplate: "\"/v1/agents/tests/stats\"", httpMethod: "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, @@ -241,7 +241,7 @@ partial void ProcessGetTestStatsResponseContent( pathTemplate: "\"/v1/agents/tests/stats\"", httpMethod: "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, @@ -282,7 +282,7 @@ partial void ProcessGetTestStatsResponseContent( pathTemplate: "\"/v1/agents/tests/stats\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetTestStatsResponseContent( pathTemplate: "\"/v1/agents/tests/stats\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -352,7 +352,7 @@ partial void ProcessGetTestStatsResponseContent( pathTemplate: "\"/v1/agents/tests/stats\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.TestsClient.ListAllTests.g.cs b/src/libs/Speechify/Generated/Speechify.TestsClient.ListAllTests.g.cs index 3f931549..390d3dae 100644 --- a/src/libs/Speechify/Generated/Speechify.TestsClient.ListAllTests.g.cs +++ b/src/libs/Speechify/Generated/Speechify.TestsClient.ListAllTests.g.cs @@ -295,7 +295,7 @@ partial void ProcessListAllTestsResponseContent( pathTemplate: "\"/v1/agents/tests\"", httpMethod: "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, @@ -329,7 +329,7 @@ partial void ProcessListAllTestsResponseContent( pathTemplate: "\"/v1/agents/tests\"", httpMethod: "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, @@ -370,7 +370,7 @@ partial void ProcessListAllTestsResponseContent( pathTemplate: "\"/v1/agents/tests\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -418,7 +418,7 @@ partial void ProcessListAllTestsResponseContent( pathTemplate: "\"/v1/agents/tests\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -440,7 +440,7 @@ partial void ProcessListAllTestsResponseContent( pathTemplate: "\"/v1/agents/tests\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.TestsClient.ListSuiteRuns.g.cs b/src/libs/Speechify/Generated/Speechify.TestsClient.ListSuiteRuns.g.cs index 354c2ae2..e5df4b64 100644 --- a/src/libs/Speechify/Generated/Speechify.TestsClient.ListSuiteRuns.g.cs +++ b/src/libs/Speechify/Generated/Speechify.TestsClient.ListSuiteRuns.g.cs @@ -227,7 +227,7 @@ partial void ProcessListSuiteRunsResponseContent( pathTemplate: "\"/v1/agents/tests/suite-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, @@ -261,7 +261,7 @@ partial void ProcessListSuiteRunsResponseContent( pathTemplate: "\"/v1/agents/tests/suite-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, @@ -302,7 +302,7 @@ partial void ProcessListSuiteRunsResponseContent( pathTemplate: "\"/v1/agents/tests/suite-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, @@ -350,7 +350,7 @@ partial void ProcessListSuiteRunsResponseContent( pathTemplate: "\"/v1/agents/tests/suite-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, @@ -372,7 +372,7 @@ partial void ProcessListSuiteRunsResponseContent( pathTemplate: "\"/v1/agents/tests/suite-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/Speechify/Generated/Speechify.TestsClient.ListTestFolders.g.cs b/src/libs/Speechify/Generated/Speechify.TestsClient.ListTestFolders.g.cs index 1bd1353f..48d982b4 100644 --- a/src/libs/Speechify/Generated/Speechify.TestsClient.ListTestFolders.g.cs +++ b/src/libs/Speechify/Generated/Speechify.TestsClient.ListTestFolders.g.cs @@ -225,7 +225,7 @@ partial void ProcessListTestFoldersResponseContent( pathTemplate: "\"/v1/agents/tests/folders\"", httpMethod: "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, @@ -259,7 +259,7 @@ partial void ProcessListTestFoldersResponseContent( pathTemplate: "\"/v1/agents/tests/folders\"", httpMethod: "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, @@ -300,7 +300,7 @@ partial void ProcessListTestFoldersResponseContent( pathTemplate: "\"/v1/agents/tests/folders\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -348,7 +348,7 @@ partial void ProcessListTestFoldersResponseContent( pathTemplate: "\"/v1/agents/tests/folders\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -370,7 +370,7 @@ partial void ProcessListTestFoldersResponseContent( pathTemplate: "\"/v1/agents/tests/folders\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.TestsClient.ListTestRuns.g.cs b/src/libs/Speechify/Generated/Speechify.TestsClient.ListTestRuns.g.cs index 0bf0daf8..42f4a692 100644 --- a/src/libs/Speechify/Generated/Speechify.TestsClient.ListTestRuns.g.cs +++ b/src/libs/Speechify/Generated/Speechify.TestsClient.ListTestRuns.g.cs @@ -187,7 +187,7 @@ partial void ProcessListTestRunsResponseContent( PrepareListTestRunsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - testId: testId!, + testId: testId, cursor: cursor, limit: limit, speechifyVersion: speechifyVersion); @@ -212,7 +212,7 @@ partial void ProcessListTestRunsResponseContent( pathTemplate: "$\"/v1/agents/tests/{testId}/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, @@ -246,7 +246,7 @@ partial void ProcessListTestRunsResponseContent( pathTemplate: "$\"/v1/agents/tests/{testId}/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, @@ -287,7 +287,7 @@ partial void ProcessListTestRunsResponseContent( pathTemplate: "$\"/v1/agents/tests/{testId}/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, @@ -335,7 +335,7 @@ partial void ProcessListTestRunsResponseContent( pathTemplate: "$\"/v1/agents/tests/{testId}/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, @@ -357,7 +357,7 @@ partial void ProcessListTestRunsResponseContent( pathTemplate: "$\"/v1/agents/tests/{testId}/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/Speechify/Generated/Speechify.TestsClient.ResubmitSuiteRun.g.cs b/src/libs/Speechify/Generated/Speechify.TestsClient.ResubmitSuiteRun.g.cs index 5a2d79ac..5e9153eb 100644 --- a/src/libs/Speechify/Generated/Speechify.TestsClient.ResubmitSuiteRun.g.cs +++ b/src/libs/Speechify/Generated/Speechify.TestsClient.ResubmitSuiteRun.g.cs @@ -189,7 +189,7 @@ partial void ProcessResubmitSuiteRunResponseContent( PrepareResubmitSuiteRunRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - suiteRunId: suiteRunId!, + suiteRunId: suiteRunId, speechifyVersion: speechifyVersion, idempotencyKey: idempotencyKey); @@ -213,7 +213,7 @@ partial void ProcessResubmitSuiteRunResponseContent( pathTemplate: "$\"/v1/agents/tests/suite-runs/{suiteRunId}/resubmit\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -247,7 +247,7 @@ partial void ProcessResubmitSuiteRunResponseContent( pathTemplate: "$\"/v1/agents/tests/suite-runs/{suiteRunId}/resubmit\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -288,7 +288,7 @@ partial void ProcessResubmitSuiteRunResponseContent( pathTemplate: "$\"/v1/agents/tests/suite-runs/{suiteRunId}/resubmit\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -336,7 +336,7 @@ partial void ProcessResubmitSuiteRunResponseContent( pathTemplate: "$\"/v1/agents/tests/suite-runs/{suiteRunId}/resubmit\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -358,7 +358,7 @@ partial void ProcessResubmitSuiteRunResponseContent( pathTemplate: "$\"/v1/agents/tests/suite-runs/{suiteRunId}/resubmit\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.TestsClient.RunTargetedTests.g.cs b/src/libs/Speechify/Generated/Speechify.TestsClient.RunTargetedTests.g.cs index 2ebc2e3a..eefb8499 100644 --- a/src/libs/Speechify/Generated/Speechify.TestsClient.RunTargetedTests.g.cs +++ b/src/libs/Speechify/Generated/Speechify.TestsClient.RunTargetedTests.g.cs @@ -224,7 +224,7 @@ partial void ProcessRunTargetedTestsResponseContent( pathTemplate: "\"/v1/agents/tests/runs\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -258,7 +258,7 @@ partial void ProcessRunTargetedTestsResponseContent( pathTemplate: "\"/v1/agents/tests/runs\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -299,7 +299,7 @@ partial void ProcessRunTargetedTestsResponseContent( pathTemplate: "\"/v1/agents/tests/runs\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessRunTargetedTestsResponseContent( pathTemplate: "\"/v1/agents/tests/runs\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -369,7 +369,7 @@ partial void ProcessRunTargetedTestsResponseContent( pathTemplate: "\"/v1/agents/tests/runs\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.TestsClient.RunTest.g.cs b/src/libs/Speechify/Generated/Speechify.TestsClient.RunTest.g.cs index af43f5ac..28bc8bdb 100644 --- a/src/libs/Speechify/Generated/Speechify.TestsClient.RunTest.g.cs +++ b/src/libs/Speechify/Generated/Speechify.TestsClient.RunTest.g.cs @@ -220,7 +220,7 @@ partial void ProcessRunTestResponseContent( PrepareRunTestRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - testId: testId!, + testId: testId, speechifyVersion: speechifyVersion, idempotencyKey: idempotencyKey, request: request); @@ -245,7 +245,7 @@ partial void ProcessRunTestResponseContent( pathTemplate: "$\"/v1/agents/tests/{testId}/runs\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -279,7 +279,7 @@ partial void ProcessRunTestResponseContent( pathTemplate: "$\"/v1/agents/tests/{testId}/runs\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -320,7 +320,7 @@ partial void ProcessRunTestResponseContent( pathTemplate: "$\"/v1/agents/tests/{testId}/runs\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -368,7 +368,7 @@ partial void ProcessRunTestResponseContent( pathTemplate: "$\"/v1/agents/tests/{testId}/runs\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -390,7 +390,7 @@ partial void ProcessRunTestResponseContent( pathTemplate: "$\"/v1/agents/tests/{testId}/runs\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.TestsClient.RunTestsBatch.g.cs b/src/libs/Speechify/Generated/Speechify.TestsClient.RunTestsBatch.g.cs index 29ded4ce..37963a0f 100644 --- a/src/libs/Speechify/Generated/Speechify.TestsClient.RunTestsBatch.g.cs +++ b/src/libs/Speechify/Generated/Speechify.TestsClient.RunTestsBatch.g.cs @@ -220,7 +220,7 @@ partial void ProcessRunTestsBatchResponseContent( pathTemplate: "\"/v1/agents/tests/runs/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, @@ -254,7 +254,7 @@ partial void ProcessRunTestsBatchResponseContent( pathTemplate: "\"/v1/agents/tests/runs/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, @@ -295,7 +295,7 @@ partial void ProcessRunTestsBatchResponseContent( pathTemplate: "\"/v1/agents/tests/runs/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, @@ -343,7 +343,7 @@ partial void ProcessRunTestsBatchResponseContent( pathTemplate: "\"/v1/agents/tests/runs/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, @@ -365,7 +365,7 @@ partial void ProcessRunTestsBatchResponseContent( pathTemplate: "\"/v1/agents/tests/runs/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/Speechify/Generated/Speechify.TestsClient.UpdateTest.g.cs b/src/libs/Speechify/Generated/Speechify.TestsClient.UpdateTest.g.cs index acd0a901..70338964 100644 --- a/src/libs/Speechify/Generated/Speechify.TestsClient.UpdateTest.g.cs +++ b/src/libs/Speechify/Generated/Speechify.TestsClient.UpdateTest.g.cs @@ -180,7 +180,7 @@ partial void ProcessUpdateTestResponseContent( PrepareUpdateTestRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - testId: testId!, + testId: testId, speechifyVersion: speechifyVersion, request: request); @@ -204,7 +204,7 @@ partial void ProcessUpdateTestResponseContent( pathTemplate: "$\"/v1/agents/tests/{testId}\"", 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, @@ -238,7 +238,7 @@ partial void ProcessUpdateTestResponseContent( pathTemplate: "$\"/v1/agents/tests/{testId}\"", 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, @@ -279,7 +279,7 @@ partial void ProcessUpdateTestResponseContent( pathTemplate: "$\"/v1/agents/tests/{testId}\"", 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, @@ -327,7 +327,7 @@ partial void ProcessUpdateTestResponseContent( pathTemplate: "$\"/v1/agents/tests/{testId}\"", 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, @@ -349,7 +349,7 @@ partial void ProcessUpdateTestResponseContent( pathTemplate: "$\"/v1/agents/tests/{testId}\"", 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/Speechify/Generated/Speechify.TestsClient.UpdateTestFolder.g.cs b/src/libs/Speechify/Generated/Speechify.TestsClient.UpdateTestFolder.g.cs index d282b63e..d038869c 100644 --- a/src/libs/Speechify/Generated/Speechify.TestsClient.UpdateTestFolder.g.cs +++ b/src/libs/Speechify/Generated/Speechify.TestsClient.UpdateTestFolder.g.cs @@ -180,7 +180,7 @@ partial void ProcessUpdateTestFolderResponseContent( PrepareUpdateTestFolderRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - testFolderId: testFolderId!, + testFolderId: testFolderId, speechifyVersion: speechifyVersion, request: request); @@ -204,7 +204,7 @@ partial void ProcessUpdateTestFolderResponseContent( pathTemplate: "$\"/v1/agents/tests/folders/{testFolderId}\"", 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, @@ -238,7 +238,7 @@ partial void ProcessUpdateTestFolderResponseContent( pathTemplate: "$\"/v1/agents/tests/folders/{testFolderId}\"", 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, @@ -279,7 +279,7 @@ partial void ProcessUpdateTestFolderResponseContent( pathTemplate: "$\"/v1/agents/tests/folders/{testFolderId}\"", 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, @@ -327,7 +327,7 @@ partial void ProcessUpdateTestFolderResponseContent( pathTemplate: "$\"/v1/agents/tests/folders/{testFolderId}\"", 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, @@ -349,7 +349,7 @@ partial void ProcessUpdateTestFolderResponseContent( pathTemplate: "$\"/v1/agents/tests/folders/{testFolderId}\"", 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/Speechify/Generated/Speechify.ToolDefinitionsClient.Create.g.cs b/src/libs/Speechify/Generated/Speechify.ToolDefinitionsClient.Create.g.cs index 61579802..fee27da1 100644 --- a/src/libs/Speechify/Generated/Speechify.ToolDefinitionsClient.Create.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ToolDefinitionsClient.Create.g.cs @@ -235,7 +235,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "\"/v1/agents/tool-definitions\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -269,7 +269,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "\"/v1/agents/tool-definitions\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -310,7 +310,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "\"/v1/agents/tool-definitions\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -358,7 +358,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "\"/v1/agents/tool-definitions\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -380,7 +380,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "\"/v1/agents/tool-definitions\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.ToolDefinitionsClient.Delete.g.cs b/src/libs/Speechify/Generated/Speechify.ToolDefinitionsClient.Delete.g.cs index 04fcd5af..2224f236 100644 --- a/src/libs/Speechify/Generated/Speechify.ToolDefinitionsClient.Delete.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ToolDefinitionsClient.Delete.g.cs @@ -161,7 +161,7 @@ partial void ProcessDeleteResponseContent( PrepareDeleteRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - toolDefinitionId: toolDefinitionId!, + toolDefinitionId: toolDefinitionId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -184,7 +184,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/agents/tool-definitions/{toolDefinitionId}\"", 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, @@ -218,7 +218,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/agents/tool-definitions/{toolDefinitionId}\"", 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, @@ -259,7 +259,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/agents/tool-definitions/{toolDefinitionId}\"", 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, @@ -307,7 +307,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/agents/tool-definitions/{toolDefinitionId}\"", 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, @@ -329,7 +329,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/agents/tool-definitions/{toolDefinitionId}\"", 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/Speechify/Generated/Speechify.ToolDefinitionsClient.Get.g.cs b/src/libs/Speechify/Generated/Speechify.ToolDefinitionsClient.Get.g.cs index 18cfc427..4294c707 100644 --- a/src/libs/Speechify/Generated/Speechify.ToolDefinitionsClient.Get.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ToolDefinitionsClient.Get.g.cs @@ -161,7 +161,7 @@ partial void ProcessGetResponseContent( PrepareGetRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - toolDefinitionId: toolDefinitionId!, + toolDefinitionId: toolDefinitionId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -184,7 +184,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/tool-definitions/{toolDefinitionId}\"", httpMethod: "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, @@ -218,7 +218,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/tool-definitions/{toolDefinitionId}\"", httpMethod: "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, @@ -259,7 +259,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/tool-definitions/{toolDefinitionId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -307,7 +307,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/tool-definitions/{toolDefinitionId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -329,7 +329,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/tool-definitions/{toolDefinitionId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.ToolDefinitionsClient.ImportOpenAPI.g.cs b/src/libs/Speechify/Generated/Speechify.ToolDefinitionsClient.ImportOpenAPI.g.cs index faffc7c5..136157fe 100644 --- a/src/libs/Speechify/Generated/Speechify.ToolDefinitionsClient.ImportOpenAPI.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ToolDefinitionsClient.ImportOpenAPI.g.cs @@ -265,7 +265,7 @@ partial void ProcessImportOpenAPIResponseContent( pathTemplate: "\"/v1/agents/tool-definitions/import-openapi\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -299,7 +299,7 @@ partial void ProcessImportOpenAPIResponseContent( pathTemplate: "\"/v1/agents/tool-definitions/import-openapi\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -340,7 +340,7 @@ partial void ProcessImportOpenAPIResponseContent( pathTemplate: "\"/v1/agents/tool-definitions/import-openapi\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -388,7 +388,7 @@ partial void ProcessImportOpenAPIResponseContent( pathTemplate: "\"/v1/agents/tool-definitions/import-openapi\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -410,7 +410,7 @@ partial void ProcessImportOpenAPIResponseContent( pathTemplate: "\"/v1/agents/tool-definitions/import-openapi\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.ToolDefinitionsClient.List.g.cs b/src/libs/Speechify/Generated/Speechify.ToolDefinitionsClient.List.g.cs index 3bb2f835..7250b9e4 100644 --- a/src/libs/Speechify/Generated/Speechify.ToolDefinitionsClient.List.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ToolDefinitionsClient.List.g.cs @@ -217,7 +217,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/agents/tool-definitions\"", httpMethod: "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, @@ -251,7 +251,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/agents/tool-definitions\"", httpMethod: "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, @@ -292,7 +292,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/agents/tool-definitions\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessListResponseContent( pathTemplate: "\"/v1/agents/tool-definitions\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -362,7 +362,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/agents/tool-definitions\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.ToolDefinitionsClient.ListApiRoutes.g.cs b/src/libs/Speechify/Generated/Speechify.ToolDefinitionsClient.ListApiRoutes.g.cs index f00a4d0a..f9aa1b94 100644 --- a/src/libs/Speechify/Generated/Speechify.ToolDefinitionsClient.ListApiRoutes.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ToolDefinitionsClient.ListApiRoutes.g.cs @@ -211,7 +211,7 @@ partial void ProcessListApiRoutesResponseContent( PrepareListApiRoutesRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - toolDefinitionId: toolDefinitionId!, + toolDefinitionId: toolDefinitionId, cursor: cursor, limit: limit, speechifyVersion: speechifyVersion); @@ -236,7 +236,7 @@ partial void ProcessListApiRoutesResponseContent( pathTemplate: "$\"/v1/agents/tool-definitions/{toolDefinitionId}/api-routes\"", httpMethod: "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, @@ -270,7 +270,7 @@ partial void ProcessListApiRoutesResponseContent( pathTemplate: "$\"/v1/agents/tool-definitions/{toolDefinitionId}/api-routes\"", httpMethod: "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, @@ -311,7 +311,7 @@ partial void ProcessListApiRoutesResponseContent( pathTemplate: "$\"/v1/agents/tool-definitions/{toolDefinitionId}/api-routes\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessListApiRoutesResponseContent( pathTemplate: "$\"/v1/agents/tool-definitions/{toolDefinitionId}/api-routes\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -381,7 +381,7 @@ partial void ProcessListApiRoutesResponseContent( pathTemplate: "$\"/v1/agents/tool-definitions/{toolDefinitionId}/api-routes\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.ToolDefinitionsClient.ListAttachedAgents.g.cs b/src/libs/Speechify/Generated/Speechify.ToolDefinitionsClient.ListAttachedAgents.g.cs index 7a0ab714..38215cb2 100644 --- a/src/libs/Speechify/Generated/Speechify.ToolDefinitionsClient.ListAttachedAgents.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ToolDefinitionsClient.ListAttachedAgents.g.cs @@ -193,7 +193,7 @@ partial void ProcessListAttachedAgentsResponseContent( PrepareListAttachedAgentsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - toolDefinitionId: toolDefinitionId!, + toolDefinitionId: toolDefinitionId, cursor: cursor, limit: limit, speechifyVersion: speechifyVersion); @@ -218,7 +218,7 @@ partial void ProcessListAttachedAgentsResponseContent( pathTemplate: "$\"/v1/agents/tool-definitions/{toolDefinitionId}/attached-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, @@ -252,7 +252,7 @@ partial void ProcessListAttachedAgentsResponseContent( pathTemplate: "$\"/v1/agents/tool-definitions/{toolDefinitionId}/attached-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, @@ -293,7 +293,7 @@ partial void ProcessListAttachedAgentsResponseContent( pathTemplate: "$\"/v1/agents/tool-definitions/{toolDefinitionId}/attached-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, @@ -341,7 +341,7 @@ partial void ProcessListAttachedAgentsResponseContent( pathTemplate: "$\"/v1/agents/tool-definitions/{toolDefinitionId}/attached-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, @@ -363,7 +363,7 @@ partial void ProcessListAttachedAgentsResponseContent( pathTemplate: "$\"/v1/agents/tool-definitions/{toolDefinitionId}/attached-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/Speechify/Generated/Speechify.ToolDefinitionsClient.RotateSecret.g.cs b/src/libs/Speechify/Generated/Speechify.ToolDefinitionsClient.RotateSecret.g.cs index b8567f34..3254ef89 100644 --- a/src/libs/Speechify/Generated/Speechify.ToolDefinitionsClient.RotateSecret.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ToolDefinitionsClient.RotateSecret.g.cs @@ -171,7 +171,7 @@ partial void ProcessRotateSecretResponseContent( PrepareRotateSecretRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - toolDefinitionId: toolDefinitionId!, + toolDefinitionId: toolDefinitionId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -194,7 +194,7 @@ partial void ProcessRotateSecretResponseContent( pathTemplate: "$\"/v1/agents/tool-definitions/{toolDefinitionId}/rotate-secret\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessRotateSecretResponseContent( pathTemplate: "$\"/v1/agents/tool-definitions/{toolDefinitionId}/rotate-secret\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessRotateSecretResponseContent( pathTemplate: "$\"/v1/agents/tool-definitions/{toolDefinitionId}/rotate-secret\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessRotateSecretResponseContent( pathTemplate: "$\"/v1/agents/tool-definitions/{toolDefinitionId}/rotate-secret\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessRotateSecretResponseContent( pathTemplate: "$\"/v1/agents/tool-definitions/{toolDefinitionId}/rotate-secret\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.ToolDefinitionsClient.TestMCPConnection.g.cs b/src/libs/Speechify/Generated/Speechify.ToolDefinitionsClient.TestMCPConnection.g.cs index 73e06ff4..3ba7a2ff 100644 --- a/src/libs/Speechify/Generated/Speechify.ToolDefinitionsClient.TestMCPConnection.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ToolDefinitionsClient.TestMCPConnection.g.cs @@ -217,7 +217,7 @@ partial void ProcessTestMCPConnectionResponseContent( pathTemplate: "\"/v1/agents/tool-definitions/test-mcp-connection\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -251,7 +251,7 @@ partial void ProcessTestMCPConnectionResponseContent( pathTemplate: "\"/v1/agents/tool-definitions/test-mcp-connection\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -292,7 +292,7 @@ partial void ProcessTestMCPConnectionResponseContent( pathTemplate: "\"/v1/agents/tool-definitions/test-mcp-connection\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessTestMCPConnectionResponseContent( pathTemplate: "\"/v1/agents/tool-definitions/test-mcp-connection\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -362,7 +362,7 @@ partial void ProcessTestMCPConnectionResponseContent( pathTemplate: "\"/v1/agents/tool-definitions/test-mcp-connection\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.ToolDefinitionsClient.TestOpenAPICall.g.cs b/src/libs/Speechify/Generated/Speechify.ToolDefinitionsClient.TestOpenAPICall.g.cs index cfe44b53..e71b09d9 100644 --- a/src/libs/Speechify/Generated/Speechify.ToolDefinitionsClient.TestOpenAPICall.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ToolDefinitionsClient.TestOpenAPICall.g.cs @@ -243,7 +243,7 @@ partial void ProcessTestOpenAPICallResponseContent( pathTemplate: "\"/v1/agents/tool-definitions/test-openapi-call\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -277,7 +277,7 @@ partial void ProcessTestOpenAPICallResponseContent( pathTemplate: "\"/v1/agents/tool-definitions/test-openapi-call\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -318,7 +318,7 @@ partial void ProcessTestOpenAPICallResponseContent( pathTemplate: "\"/v1/agents/tool-definitions/test-openapi-call\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessTestOpenAPICallResponseContent( pathTemplate: "\"/v1/agents/tool-definitions/test-openapi-call\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -388,7 +388,7 @@ partial void ProcessTestOpenAPICallResponseContent( pathTemplate: "\"/v1/agents/tool-definitions/test-openapi-call\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.ToolDefinitionsClient.TestWebhookConnection.g.cs b/src/libs/Speechify/Generated/Speechify.ToolDefinitionsClient.TestWebhookConnection.g.cs index 8b8c6049..af9898a2 100644 --- a/src/libs/Speechify/Generated/Speechify.ToolDefinitionsClient.TestWebhookConnection.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ToolDefinitionsClient.TestWebhookConnection.g.cs @@ -223,7 +223,7 @@ partial void ProcessTestWebhookConnectionResponseContent( pathTemplate: "\"/v1/agents/tool-definitions/test-webhook-connection\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -257,7 +257,7 @@ partial void ProcessTestWebhookConnectionResponseContent( pathTemplate: "\"/v1/agents/tool-definitions/test-webhook-connection\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -298,7 +298,7 @@ partial void ProcessTestWebhookConnectionResponseContent( pathTemplate: "\"/v1/agents/tool-definitions/test-webhook-connection\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -346,7 +346,7 @@ partial void ProcessTestWebhookConnectionResponseContent( pathTemplate: "\"/v1/agents/tool-definitions/test-webhook-connection\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -368,7 +368,7 @@ partial void ProcessTestWebhookConnectionResponseContent( pathTemplate: "\"/v1/agents/tool-definitions/test-webhook-connection\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.ToolDefinitionsClient.Update.g.cs b/src/libs/Speechify/Generated/Speechify.ToolDefinitionsClient.Update.g.cs index 96926134..85033e1d 100644 --- a/src/libs/Speechify/Generated/Speechify.ToolDefinitionsClient.Update.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ToolDefinitionsClient.Update.g.cs @@ -202,7 +202,7 @@ partial void ProcessUpdateResponseContent( PrepareUpdateRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - toolDefinitionId: toolDefinitionId!, + toolDefinitionId: toolDefinitionId, speechifyVersion: speechifyVersion, request: request); @@ -226,7 +226,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/agents/tool-definitions/{toolDefinitionId}\"", 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, @@ -260,7 +260,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/agents/tool-definitions/{toolDefinitionId}\"", 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, @@ -301,7 +301,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/agents/tool-definitions/{toolDefinitionId}\"", 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, @@ -349,7 +349,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/agents/tool-definitions/{toolDefinitionId}\"", 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, @@ -371,7 +371,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/agents/tool-definitions/{toolDefinitionId}\"", 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/Speechify/Generated/Speechify.TriggersClient.Create.g.cs b/src/libs/Speechify/Generated/Speechify.TriggersClient.Create.g.cs index ed139018..89073731 100644 --- a/src/libs/Speechify/Generated/Speechify.TriggersClient.Create.g.cs +++ b/src/libs/Speechify/Generated/Speechify.TriggersClient.Create.g.cs @@ -214,7 +214,7 @@ partial void ProcessCreateResponseContent( PrepareCreateRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - agentId: agentId!, + agentId: agentId, speechifyVersion: speechifyVersion, idempotencyKey: idempotencyKey, request: request); @@ -239,7 +239,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/triggers\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -273,7 +273,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/triggers\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -314,7 +314,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/triggers\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -362,7 +362,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/triggers\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -384,7 +384,7 @@ partial void ProcessCreateResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/triggers\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.TriggersClient.Delete.g.cs b/src/libs/Speechify/Generated/Speechify.TriggersClient.Delete.g.cs index 1dfc1776..45227e00 100644 --- a/src/libs/Speechify/Generated/Speechify.TriggersClient.Delete.g.cs +++ b/src/libs/Speechify/Generated/Speechify.TriggersClient.Delete.g.cs @@ -169,8 +169,8 @@ partial void ProcessDeleteResponseContent( PrepareDeleteRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - agentId: agentId!, - triggerId: triggerId!, + agentId: agentId, + triggerId: triggerId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -193,7 +193,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/triggers/{triggerId}\"", 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, @@ -227,7 +227,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/triggers/{triggerId}\"", 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, @@ -268,7 +268,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/triggers/{triggerId}\"", 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, @@ -316,7 +316,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/triggers/{triggerId}\"", 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, @@ -338,7 +338,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/triggers/{triggerId}\"", 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/Speechify/Generated/Speechify.TriggersClient.Fire.g.cs b/src/libs/Speechify/Generated/Speechify.TriggersClient.Fire.g.cs index 6289229d..9c428a21 100644 --- a/src/libs/Speechify/Generated/Speechify.TriggersClient.Fire.g.cs +++ b/src/libs/Speechify/Generated/Speechify.TriggersClient.Fire.g.cs @@ -226,7 +226,7 @@ partial void ProcessFireResponseContent( PrepareFireRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - triggerId: triggerId!, + triggerId: triggerId, speechifyVersion: speechifyVersion, speechifyUserIdentity: speechifyUserIdentity, request: request); @@ -251,7 +251,7 @@ partial void ProcessFireResponseContent( pathTemplate: "$\"/v1/agent-triggers/{triggerId}/fire\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 @@ partial void ProcessFireResponseContent( pathTemplate: "$\"/v1/agent-triggers/{triggerId}/fire\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 @@ partial void ProcessFireResponseContent( pathTemplate: "$\"/v1/agent-triggers/{triggerId}/fire\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -374,7 +374,7 @@ partial void ProcessFireResponseContent( pathTemplate: "$\"/v1/agent-triggers/{triggerId}/fire\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 @@ partial void ProcessFireResponseContent( pathTemplate: "$\"/v1/agent-triggers/{triggerId}/fire\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.TriggersClient.Get.g.cs b/src/libs/Speechify/Generated/Speechify.TriggersClient.Get.g.cs index dbd56545..fa2eda3d 100644 --- a/src/libs/Speechify/Generated/Speechify.TriggersClient.Get.g.cs +++ b/src/libs/Speechify/Generated/Speechify.TriggersClient.Get.g.cs @@ -169,8 +169,8 @@ partial void ProcessGetResponseContent( PrepareGetRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - agentId: agentId!, - triggerId: triggerId!, + agentId: agentId, + triggerId: triggerId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -193,7 +193,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/triggers/{triggerId}\"", httpMethod: "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, @@ -227,7 +227,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/triggers/{triggerId}\"", httpMethod: "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, @@ -268,7 +268,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/triggers/{triggerId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -316,7 +316,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/triggers/{triggerId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/triggers/{triggerId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.TriggersClient.List.g.cs b/src/libs/Speechify/Generated/Speechify.TriggersClient.List.g.cs index b5818ebb..60e95895 100644 --- a/src/libs/Speechify/Generated/Speechify.TriggersClient.List.g.cs +++ b/src/libs/Speechify/Generated/Speechify.TriggersClient.List.g.cs @@ -189,7 +189,7 @@ partial void ProcessListResponseContent( PrepareListRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - agentId: agentId!, + agentId: agentId, cursor: cursor, limit: limit, speechifyVersion: speechifyVersion); @@ -214,7 +214,7 @@ partial void ProcessListResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/triggers\"", httpMethod: "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 ProcessListResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/triggers\"", httpMethod: "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 ProcessListResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/triggers\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessListResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/triggers\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessListResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/triggers\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.TriggersClient.Update.g.cs b/src/libs/Speechify/Generated/Speechify.TriggersClient.Update.g.cs index 81813f74..ed54aa1b 100644 --- a/src/libs/Speechify/Generated/Speechify.TriggersClient.Update.g.cs +++ b/src/libs/Speechify/Generated/Speechify.TriggersClient.Update.g.cs @@ -204,8 +204,8 @@ partial void ProcessUpdateResponseContent( PrepareUpdateRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - agentId: agentId!, - triggerId: triggerId!, + agentId: agentId, + triggerId: triggerId, speechifyVersion: speechifyVersion, request: request); @@ -229,7 +229,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/triggers/{triggerId}\"", 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, @@ -263,7 +263,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/triggers/{triggerId}\"", 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, @@ -304,7 +304,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/triggers/{triggerId}\"", 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, @@ -352,7 +352,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/triggers/{triggerId}\"", 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, @@ -374,7 +374,7 @@ partial void ProcessUpdateResponseContent( pathTemplate: "$\"/v1/agents/{agentId}/triggers/{triggerId}\"", 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/Speechify/Generated/Speechify.VoicesClient.Create.g.cs b/src/libs/Speechify/Generated/Speechify.VoicesClient.Create.g.cs index bdff72a4..27bd9fad 100644 --- a/src/libs/Speechify/Generated/Speechify.VoicesClient.Create.g.cs +++ b/src/libs/Speechify/Generated/Speechify.VoicesClient.Create.g.cs @@ -354,7 +354,7 @@ request.ConsentRecordingname is null pathTemplate: "\"/v1/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, @@ -388,7 +388,7 @@ request.ConsentRecordingname is null pathTemplate: "\"/v1/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, @@ -429,7 +429,7 @@ request.ConsentRecordingname is null pathTemplate: "\"/v1/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, @@ -477,7 +477,7 @@ request.ConsentRecordingname is null pathTemplate: "\"/v1/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, @@ -499,7 +499,7 @@ request.ConsentRecordingname is null pathTemplate: "\"/v1/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, @@ -1452,7 +1452,7 @@ request.ConsentRecordingname is null pathTemplate: "\"/v1/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, @@ -1486,7 +1486,7 @@ request.ConsentRecordingname is null pathTemplate: "\"/v1/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, @@ -1527,7 +1527,7 @@ request.ConsentRecordingname is null pathTemplate: "\"/v1/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, @@ -1575,7 +1575,7 @@ request.ConsentRecordingname is null pathTemplate: "\"/v1/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, @@ -1597,7 +1597,7 @@ request.ConsentRecordingname is null pathTemplate: "\"/v1/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, @@ -2445,7 +2445,7 @@ request.ConsentRecordingname is null pathTemplate: "\"/v1/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, @@ -2479,7 +2479,7 @@ request.ConsentRecordingname is null pathTemplate: "\"/v1/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, @@ -2520,7 +2520,7 @@ request.ConsentRecordingname is null pathTemplate: "\"/v1/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, @@ -2568,7 +2568,7 @@ request.ConsentRecordingname is null pathTemplate: "\"/v1/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, @@ -2590,7 +2590,7 @@ request.ConsentRecordingname is null pathTemplate: "\"/v1/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/Speechify/Generated/Speechify.VoicesClient.Delete.g.cs b/src/libs/Speechify/Generated/Speechify.VoicesClient.Delete.g.cs index ba3545ae..1a0dc861 100644 --- a/src/libs/Speechify/Generated/Speechify.VoicesClient.Delete.g.cs +++ b/src/libs/Speechify/Generated/Speechify.VoicesClient.Delete.g.cs @@ -165,7 +165,7 @@ partial void ProcessDeleteResponseContent( PrepareDeleteRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - voiceId: voiceId!, + voiceId: voiceId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -188,7 +188,7 @@ partial void ProcessDeleteResponseContent( pathTemplate: "$\"/v1/voices/{voiceId}\"", 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 ProcessDeleteResponseContent( pathTemplate: "$\"/v1/voices/{voiceId}\"", 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 ProcessDeleteResponseContent( pathTemplate: "$\"/v1/voices/{voiceId}\"", 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 ProcessDeleteResponseContent( pathTemplate: "$\"/v1/voices/{voiceId}\"", 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 ProcessDeleteResponseContent( pathTemplate: "$\"/v1/voices/{voiceId}\"", 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/Speechify/Generated/Speechify.VoicesClient.DownloadSample.g.cs b/src/libs/Speechify/Generated/Speechify.VoicesClient.DownloadSample.g.cs index 465b6a41..45aad427 100644 --- a/src/libs/Speechify/Generated/Speechify.VoicesClient.DownloadSample.g.cs +++ b/src/libs/Speechify/Generated/Speechify.VoicesClient.DownloadSample.g.cs @@ -161,7 +161,7 @@ partial void ProcessDownloadSampleResponseContent( PrepareDownloadSampleRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - voiceId: voiceId!, + voiceId: voiceId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -184,7 +184,7 @@ partial void ProcessDownloadSampleResponseContent( pathTemplate: "$\"/v1/voices/{voiceId}/sample\"", httpMethod: "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, @@ -218,7 +218,7 @@ partial void ProcessDownloadSampleResponseContent( pathTemplate: "$\"/v1/voices/{voiceId}/sample\"", httpMethod: "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, @@ -259,7 +259,7 @@ partial void ProcessDownloadSampleResponseContent( pathTemplate: "$\"/v1/voices/{voiceId}/sample\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -307,7 +307,7 @@ partial void ProcessDownloadSampleResponseContent( pathTemplate: "$\"/v1/voices/{voiceId}/sample\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -329,7 +329,7 @@ partial void ProcessDownloadSampleResponseContent( pathTemplate: "$\"/v1/voices/{voiceId}/sample\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -782,7 +782,7 @@ partial void ProcessDownloadSampleResponseContent( PrepareDownloadSampleRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - voiceId: voiceId!, + voiceId: voiceId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -805,7 +805,7 @@ partial void ProcessDownloadSampleResponseContent( pathTemplate: "$\"/v1/voices/{voiceId}/sample\"", httpMethod: "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, @@ -839,7 +839,7 @@ partial void ProcessDownloadSampleResponseContent( pathTemplate: "$\"/v1/voices/{voiceId}/sample\"", httpMethod: "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, @@ -880,7 +880,7 @@ partial void ProcessDownloadSampleResponseContent( pathTemplate: "$\"/v1/voices/{voiceId}/sample\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -928,7 +928,7 @@ partial void ProcessDownloadSampleResponseContent( pathTemplate: "$\"/v1/voices/{voiceId}/sample\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -950,7 +950,7 @@ partial void ProcessDownloadSampleResponseContent( pathTemplate: "$\"/v1/voices/{voiceId}/sample\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.VoicesClient.Get.g.cs b/src/libs/Speechify/Generated/Speechify.VoicesClient.Get.g.cs index 9a356971..295af177 100644 --- a/src/libs/Speechify/Generated/Speechify.VoicesClient.Get.g.cs +++ b/src/libs/Speechify/Generated/Speechify.VoicesClient.Get.g.cs @@ -167,7 +167,7 @@ partial void ProcessGetResponseContent( PrepareGetRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - voiceId: voiceId!, + voiceId: voiceId, speechifyVersion: speechifyVersion); return __httpRequest; @@ -190,7 +190,7 @@ partial void ProcessGetResponseContent( pathTemplate: "$\"/v1/voices/{voiceId}\"", httpMethod: "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 ProcessGetResponseContent( pathTemplate: "$\"/v1/voices/{voiceId}\"", httpMethod: "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 ProcessGetResponseContent( pathTemplate: "$\"/v1/voices/{voiceId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetResponseContent( pathTemplate: "$\"/v1/voices/{voiceId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetResponseContent( pathTemplate: "$\"/v1/voices/{voiceId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.VoicesClient.List.g.cs b/src/libs/Speechify/Generated/Speechify.VoicesClient.List.g.cs index 7404f4a6..5e76a9ad 100644 --- a/src/libs/Speechify/Generated/Speechify.VoicesClient.List.g.cs +++ b/src/libs/Speechify/Generated/Speechify.VoicesClient.List.g.cs @@ -277,7 +277,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/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, @@ -311,7 +311,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/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, @@ -352,7 +352,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/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, @@ -400,7 +400,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/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, @@ -422,7 +422,7 @@ partial void ProcessListResponseContent( pathTemplate: "\"/v1/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/Speechify/Generated/Speechify.WatermarkClient.Detect.g.cs b/src/libs/Speechify/Generated/Speechify.WatermarkClient.Detect.g.cs index 12c38579..6f4f0f61 100644 --- a/src/libs/Speechify/Generated/Speechify.WatermarkClient.Detect.g.cs +++ b/src/libs/Speechify/Generated/Speechify.WatermarkClient.Detect.g.cs @@ -253,7 +253,7 @@ request.Audioname is null pathTemplate: "\"/v1/audio/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, @@ -287,7 +287,7 @@ request.Audioname is null pathTemplate: "\"/v1/audio/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, @@ -328,7 +328,7 @@ request.Audioname is null pathTemplate: "\"/v1/audio/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, @@ -376,7 +376,7 @@ request.Audioname is null pathTemplate: "\"/v1/audio/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, @@ -398,7 +398,7 @@ request.Audioname is null pathTemplate: "\"/v1/audio/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, @@ -1042,7 +1042,7 @@ request.Audioname is null pathTemplate: "\"/v1/audio/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, @@ -1076,7 +1076,7 @@ request.Audioname is null pathTemplate: "\"/v1/audio/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, @@ -1117,7 +1117,7 @@ request.Audioname is null pathTemplate: "\"/v1/audio/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, @@ -1165,7 +1165,7 @@ request.Audioname is null pathTemplate: "\"/v1/audio/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, @@ -1187,7 +1187,7 @@ request.Audioname is null pathTemplate: "\"/v1/audio/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, @@ -1772,7 +1772,7 @@ request.Audioname is null pathTemplate: "\"/v1/audio/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, @@ -1806,7 +1806,7 @@ request.Audioname is null pathTemplate: "\"/v1/audio/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, @@ -1847,7 +1847,7 @@ request.Audioname is null pathTemplate: "\"/v1/audio/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, @@ -1895,7 +1895,7 @@ request.Audioname is null pathTemplate: "\"/v1/audio/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, @@ -1917,7 +1917,7 @@ request.Audioname is null pathTemplate: "\"/v1/audio/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/Speechify/Generated/Speechify.WatermarkClient.Verify.g.cs b/src/libs/Speechify/Generated/Speechify.WatermarkClient.Verify.g.cs index a7a88129..2af9449a 100644 --- a/src/libs/Speechify/Generated/Speechify.WatermarkClient.Verify.g.cs +++ b/src/libs/Speechify/Generated/Speechify.WatermarkClient.Verify.g.cs @@ -277,7 +277,7 @@ request.Audioname is null pathTemplate: "\"/v1/audio/watermark/verify\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -311,7 +311,7 @@ request.Audioname is null pathTemplate: "\"/v1/audio/watermark/verify\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -352,7 +352,7 @@ request.Audioname is null pathTemplate: "\"/v1/audio/watermark/verify\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -400,7 +400,7 @@ request.Audioname is null pathTemplate: "\"/v1/audio/watermark/verify\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -422,7 +422,7 @@ request.Audioname is null pathTemplate: "\"/v1/audio/watermark/verify\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1012,7 +1012,7 @@ request.Audioname is null pathTemplate: "\"/v1/audio/watermark/verify\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -1046,7 +1046,7 @@ request.Audioname is null pathTemplate: "\"/v1/audio/watermark/verify\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -1087,7 +1087,7 @@ request.Audioname is null pathTemplate: "\"/v1/audio/watermark/verify\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1135,7 +1135,7 @@ request.Audioname is null pathTemplate: "\"/v1/audio/watermark/verify\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1157,7 +1157,7 @@ request.Audioname is null pathTemplate: "\"/v1/audio/watermark/verify\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1678,7 +1678,7 @@ request.Audioname is null pathTemplate: "\"/v1/audio/watermark/verify\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -1712,7 +1712,7 @@ request.Audioname is null pathTemplate: "\"/v1/audio/watermark/verify\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -1753,7 +1753,7 @@ request.Audioname is null pathTemplate: "\"/v1/audio/watermark/verify\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1801,7 +1801,7 @@ request.Audioname is null pathTemplate: "\"/v1/audio/watermark/verify\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1823,7 +1823,7 @@ request.Audioname is null pathTemplate: "\"/v1/audio/watermark/verify\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Speechify/Generated/Speechify.WorkspacesClient.GetEntitlements.g.cs b/src/libs/Speechify/Generated/Speechify.WorkspacesClient.GetEntitlements.g.cs index b9320429..5badda94 100644 --- a/src/libs/Speechify/Generated/Speechify.WorkspacesClient.GetEntitlements.g.cs +++ b/src/libs/Speechify/Generated/Speechify.WorkspacesClient.GetEntitlements.g.cs @@ -191,7 +191,7 @@ partial void ProcessGetEntitlementsResponseContent( pathTemplate: "\"/v1/workspaces/current/entitlements\"", httpMethod: "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, @@ -225,7 +225,7 @@ partial void ProcessGetEntitlementsResponseContent( pathTemplate: "\"/v1/workspaces/current/entitlements\"", httpMethod: "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, @@ -266,7 +266,7 @@ partial void ProcessGetEntitlementsResponseContent( pathTemplate: "\"/v1/workspaces/current/entitlements\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -314,7 +314,7 @@ partial void ProcessGetEntitlementsResponseContent( pathTemplate: "\"/v1/workspaces/current/entitlements\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -336,7 +336,7 @@ partial void ProcessGetEntitlementsResponseContent( pathTemplate: "\"/v1/workspaces/current/entitlements\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options,