From b6115444375cef039ce16ce79d244ea502ee3a94 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 28 Sep 2026 03:04:24 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- src/libs/V0/Generated/V0.AllOf.2.g.cs | 32 +++---- src/libs/V0/Generated/V0.AnyOf.2.g.cs | 32 +++---- src/libs/V0/Generated/V0.AnyOf.3.g.cs | 48 +++++----- src/libs/V0/Generated/V0.AnyOf.4.g.cs | 64 ++++++------- src/libs/V0/Generated/V0.AnyOf.5.g.cs | 80 ++++++++-------- src/libs/V0/Generated/V0.AnyOf.6.g.cs | 96 +++++++++---------- .../V0/Generated/V0.AutoSDKHttpResponse.g.cs | 4 +- .../Generated/V0.ChatsClient.ChatsCreate.g.cs | 10 +- .../Generated/V0.ChatsClient.ChatsDelete.g.cs | 12 +-- ...0.ChatsClient.ChatsDeleteVersionFiles.g.cs | 14 +-- .../V0.ChatsClient.ChatsDownloadVersion.g.cs | 28 +++--- .../V0.ChatsClient.ChatsFavorite.g.cs | 12 +-- .../Generated/V0.ChatsClient.ChatsFind.g.cs | 10 +- .../V0.ChatsClient.ChatsFindMessages.g.cs | 12 +-- .../V0.ChatsClient.ChatsFindVersions.g.cs | 12 +-- .../Generated/V0.ChatsClient.ChatsFork.g.cs | 12 +-- .../V0.ChatsClient.ChatsGetById.g.cs | 12 +-- .../V0.ChatsClient.ChatsGetMessage.g.cs | 14 +-- .../V0.ChatsClient.ChatsGetVersion.g.cs | 14 +-- .../Generated/V0.ChatsClient.ChatsInit.g.cs | 10 +- .../V0.ChatsClient.ChatsResolveTask.g.cs | 12 +-- .../V0.ChatsClient.ChatsRestore.g.cs | 14 +-- .../Generated/V0.ChatsClient.ChatsResume.g.cs | 14 +-- .../V0.ChatsClient.ChatsSendMessage.g.cs | 12 +-- .../Generated/V0.ChatsClient.ChatsStop.g.cs | 14 +-- .../Generated/V0.ChatsClient.ChatsUpdate.g.cs | 12 +-- .../V0.ChatsClient.ChatsUpdateVersion.g.cs | 14 +-- ...0.DeploymentsClient.DeploymentsCreate.g.cs | 10 +- ...0.DeploymentsClient.DeploymentsDelete.g.cs | 12 +-- .../V0.DeploymentsClient.DeploymentsFind.g.cs | 14 +-- ...ploymentsClient.DeploymentsFindErrors.g.cs | 12 +-- ...DeploymentsClient.DeploymentsFindLogs.g.cs | 12 +-- ....DeploymentsClient.DeploymentsGetById.g.cs | 12 +-- .../Generated/V0.HooksClient.HooksCreate.g.cs | 10 +- .../Generated/V0.HooksClient.HooksDelete.g.cs | 12 +-- .../Generated/V0.HooksClient.HooksFind.g.cs | 10 +- .../V0.HooksClient.HooksGetById.g.cs | 12 +-- .../Generated/V0.HooksClient.HooksUpdate.g.cs | 12 +-- ...ient.IntegrationsVercelProjectsCreate.g.cs | 10 +- ...Client.IntegrationsVercelProjectsFind.g.cs | 10 +- .../Generated/V0.JsonConverters.AllOf2.g.cs | 4 +- .../Generated/V0.JsonConverters.AnyOf2.g.cs | 4 +- .../Generated/V0.JsonConverters.AnyOf3.g.cs | 6 +- .../Generated/V0.JsonConverters.AnyOf4.g.cs | 8 +- .../Generated/V0.JsonConverters.AnyOf5.g.cs | 10 +- .../Generated/V0.JsonConverters.AnyOf6.g.cs | 12 +-- .../V0.McpServersClient.McpServersCreate.g.cs | 10 +- ...McpServersCreateOAuthAuthorizationUrl.g.cs | 12 +-- .../V0.McpServersClient.McpServersDelete.g.cs | 12 +-- .../V0.McpServersClient.McpServersFind.g.cs | 10 +- ...V0.McpServersClient.McpServersGetById.g.cs | 12 +-- .../V0.McpServersClient.McpServersUpdate.g.cs | 12 +-- .../V0.ProjectsClient.ProjectsAssign.g.cs | 12 +-- .../V0.ProjectsClient.ProjectsCreate.g.cs | 10 +- ....ProjectsClient.ProjectsCreateEnvVars.g.cs | 12 +-- .../V0.ProjectsClient.ProjectsDelete.g.cs | 12 +-- ....ProjectsClient.ProjectsDeleteEnvVars.g.cs | 12 +-- .../V0.ProjectsClient.ProjectsFind.g.cs | 10 +- ...V0.ProjectsClient.ProjectsFindEnvVars.g.cs | 12 +-- ...V0.ProjectsClient.ProjectsGetByChatId.g.cs | 12 +-- .../V0.ProjectsClient.ProjectsGetById.g.cs | 12 +-- .../V0.ProjectsClient.ProjectsGetEnvVar.g.cs | 14 +-- .../V0.ProjectsClient.ProjectsUpdate.g.cs | 12 +-- ....ProjectsClient.ProjectsUpdateEnvVars.g.cs | 12 +-- .../V0.RateLimitsClient.RateLimitsFind.g.cs | 10 +- .../V0.ReportsClient.ReportsGetAIUsage.g.cs | 10 +- .../V0.ReportsClient.ReportsGetUsage.g.cs | 10 +- ....ReportsClient.ReportsGetUserActivity.g.cs | 10 +- .../V0/Generated/V0.UserClient.UserGet.g.cs | 10 +- .../V0.UserClient.UserGetBilling.g.cs | 10 +- .../Generated/V0.UserClient.UserGetPlan.g.cs | 10 +- .../V0.UserClient.UserGetScopes.g.cs | 10 +- 72 files changed, 551 insertions(+), 551 deletions(-) diff --git a/src/libs/V0/Generated/V0.AllOf.2.g.cs b/src/libs/V0/Generated/V0.AllOf.2.g.cs index 22d2bb3..ba577cf 100644 --- a/src/libs/V0/Generated/V0.AllOf.2.g.cs +++ b/src/libs/V0/Generated/V0.AllOf.2.g.cs @@ -41,8 +41,8 @@ public bool TryPickValue1( /// /// /// - public T1 PickValue1() => IsValue1 - ? Value1! + public T1 PickValue1() => Value1 is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'Value1' but the value was {ToString()}."); /// @@ -78,8 +78,8 @@ public bool TryPickValue2( /// /// /// - public T2 PickValue2() => IsValue2 - ? Value2! + public T2 PickValue2() => Value2 is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'Value2' but the value was {ToString()}."); /// /// @@ -190,13 +190,13 @@ public bool Validate() Validate(); } - if (IsValue1 && value1 != null) + if (Value1 is { } __value0 && value1 != null) { - return value1(Value1!); + return value1(__value0); } - else if (IsValue2 && value2 != null) + else if (Value2 is { } __value1 && value2 != null) { - return value2(Value2!); + return value2(__value1); } return default(TResult); @@ -216,13 +216,13 @@ public void Match( Validate(); } - if (IsValue1) + if (Value1 is { } __value0) { - value1?.Invoke(Value1!); + value1?.Invoke(__value0); } - else if (IsValue2) + else if (Value2 is { } __value1) { - value2?.Invoke(Value2!); + value2?.Invoke(__value1); } } @@ -239,13 +239,13 @@ public void Switch( Validate(); } - if (IsValue1) + if (Value1 is { } __value0) { - value1?.Invoke(Value1!); + value1?.Invoke(__value0); } - else if (IsValue2) + else if (Value2 is { } __value1) { - value2?.Invoke(Value2!); + value2?.Invoke(__value1); } } diff --git a/src/libs/V0/Generated/V0.AnyOf.2.g.cs b/src/libs/V0/Generated/V0.AnyOf.2.g.cs index 9971f29..4b38868 100644 --- a/src/libs/V0/Generated/V0.AnyOf.2.g.cs +++ b/src/libs/V0/Generated/V0.AnyOf.2.g.cs @@ -41,8 +41,8 @@ public bool TryPickValue1( /// /// /// - public T1 PickValue1() => IsValue1 - ? Value1! + public T1 PickValue1() => Value1 is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'Value1' but the value was {ToString()}."); /// @@ -78,8 +78,8 @@ public bool TryPickValue2( /// /// /// - public T2 PickValue2() => IsValue2 - ? Value2! + public T2 PickValue2() => Value2 is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'Value2' but the value was {ToString()}."); /// /// @@ -176,13 +176,13 @@ public bool Validate() Validate(); } - if (IsValue1 && value1 != null) + if (Value1 is { } __value0 && value1 != null) { - return value1(Value1!); + return value1(__value0); } - else if (IsValue2 && value2 != null) + else if (Value2 is { } __value1 && value2 != null) { - return value2(Value2!); + return value2(__value1); } return default(TResult); @@ -202,13 +202,13 @@ public void Match( Validate(); } - if (IsValue1) + if (Value1 is { } __value0) { - value1?.Invoke(Value1!); + value1?.Invoke(__value0); } - else if (IsValue2) + else if (Value2 is { } __value1) { - value2?.Invoke(Value2!); + value2?.Invoke(__value1); } } @@ -225,13 +225,13 @@ public void Switch( Validate(); } - if (IsValue1) + if (Value1 is { } __value0) { - value1?.Invoke(Value1!); + value1?.Invoke(__value0); } - else if (IsValue2) + else if (Value2 is { } __value1) { - value2?.Invoke(Value2!); + value2?.Invoke(__value1); } } diff --git a/src/libs/V0/Generated/V0.AnyOf.3.g.cs b/src/libs/V0/Generated/V0.AnyOf.3.g.cs index 44ae18d..80f14a0 100644 --- a/src/libs/V0/Generated/V0.AnyOf.3.g.cs +++ b/src/libs/V0/Generated/V0.AnyOf.3.g.cs @@ -41,8 +41,8 @@ public bool TryPickValue1( /// /// /// - public T1 PickValue1() => IsValue1 - ? Value1! + public T1 PickValue1() => Value1 is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'Value1' but the value was {ToString()}."); /// @@ -78,8 +78,8 @@ public bool TryPickValue2( /// /// /// - public T2 PickValue2() => IsValue2 - ? Value2! + public T2 PickValue2() => Value2 is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'Value2' but the value was {ToString()}."); /// @@ -115,8 +115,8 @@ public bool TryPickValue3( /// /// /// - public T3 PickValue3() => IsValue3 - ? Value3! + public T3 PickValue3() => Value3 is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'Value3' but the value was {ToString()}."); /// /// @@ -241,17 +241,17 @@ public bool Validate() Validate(); } - if (IsValue1 && value1 != null) + if (Value1 is { } __value0 && value1 != null) { - return value1(Value1!); + return value1(__value0); } - else if (IsValue2 && value2 != null) + else if (Value2 is { } __value1 && value2 != null) { - return value2(Value2!); + return value2(__value1); } - else if (IsValue3 && value3 != null) + else if (Value3 is { } __value2 && value3 != null) { - return value3(Value3!); + return value3(__value2); } return default(TResult); @@ -273,17 +273,17 @@ public void Match( Validate(); } - if (IsValue1) + if (Value1 is { } __value0) { - value1?.Invoke(Value1!); + value1?.Invoke(__value0); } - else if (IsValue2) + else if (Value2 is { } __value1) { - value2?.Invoke(Value2!); + value2?.Invoke(__value1); } - else if (IsValue3) + else if (Value3 is { } __value2) { - value3?.Invoke(Value3!); + value3?.Invoke(__value2); } } @@ -301,17 +301,17 @@ public void Switch( Validate(); } - if (IsValue1) + if (Value1 is { } __value0) { - value1?.Invoke(Value1!); + value1?.Invoke(__value0); } - else if (IsValue2) + else if (Value2 is { } __value1) { - value2?.Invoke(Value2!); + value2?.Invoke(__value1); } - else if (IsValue3) + else if (Value3 is { } __value2) { - value3?.Invoke(Value3!); + value3?.Invoke(__value2); } } diff --git a/src/libs/V0/Generated/V0.AnyOf.4.g.cs b/src/libs/V0/Generated/V0.AnyOf.4.g.cs index 666078f..9fe1a5c 100644 --- a/src/libs/V0/Generated/V0.AnyOf.4.g.cs +++ b/src/libs/V0/Generated/V0.AnyOf.4.g.cs @@ -41,8 +41,8 @@ public bool TryPickValue1( /// /// /// - public T1 PickValue1() => IsValue1 - ? Value1! + public T1 PickValue1() => Value1 is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'Value1' but the value was {ToString()}."); /// @@ -78,8 +78,8 @@ public bool TryPickValue2( /// /// /// - public T2 PickValue2() => IsValue2 - ? Value2! + public T2 PickValue2() => Value2 is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'Value2' but the value was {ToString()}."); /// @@ -115,8 +115,8 @@ public bool TryPickValue3( /// /// /// - public T3 PickValue3() => IsValue3 - ? Value3! + public T3 PickValue3() => Value3 is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'Value3' but the value was {ToString()}."); /// @@ -152,8 +152,8 @@ public bool TryPickValue4( /// /// /// - public T4 PickValue4() => IsValue4 - ? Value4! + public T4 PickValue4() => Value4 is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'Value4' but the value was {ToString()}."); /// /// @@ -306,21 +306,21 @@ public bool Validate() Validate(); } - if (IsValue1 && value1 != null) + if (Value1 is { } __value0 && value1 != null) { - return value1(Value1!); + return value1(__value0); } - else if (IsValue2 && value2 != null) + else if (Value2 is { } __value1 && value2 != null) { - return value2(Value2!); + return value2(__value1); } - else if (IsValue3 && value3 != null) + else if (Value3 is { } __value2 && value3 != null) { - return value3(Value3!); + return value3(__value2); } - else if (IsValue4 && value4 != null) + else if (Value4 is { } __value3 && value4 != null) { - return value4(Value4!); + return value4(__value3); } return default(TResult); @@ -344,21 +344,21 @@ public void Match( Validate(); } - if (IsValue1) + if (Value1 is { } __value0) { - value1?.Invoke(Value1!); + value1?.Invoke(__value0); } - else if (IsValue2) + else if (Value2 is { } __value1) { - value2?.Invoke(Value2!); + value2?.Invoke(__value1); } - else if (IsValue3) + else if (Value3 is { } __value2) { - value3?.Invoke(Value3!); + value3?.Invoke(__value2); } - else if (IsValue4) + else if (Value4 is { } __value3) { - value4?.Invoke(Value4!); + value4?.Invoke(__value3); } } @@ -377,21 +377,21 @@ public void Switch( Validate(); } - if (IsValue1) + if (Value1 is { } __value0) { - value1?.Invoke(Value1!); + value1?.Invoke(__value0); } - else if (IsValue2) + else if (Value2 is { } __value1) { - value2?.Invoke(Value2!); + value2?.Invoke(__value1); } - else if (IsValue3) + else if (Value3 is { } __value2) { - value3?.Invoke(Value3!); + value3?.Invoke(__value2); } - else if (IsValue4) + else if (Value4 is { } __value3) { - value4?.Invoke(Value4!); + value4?.Invoke(__value3); } } diff --git a/src/libs/V0/Generated/V0.AnyOf.5.g.cs b/src/libs/V0/Generated/V0.AnyOf.5.g.cs index bc4a0cc..52862c0 100644 --- a/src/libs/V0/Generated/V0.AnyOf.5.g.cs +++ b/src/libs/V0/Generated/V0.AnyOf.5.g.cs @@ -41,8 +41,8 @@ public bool TryPickValue1( /// /// /// - public T1 PickValue1() => IsValue1 - ? Value1! + public T1 PickValue1() => Value1 is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'Value1' but the value was {ToString()}."); /// @@ -78,8 +78,8 @@ public bool TryPickValue2( /// /// /// - public T2 PickValue2() => IsValue2 - ? Value2! + public T2 PickValue2() => Value2 is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'Value2' but the value was {ToString()}."); /// @@ -115,8 +115,8 @@ public bool TryPickValue3( /// /// /// - public T3 PickValue3() => IsValue3 - ? Value3! + public T3 PickValue3() => Value3 is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'Value3' but the value was {ToString()}."); /// @@ -152,8 +152,8 @@ public bool TryPickValue4( /// /// /// - public T4 PickValue4() => IsValue4 - ? Value4! + public T4 PickValue4() => Value4 is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'Value4' but the value was {ToString()}."); /// @@ -189,8 +189,8 @@ public bool TryPickValue5( /// /// /// - public T5 PickValue5() => IsValue5 - ? Value5! + public T5 PickValue5() => Value5 is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'Value5' but the value was {ToString()}."); /// /// @@ -371,25 +371,25 @@ public bool Validate() Validate(); } - if (IsValue1 && value1 != null) + if (Value1 is { } __value0 && value1 != null) { - return value1(Value1!); + return value1(__value0); } - else if (IsValue2 && value2 != null) + else if (Value2 is { } __value1 && value2 != null) { - return value2(Value2!); + return value2(__value1); } - else if (IsValue3 && value3 != null) + else if (Value3 is { } __value2 && value3 != null) { - return value3(Value3!); + return value3(__value2); } - else if (IsValue4 && value4 != null) + else if (Value4 is { } __value3 && value4 != null) { - return value4(Value4!); + return value4(__value3); } - else if (IsValue5 && value5 != null) + else if (Value5 is { } __value4 && value5 != null) { - return value5(Value5!); + return value5(__value4); } return default(TResult); @@ -415,25 +415,25 @@ public void Match( Validate(); } - if (IsValue1) + if (Value1 is { } __value0) { - value1?.Invoke(Value1!); + value1?.Invoke(__value0); } - else if (IsValue2) + else if (Value2 is { } __value1) { - value2?.Invoke(Value2!); + value2?.Invoke(__value1); } - else if (IsValue3) + else if (Value3 is { } __value2) { - value3?.Invoke(Value3!); + value3?.Invoke(__value2); } - else if (IsValue4) + else if (Value4 is { } __value3) { - value4?.Invoke(Value4!); + value4?.Invoke(__value3); } - else if (IsValue5) + else if (Value5 is { } __value4) { - value5?.Invoke(Value5!); + value5?.Invoke(__value4); } } @@ -453,25 +453,25 @@ public void Switch( Validate(); } - if (IsValue1) + if (Value1 is { } __value0) { - value1?.Invoke(Value1!); + value1?.Invoke(__value0); } - else if (IsValue2) + else if (Value2 is { } __value1) { - value2?.Invoke(Value2!); + value2?.Invoke(__value1); } - else if (IsValue3) + else if (Value3 is { } __value2) { - value3?.Invoke(Value3!); + value3?.Invoke(__value2); } - else if (IsValue4) + else if (Value4 is { } __value3) { - value4?.Invoke(Value4!); + value4?.Invoke(__value3); } - else if (IsValue5) + else if (Value5 is { } __value4) { - value5?.Invoke(Value5!); + value5?.Invoke(__value4); } } diff --git a/src/libs/V0/Generated/V0.AnyOf.6.g.cs b/src/libs/V0/Generated/V0.AnyOf.6.g.cs index 0cd89a3..5498928 100644 --- a/src/libs/V0/Generated/V0.AnyOf.6.g.cs +++ b/src/libs/V0/Generated/V0.AnyOf.6.g.cs @@ -41,8 +41,8 @@ public bool TryPickValue1( /// /// /// - public T1 PickValue1() => IsValue1 - ? Value1! + public T1 PickValue1() => Value1 is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'Value1' but the value was {ToString()}."); /// @@ -78,8 +78,8 @@ public bool TryPickValue2( /// /// /// - public T2 PickValue2() => IsValue2 - ? Value2! + public T2 PickValue2() => Value2 is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'Value2' but the value was {ToString()}."); /// @@ -115,8 +115,8 @@ public bool TryPickValue3( /// /// /// - public T3 PickValue3() => IsValue3 - ? Value3! + public T3 PickValue3() => Value3 is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'Value3' but the value was {ToString()}."); /// @@ -152,8 +152,8 @@ public bool TryPickValue4( /// /// /// - public T4 PickValue4() => IsValue4 - ? Value4! + public T4 PickValue4() => Value4 is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'Value4' but the value was {ToString()}."); /// @@ -189,8 +189,8 @@ public bool TryPickValue5( /// /// /// - public T5 PickValue5() => IsValue5 - ? Value5! + public T5 PickValue5() => Value5 is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'Value5' but the value was {ToString()}."); /// @@ -226,8 +226,8 @@ public bool TryPickValue6( /// /// /// - public T6 PickValue6() => IsValue6 - ? Value6! + public T6 PickValue6() => Value6 is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'Value6' but the value was {ToString()}."); /// /// @@ -436,29 +436,29 @@ public bool Validate() Validate(); } - if (IsValue1 && value1 != null) + if (Value1 is { } __value0 && value1 != null) { - return value1(Value1!); + return value1(__value0); } - else if (IsValue2 && value2 != null) + else if (Value2 is { } __value1 && value2 != null) { - return value2(Value2!); + return value2(__value1); } - else if (IsValue3 && value3 != null) + else if (Value3 is { } __value2 && value3 != null) { - return value3(Value3!); + return value3(__value2); } - else if (IsValue4 && value4 != null) + else if (Value4 is { } __value3 && value4 != null) { - return value4(Value4!); + return value4(__value3); } - else if (IsValue5 && value5 != null) + else if (Value5 is { } __value4 && value5 != null) { - return value5(Value5!); + return value5(__value4); } - else if (IsValue6 && value6 != null) + else if (Value6 is { } __value5 && value6 != null) { - return value6(Value6!); + return value6(__value5); } return default(TResult); @@ -486,29 +486,29 @@ public void Match( Validate(); } - if (IsValue1) + if (Value1 is { } __value0) { - value1?.Invoke(Value1!); + value1?.Invoke(__value0); } - else if (IsValue2) + else if (Value2 is { } __value1) { - value2?.Invoke(Value2!); + value2?.Invoke(__value1); } - else if (IsValue3) + else if (Value3 is { } __value2) { - value3?.Invoke(Value3!); + value3?.Invoke(__value2); } - else if (IsValue4) + else if (Value4 is { } __value3) { - value4?.Invoke(Value4!); + value4?.Invoke(__value3); } - else if (IsValue5) + else if (Value5 is { } __value4) { - value5?.Invoke(Value5!); + value5?.Invoke(__value4); } - else if (IsValue6) + else if (Value6 is { } __value5) { - value6?.Invoke(Value6!); + value6?.Invoke(__value5); } } @@ -529,29 +529,29 @@ public void Switch( Validate(); } - if (IsValue1) + if (Value1 is { } __value0) { - value1?.Invoke(Value1!); + value1?.Invoke(__value0); } - else if (IsValue2) + else if (Value2 is { } __value1) { - value2?.Invoke(Value2!); + value2?.Invoke(__value1); } - else if (IsValue3) + else if (Value3 is { } __value2) { - value3?.Invoke(Value3!); + value3?.Invoke(__value2); } - else if (IsValue4) + else if (Value4 is { } __value3) { - value4?.Invoke(Value4!); + value4?.Invoke(__value3); } - else if (IsValue5) + else if (Value5 is { } __value4) { - value5?.Invoke(Value5!); + value5?.Invoke(__value4); } - else if (IsValue6) + else if (Value6 is { } __value5) { - value6?.Invoke(Value6!); + value6?.Invoke(__value5); } } diff --git a/src/libs/V0/Generated/V0.AutoSDKHttpResponse.g.cs b/src/libs/V0/Generated/V0.AutoSDKHttpResponse.g.cs index 902eb2c..0085d2f 100644 --- a/src/libs/V0/Generated/V0.AutoSDKHttpResponse.g.cs +++ b/src/libs/V0/Generated/V0.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/V0/Generated/V0.ChatsClient.ChatsCreate.g.cs b/src/libs/V0/Generated/V0.ChatsClient.ChatsCreate.g.cs index 18e3c8b..bd991ac 100644 --- a/src/libs/V0/Generated/V0.ChatsClient.ChatsCreate.g.cs +++ b/src/libs/V0/Generated/V0.ChatsClient.ChatsCreate.g.cs @@ -180,7 +180,7 @@ partial void ProcessChatsCreateResponseContent( pathTemplate: "\"/chats\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -214,7 +214,7 @@ partial void ProcessChatsCreateResponseContent( pathTemplate: "\"/chats\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -255,7 +255,7 @@ partial void ProcessChatsCreateResponseContent( pathTemplate: "\"/chats\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -303,7 +303,7 @@ partial void ProcessChatsCreateResponseContent( pathTemplate: "\"/chats\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessChatsCreateResponseContent( pathTemplate: "\"/chats\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/V0/Generated/V0.ChatsClient.ChatsDelete.g.cs b/src/libs/V0/Generated/V0.ChatsClient.ChatsDelete.g.cs index bcd2105..bd24685 100644 --- a/src/libs/V0/Generated/V0.ChatsClient.ChatsDelete.g.cs +++ b/src/libs/V0/Generated/V0.ChatsClient.ChatsDelete.g.cs @@ -147,7 +147,7 @@ partial void ProcessChatsDeleteResponseContent( PrepareChatsDeleteRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - chatId: chatId!); + chatId: chatId); return __httpRequest; } @@ -169,7 +169,7 @@ partial void ProcessChatsDeleteResponseContent( pathTemplate: "$\"/chats/{chatId}\"", httpMethod: "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, @@ -203,7 +203,7 @@ partial void ProcessChatsDeleteResponseContent( pathTemplate: "$\"/chats/{chatId}\"", httpMethod: "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, @@ -244,7 +244,7 @@ partial void ProcessChatsDeleteResponseContent( pathTemplate: "$\"/chats/{chatId}\"", httpMethod: "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, @@ -292,7 +292,7 @@ partial void ProcessChatsDeleteResponseContent( pathTemplate: "$\"/chats/{chatId}\"", httpMethod: "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, @@ -314,7 +314,7 @@ partial void ProcessChatsDeleteResponseContent( pathTemplate: "$\"/chats/{chatId}\"", httpMethod: "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/V0/Generated/V0.ChatsClient.ChatsDeleteVersionFiles.g.cs b/src/libs/V0/Generated/V0.ChatsClient.ChatsDeleteVersionFiles.g.cs index 33349d8..32ca244 100644 --- a/src/libs/V0/Generated/V0.ChatsClient.ChatsDeleteVersionFiles.g.cs +++ b/src/libs/V0/Generated/V0.ChatsClient.ChatsDeleteVersionFiles.g.cs @@ -174,8 +174,8 @@ partial void ProcessChatsDeleteVersionFilesResponseContent( PrepareChatsDeleteVersionFilesRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - chatId: chatId!, - versionId: versionId!, + chatId: chatId, + versionId: versionId, request: request); return __httpRequest; @@ -198,7 +198,7 @@ partial void ProcessChatsDeleteVersionFilesResponseContent( pathTemplate: "$\"/chats/{chatId}/versions/{versionId}/files/delete\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -232,7 +232,7 @@ partial void ProcessChatsDeleteVersionFilesResponseContent( pathTemplate: "$\"/chats/{chatId}/versions/{versionId}/files/delete\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -273,7 +273,7 @@ partial void ProcessChatsDeleteVersionFilesResponseContent( pathTemplate: "$\"/chats/{chatId}/versions/{versionId}/files/delete\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -321,7 +321,7 @@ partial void ProcessChatsDeleteVersionFilesResponseContent( pathTemplate: "$\"/chats/{chatId}/versions/{versionId}/files/delete\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -343,7 +343,7 @@ partial void ProcessChatsDeleteVersionFilesResponseContent( pathTemplate: "$\"/chats/{chatId}/versions/{versionId}/files/delete\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/V0/Generated/V0.ChatsClient.ChatsDownloadVersion.g.cs b/src/libs/V0/Generated/V0.ChatsClient.ChatsDownloadVersion.g.cs index de2b7e3..8852f92 100644 --- a/src/libs/V0/Generated/V0.ChatsClient.ChatsDownloadVersion.g.cs +++ b/src/libs/V0/Generated/V0.ChatsClient.ChatsDownloadVersion.g.cs @@ -185,8 +185,8 @@ partial void ProcessChatsDownloadVersionResponseContent( PrepareChatsDownloadVersionRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - chatId: chatId!, - versionId: versionId!, + chatId: chatId, + versionId: versionId, format: format, includeDefaultFiles: includeDefaultFiles); @@ -210,7 +210,7 @@ partial void ProcessChatsDownloadVersionResponseContent( pathTemplate: "$\"/chats/{chatId}/versions/{versionId}/download\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessChatsDownloadVersionResponseContent( pathTemplate: "$\"/chats/{chatId}/versions/{versionId}/download\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessChatsDownloadVersionResponseContent( pathTemplate: "$\"/chats/{chatId}/versions/{versionId}/download\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessChatsDownloadVersionResponseContent( pathTemplate: "$\"/chats/{chatId}/versions/{versionId}/download\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessChatsDownloadVersionResponseContent( pathTemplate: "$\"/chats/{chatId}/versions/{versionId}/download\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -817,8 +817,8 @@ partial void ProcessChatsDownloadVersionResponseContent( PrepareChatsDownloadVersionRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - chatId: chatId!, - versionId: versionId!, + chatId: chatId, + versionId: versionId, format: format, includeDefaultFiles: includeDefaultFiles); @@ -842,7 +842,7 @@ partial void ProcessChatsDownloadVersionResponseContent( pathTemplate: "$\"/chats/{chatId}/versions/{versionId}/download\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -876,7 +876,7 @@ partial void ProcessChatsDownloadVersionResponseContent( pathTemplate: "$\"/chats/{chatId}/versions/{versionId}/download\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -917,7 +917,7 @@ partial void ProcessChatsDownloadVersionResponseContent( pathTemplate: "$\"/chats/{chatId}/versions/{versionId}/download\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -965,7 +965,7 @@ partial void ProcessChatsDownloadVersionResponseContent( pathTemplate: "$\"/chats/{chatId}/versions/{versionId}/download\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -987,7 +987,7 @@ partial void ProcessChatsDownloadVersionResponseContent( pathTemplate: "$\"/chats/{chatId}/versions/{versionId}/download\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/V0/Generated/V0.ChatsClient.ChatsFavorite.g.cs b/src/libs/V0/Generated/V0.ChatsClient.ChatsFavorite.g.cs index 9217821..f242ea9 100644 --- a/src/libs/V0/Generated/V0.ChatsClient.ChatsFavorite.g.cs +++ b/src/libs/V0/Generated/V0.ChatsClient.ChatsFavorite.g.cs @@ -166,7 +166,7 @@ partial void ProcessChatsFavoriteResponseContent( PrepareChatsFavoriteRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - chatId: chatId!, + chatId: chatId, request: request); return __httpRequest; @@ -189,7 +189,7 @@ partial void ProcessChatsFavoriteResponseContent( pathTemplate: "$\"/chats/{chatId}/favorite\"", 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, @@ -223,7 +223,7 @@ partial void ProcessChatsFavoriteResponseContent( pathTemplate: "$\"/chats/{chatId}/favorite\"", 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, @@ -264,7 +264,7 @@ partial void ProcessChatsFavoriteResponseContent( pathTemplate: "$\"/chats/{chatId}/favorite\"", 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, @@ -312,7 +312,7 @@ partial void ProcessChatsFavoriteResponseContent( pathTemplate: "$\"/chats/{chatId}/favorite\"", 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, @@ -334,7 +334,7 @@ partial void ProcessChatsFavoriteResponseContent( pathTemplate: "$\"/chats/{chatId}/favorite\"", 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/V0/Generated/V0.ChatsClient.ChatsFind.g.cs b/src/libs/V0/Generated/V0.ChatsClient.ChatsFind.g.cs index dcc9f15..3a2cf2b 100644 --- a/src/libs/V0/Generated/V0.ChatsClient.ChatsFind.g.cs +++ b/src/libs/V0/Generated/V0.ChatsClient.ChatsFind.g.cs @@ -254,7 +254,7 @@ partial void ProcessChatsFindResponseContent( pathTemplate: "\"/chats\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessChatsFindResponseContent( pathTemplate: "\"/chats\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessChatsFindResponseContent( pathTemplate: "\"/chats\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessChatsFindResponseContent( pathTemplate: "\"/chats\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessChatsFindResponseContent( pathTemplate: "\"/chats\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/V0/Generated/V0.ChatsClient.ChatsFindMessages.g.cs b/src/libs/V0/Generated/V0.ChatsClient.ChatsFindMessages.g.cs index 964c0b5..2bedf17 100644 --- a/src/libs/V0/Generated/V0.ChatsClient.ChatsFindMessages.g.cs +++ b/src/libs/V0/Generated/V0.ChatsClient.ChatsFindMessages.g.cs @@ -177,7 +177,7 @@ partial void ProcessChatsFindMessagesResponseContent( PrepareChatsFindMessagesRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - chatId: chatId!, + chatId: chatId, limit: limit, cursor: cursor); @@ -201,7 +201,7 @@ partial void ProcessChatsFindMessagesResponseContent( pathTemplate: "$\"/chats/{chatId}/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, @@ -235,7 +235,7 @@ partial void ProcessChatsFindMessagesResponseContent( pathTemplate: "$\"/chats/{chatId}/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, @@ -276,7 +276,7 @@ partial void ProcessChatsFindMessagesResponseContent( pathTemplate: "$\"/chats/{chatId}/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, @@ -324,7 +324,7 @@ partial void ProcessChatsFindMessagesResponseContent( pathTemplate: "$\"/chats/{chatId}/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, @@ -346,7 +346,7 @@ partial void ProcessChatsFindMessagesResponseContent( pathTemplate: "$\"/chats/{chatId}/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/V0/Generated/V0.ChatsClient.ChatsFindVersions.g.cs b/src/libs/V0/Generated/V0.ChatsClient.ChatsFindVersions.g.cs index df3878a..f7c6c6a 100644 --- a/src/libs/V0/Generated/V0.ChatsClient.ChatsFindVersions.g.cs +++ b/src/libs/V0/Generated/V0.ChatsClient.ChatsFindVersions.g.cs @@ -177,7 +177,7 @@ partial void ProcessChatsFindVersionsResponseContent( PrepareChatsFindVersionsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - chatId: chatId!, + chatId: chatId, limit: limit, cursor: cursor); @@ -201,7 +201,7 @@ partial void ProcessChatsFindVersionsResponseContent( pathTemplate: "$\"/chats/{chatId}/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, @@ -235,7 +235,7 @@ partial void ProcessChatsFindVersionsResponseContent( pathTemplate: "$\"/chats/{chatId}/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, @@ -276,7 +276,7 @@ partial void ProcessChatsFindVersionsResponseContent( pathTemplate: "$\"/chats/{chatId}/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, @@ -324,7 +324,7 @@ partial void ProcessChatsFindVersionsResponseContent( pathTemplate: "$\"/chats/{chatId}/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, @@ -346,7 +346,7 @@ partial void ProcessChatsFindVersionsResponseContent( pathTemplate: "$\"/chats/{chatId}/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/V0/Generated/V0.ChatsClient.ChatsFork.g.cs b/src/libs/V0/Generated/V0.ChatsClient.ChatsFork.g.cs index e30ede5..a3b60d4 100644 --- a/src/libs/V0/Generated/V0.ChatsClient.ChatsFork.g.cs +++ b/src/libs/V0/Generated/V0.ChatsClient.ChatsFork.g.cs @@ -166,7 +166,7 @@ partial void ProcessChatsForkResponseContent( PrepareChatsForkRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - chatId: chatId!, + chatId: chatId, request: request); return __httpRequest; @@ -189,7 +189,7 @@ partial void ProcessChatsForkResponseContent( pathTemplate: "$\"/chats/{chatId}/fork\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -223,7 +223,7 @@ partial void ProcessChatsForkResponseContent( pathTemplate: "$\"/chats/{chatId}/fork\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -264,7 +264,7 @@ partial void ProcessChatsForkResponseContent( pathTemplate: "$\"/chats/{chatId}/fork\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -312,7 +312,7 @@ partial void ProcessChatsForkResponseContent( pathTemplate: "$\"/chats/{chatId}/fork\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessChatsForkResponseContent( pathTemplate: "$\"/chats/{chatId}/fork\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/V0/Generated/V0.ChatsClient.ChatsGetById.g.cs b/src/libs/V0/Generated/V0.ChatsClient.ChatsGetById.g.cs index 8216a67..8dd2b0c 100644 --- a/src/libs/V0/Generated/V0.ChatsClient.ChatsGetById.g.cs +++ b/src/libs/V0/Generated/V0.ChatsClient.ChatsGetById.g.cs @@ -147,7 +147,7 @@ partial void ProcessChatsGetByIdResponseContent( PrepareChatsGetByIdRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - chatId: chatId!); + chatId: chatId); return __httpRequest; } @@ -169,7 +169,7 @@ partial void ProcessChatsGetByIdResponseContent( pathTemplate: "$\"/chats/{chatId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -203,7 +203,7 @@ partial void ProcessChatsGetByIdResponseContent( pathTemplate: "$\"/chats/{chatId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -244,7 +244,7 @@ partial void ProcessChatsGetByIdResponseContent( pathTemplate: "$\"/chats/{chatId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -292,7 +292,7 @@ partial void ProcessChatsGetByIdResponseContent( pathTemplate: "$\"/chats/{chatId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessChatsGetByIdResponseContent( pathTemplate: "$\"/chats/{chatId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/V0/Generated/V0.ChatsClient.ChatsGetMessage.g.cs b/src/libs/V0/Generated/V0.ChatsClient.ChatsGetMessage.g.cs index 86565e4..38cb6c0 100644 --- a/src/libs/V0/Generated/V0.ChatsClient.ChatsGetMessage.g.cs +++ b/src/libs/V0/Generated/V0.ChatsClient.ChatsGetMessage.g.cs @@ -155,8 +155,8 @@ partial void ProcessChatsGetMessageResponseContent( PrepareChatsGetMessageRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - chatId: chatId!, - messageId: messageId!); + chatId: chatId, + messageId: messageId); return __httpRequest; } @@ -178,7 +178,7 @@ partial void ProcessChatsGetMessageResponseContent( pathTemplate: "$\"/chats/{chatId}/messages/{messageId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -212,7 +212,7 @@ partial void ProcessChatsGetMessageResponseContent( pathTemplate: "$\"/chats/{chatId}/messages/{messageId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -253,7 +253,7 @@ partial void ProcessChatsGetMessageResponseContent( pathTemplate: "$\"/chats/{chatId}/messages/{messageId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -301,7 +301,7 @@ partial void ProcessChatsGetMessageResponseContent( pathTemplate: "$\"/chats/{chatId}/messages/{messageId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessChatsGetMessageResponseContent( pathTemplate: "$\"/chats/{chatId}/messages/{messageId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/V0/Generated/V0.ChatsClient.ChatsGetVersion.g.cs b/src/libs/V0/Generated/V0.ChatsClient.ChatsGetVersion.g.cs index 92e30cc..69eed4d 100644 --- a/src/libs/V0/Generated/V0.ChatsClient.ChatsGetVersion.g.cs +++ b/src/libs/V0/Generated/V0.ChatsClient.ChatsGetVersion.g.cs @@ -170,8 +170,8 @@ partial void ProcessChatsGetVersionResponseContent( PrepareChatsGetVersionRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - chatId: chatId!, - versionId: versionId!, + chatId: chatId, + versionId: versionId, includeDefaultFiles: includeDefaultFiles); return __httpRequest; @@ -194,7 +194,7 @@ partial void ProcessChatsGetVersionResponseContent( pathTemplate: "$\"/chats/{chatId}/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, @@ -228,7 +228,7 @@ partial void ProcessChatsGetVersionResponseContent( pathTemplate: "$\"/chats/{chatId}/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, @@ -269,7 +269,7 @@ partial void ProcessChatsGetVersionResponseContent( pathTemplate: "$\"/chats/{chatId}/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, @@ -317,7 +317,7 @@ partial void ProcessChatsGetVersionResponseContent( pathTemplate: "$\"/chats/{chatId}/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, @@ -339,7 +339,7 @@ partial void ProcessChatsGetVersionResponseContent( pathTemplate: "$\"/chats/{chatId}/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/V0/Generated/V0.ChatsClient.ChatsInit.g.cs b/src/libs/V0/Generated/V0.ChatsClient.ChatsInit.g.cs index fd70fd9..9e5e17f 100644 --- a/src/libs/V0/Generated/V0.ChatsClient.ChatsInit.g.cs +++ b/src/libs/V0/Generated/V0.ChatsClient.ChatsInit.g.cs @@ -178,7 +178,7 @@ partial void ProcessChatsInitResponseContent( pathTemplate: "\"/chats/init\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -212,7 +212,7 @@ partial void ProcessChatsInitResponseContent( pathTemplate: "\"/chats/init\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -253,7 +253,7 @@ partial void ProcessChatsInitResponseContent( pathTemplate: "\"/chats/init\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -301,7 +301,7 @@ partial void ProcessChatsInitResponseContent( pathTemplate: "\"/chats/init\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessChatsInitResponseContent( pathTemplate: "\"/chats/init\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/V0/Generated/V0.ChatsClient.ChatsResolveTask.g.cs b/src/libs/V0/Generated/V0.ChatsClient.ChatsResolveTask.g.cs index 6710e8f..0a6ad6a 100644 --- a/src/libs/V0/Generated/V0.ChatsClient.ChatsResolveTask.g.cs +++ b/src/libs/V0/Generated/V0.ChatsClient.ChatsResolveTask.g.cs @@ -166,7 +166,7 @@ partial void ProcessChatsResolveTaskResponseContent( PrepareChatsResolveTaskRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - chatId: chatId!, + chatId: chatId, request: request); return __httpRequest; @@ -189,7 +189,7 @@ partial void ProcessChatsResolveTaskResponseContent( pathTemplate: "$\"/chats/{chatId}/tasks/resolve\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -223,7 +223,7 @@ partial void ProcessChatsResolveTaskResponseContent( pathTemplate: "$\"/chats/{chatId}/tasks/resolve\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -264,7 +264,7 @@ partial void ProcessChatsResolveTaskResponseContent( pathTemplate: "$\"/chats/{chatId}/tasks/resolve\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -312,7 +312,7 @@ partial void ProcessChatsResolveTaskResponseContent( pathTemplate: "$\"/chats/{chatId}/tasks/resolve\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessChatsResolveTaskResponseContent( pathTemplate: "$\"/chats/{chatId}/tasks/resolve\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/V0/Generated/V0.ChatsClient.ChatsRestore.g.cs b/src/libs/V0/Generated/V0.ChatsClient.ChatsRestore.g.cs index 6775ed4..711963a 100644 --- a/src/libs/V0/Generated/V0.ChatsClient.ChatsRestore.g.cs +++ b/src/libs/V0/Generated/V0.ChatsClient.ChatsRestore.g.cs @@ -155,8 +155,8 @@ partial void ProcessChatsRestoreResponseContent( PrepareChatsRestoreRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - chatId: chatId!, - versionId: versionId!); + chatId: chatId, + versionId: versionId); return __httpRequest; } @@ -178,7 +178,7 @@ partial void ProcessChatsRestoreResponseContent( pathTemplate: "$\"/chats/{chatId}/versions/{versionId}/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, @@ -212,7 +212,7 @@ partial void ProcessChatsRestoreResponseContent( pathTemplate: "$\"/chats/{chatId}/versions/{versionId}/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, @@ -253,7 +253,7 @@ partial void ProcessChatsRestoreResponseContent( pathTemplate: "$\"/chats/{chatId}/versions/{versionId}/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, @@ -301,7 +301,7 @@ partial void ProcessChatsRestoreResponseContent( pathTemplate: "$\"/chats/{chatId}/versions/{versionId}/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, @@ -323,7 +323,7 @@ partial void ProcessChatsRestoreResponseContent( pathTemplate: "$\"/chats/{chatId}/versions/{versionId}/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/V0/Generated/V0.ChatsClient.ChatsResume.g.cs b/src/libs/V0/Generated/V0.ChatsClient.ChatsResume.g.cs index efa0e5c..302e79a 100644 --- a/src/libs/V0/Generated/V0.ChatsClient.ChatsResume.g.cs +++ b/src/libs/V0/Generated/V0.ChatsClient.ChatsResume.g.cs @@ -126,8 +126,8 @@ partial void ProcessChatsResumeResponse( PrepareChatsResumeRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - chatId: chatId!, - messageId: messageId!); + chatId: chatId, + messageId: messageId); return __httpRequest; } @@ -149,7 +149,7 @@ partial void ProcessChatsResumeResponse( pathTemplate: "$\"/chats/{chatId}/messages/{messageId}/resume\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -183,7 +183,7 @@ partial void ProcessChatsResumeResponse( pathTemplate: "$\"/chats/{chatId}/messages/{messageId}/resume\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -224,7 +224,7 @@ partial void ProcessChatsResumeResponse( pathTemplate: "$\"/chats/{chatId}/messages/{messageId}/resume\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -272,7 +272,7 @@ partial void ProcessChatsResumeResponse( pathTemplate: "$\"/chats/{chatId}/messages/{messageId}/resume\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -294,7 +294,7 @@ partial void ProcessChatsResumeResponse( pathTemplate: "$\"/chats/{chatId}/messages/{messageId}/resume\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/V0/Generated/V0.ChatsClient.ChatsSendMessage.g.cs b/src/libs/V0/Generated/V0.ChatsClient.ChatsSendMessage.g.cs index 4ba1a84..900fe9f 100644 --- a/src/libs/V0/Generated/V0.ChatsClient.ChatsSendMessage.g.cs +++ b/src/libs/V0/Generated/V0.ChatsClient.ChatsSendMessage.g.cs @@ -166,7 +166,7 @@ partial void ProcessChatsSendMessageResponseContent( PrepareChatsSendMessageRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - chatId: chatId!, + chatId: chatId, request: request); return __httpRequest; @@ -189,7 +189,7 @@ partial void ProcessChatsSendMessageResponseContent( pathTemplate: "$\"/chats/{chatId}/messages\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -223,7 +223,7 @@ partial void ProcessChatsSendMessageResponseContent( pathTemplate: "$\"/chats/{chatId}/messages\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -264,7 +264,7 @@ partial void ProcessChatsSendMessageResponseContent( pathTemplate: "$\"/chats/{chatId}/messages\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -312,7 +312,7 @@ partial void ProcessChatsSendMessageResponseContent( pathTemplate: "$\"/chats/{chatId}/messages\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessChatsSendMessageResponseContent( pathTemplate: "$\"/chats/{chatId}/messages\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/V0/Generated/V0.ChatsClient.ChatsStop.g.cs b/src/libs/V0/Generated/V0.ChatsClient.ChatsStop.g.cs index 6530292..303bbfa 100644 --- a/src/libs/V0/Generated/V0.ChatsClient.ChatsStop.g.cs +++ b/src/libs/V0/Generated/V0.ChatsClient.ChatsStop.g.cs @@ -155,8 +155,8 @@ partial void ProcessChatsStopResponseContent( PrepareChatsStopRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - chatId: chatId!, - messageId: messageId!); + chatId: chatId, + messageId: messageId); return __httpRequest; } @@ -178,7 +178,7 @@ partial void ProcessChatsStopResponseContent( pathTemplate: "$\"/chats/{chatId}/messages/{messageId}/stop\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -212,7 +212,7 @@ partial void ProcessChatsStopResponseContent( pathTemplate: "$\"/chats/{chatId}/messages/{messageId}/stop\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -253,7 +253,7 @@ partial void ProcessChatsStopResponseContent( pathTemplate: "$\"/chats/{chatId}/messages/{messageId}/stop\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -301,7 +301,7 @@ partial void ProcessChatsStopResponseContent( pathTemplate: "$\"/chats/{chatId}/messages/{messageId}/stop\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessChatsStopResponseContent( pathTemplate: "$\"/chats/{chatId}/messages/{messageId}/stop\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/V0/Generated/V0.ChatsClient.ChatsUpdate.g.cs b/src/libs/V0/Generated/V0.ChatsClient.ChatsUpdate.g.cs index ec2ebed..43ee61a 100644 --- a/src/libs/V0/Generated/V0.ChatsClient.ChatsUpdate.g.cs +++ b/src/libs/V0/Generated/V0.ChatsClient.ChatsUpdate.g.cs @@ -166,7 +166,7 @@ partial void ProcessChatsUpdateResponseContent( PrepareChatsUpdateRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - chatId: chatId!, + chatId: chatId, request: request); return __httpRequest; @@ -189,7 +189,7 @@ partial void ProcessChatsUpdateResponseContent( pathTemplate: "$\"/chats/{chatId}\"", 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, @@ -223,7 +223,7 @@ partial void ProcessChatsUpdateResponseContent( pathTemplate: "$\"/chats/{chatId}\"", 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, @@ -264,7 +264,7 @@ partial void ProcessChatsUpdateResponseContent( pathTemplate: "$\"/chats/{chatId}\"", 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, @@ -312,7 +312,7 @@ partial void ProcessChatsUpdateResponseContent( pathTemplate: "$\"/chats/{chatId}\"", 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, @@ -334,7 +334,7 @@ partial void ProcessChatsUpdateResponseContent( pathTemplate: "$\"/chats/{chatId}\"", 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/V0/Generated/V0.ChatsClient.ChatsUpdateVersion.g.cs b/src/libs/V0/Generated/V0.ChatsClient.ChatsUpdateVersion.g.cs index 071f3a4..f1cdba1 100644 --- a/src/libs/V0/Generated/V0.ChatsClient.ChatsUpdateVersion.g.cs +++ b/src/libs/V0/Generated/V0.ChatsClient.ChatsUpdateVersion.g.cs @@ -174,8 +174,8 @@ partial void ProcessChatsUpdateVersionResponseContent( PrepareChatsUpdateVersionRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - chatId: chatId!, - versionId: versionId!, + chatId: chatId, + versionId: versionId, request: request); return __httpRequest; @@ -198,7 +198,7 @@ partial void ProcessChatsUpdateVersionResponseContent( pathTemplate: "$\"/chats/{chatId}/versions/{versionId}\"", 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, @@ -232,7 +232,7 @@ partial void ProcessChatsUpdateVersionResponseContent( pathTemplate: "$\"/chats/{chatId}/versions/{versionId}\"", 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, @@ -273,7 +273,7 @@ partial void ProcessChatsUpdateVersionResponseContent( pathTemplate: "$\"/chats/{chatId}/versions/{versionId}\"", 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, @@ -321,7 +321,7 @@ partial void ProcessChatsUpdateVersionResponseContent( pathTemplate: "$\"/chats/{chatId}/versions/{versionId}\"", 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, @@ -343,7 +343,7 @@ partial void ProcessChatsUpdateVersionResponseContent( pathTemplate: "$\"/chats/{chatId}/versions/{versionId}\"", 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/V0/Generated/V0.DeploymentsClient.DeploymentsCreate.g.cs b/src/libs/V0/Generated/V0.DeploymentsClient.DeploymentsCreate.g.cs index 1da5300..e3d3804 100644 --- a/src/libs/V0/Generated/V0.DeploymentsClient.DeploymentsCreate.g.cs +++ b/src/libs/V0/Generated/V0.DeploymentsClient.DeploymentsCreate.g.cs @@ -180,7 +180,7 @@ partial void ProcessDeploymentsCreateResponseContent( pathTemplate: "\"/deployments\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -214,7 +214,7 @@ partial void ProcessDeploymentsCreateResponseContent( pathTemplate: "\"/deployments\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -255,7 +255,7 @@ partial void ProcessDeploymentsCreateResponseContent( pathTemplate: "\"/deployments\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -303,7 +303,7 @@ partial void ProcessDeploymentsCreateResponseContent( pathTemplate: "\"/deployments\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessDeploymentsCreateResponseContent( pathTemplate: "\"/deployments\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/V0/Generated/V0.DeploymentsClient.DeploymentsDelete.g.cs b/src/libs/V0/Generated/V0.DeploymentsClient.DeploymentsDelete.g.cs index 21af501..a7c66a6 100644 --- a/src/libs/V0/Generated/V0.DeploymentsClient.DeploymentsDelete.g.cs +++ b/src/libs/V0/Generated/V0.DeploymentsClient.DeploymentsDelete.g.cs @@ -147,7 +147,7 @@ partial void ProcessDeploymentsDeleteResponseContent( PrepareDeploymentsDeleteRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - deploymentId: deploymentId!); + deploymentId: deploymentId); return __httpRequest; } @@ -169,7 +169,7 @@ partial void ProcessDeploymentsDeleteResponseContent( pathTemplate: "$\"/deployments/{deploymentId}\"", httpMethod: "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, @@ -203,7 +203,7 @@ partial void ProcessDeploymentsDeleteResponseContent( pathTemplate: "$\"/deployments/{deploymentId}\"", httpMethod: "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, @@ -244,7 +244,7 @@ partial void ProcessDeploymentsDeleteResponseContent( pathTemplate: "$\"/deployments/{deploymentId}\"", httpMethod: "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, @@ -292,7 +292,7 @@ partial void ProcessDeploymentsDeleteResponseContent( pathTemplate: "$\"/deployments/{deploymentId}\"", httpMethod: "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, @@ -314,7 +314,7 @@ partial void ProcessDeploymentsDeleteResponseContent( pathTemplate: "$\"/deployments/{deploymentId}\"", httpMethod: "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/V0/Generated/V0.DeploymentsClient.DeploymentsFind.g.cs b/src/libs/V0/Generated/V0.DeploymentsClient.DeploymentsFind.g.cs index cfb77c3..833136e 100644 --- a/src/libs/V0/Generated/V0.DeploymentsClient.DeploymentsFind.g.cs +++ b/src/libs/V0/Generated/V0.DeploymentsClient.DeploymentsFind.g.cs @@ -181,8 +181,8 @@ partial void ProcessDeploymentsFindResponseContent( httpClient: HttpClient, httpRequestMessage: __httpRequest, projectId: projectId, - chatId: chatId!, - versionId: versionId!); + chatId: chatId, + versionId: versionId); return __httpRequest; } @@ -204,7 +204,7 @@ partial void ProcessDeploymentsFindResponseContent( pathTemplate: "\"/deployments\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessDeploymentsFindResponseContent( pathTemplate: "\"/deployments\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessDeploymentsFindResponseContent( pathTemplate: "\"/deployments\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessDeploymentsFindResponseContent( pathTemplate: "\"/deployments\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessDeploymentsFindResponseContent( pathTemplate: "\"/deployments\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/V0/Generated/V0.DeploymentsClient.DeploymentsFindErrors.g.cs b/src/libs/V0/Generated/V0.DeploymentsClient.DeploymentsFindErrors.g.cs index 3421b8a..74d77b9 100644 --- a/src/libs/V0/Generated/V0.DeploymentsClient.DeploymentsFindErrors.g.cs +++ b/src/libs/V0/Generated/V0.DeploymentsClient.DeploymentsFindErrors.g.cs @@ -147,7 +147,7 @@ partial void ProcessDeploymentsFindErrorsResponseContent( PrepareDeploymentsFindErrorsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - deploymentId: deploymentId!); + deploymentId: deploymentId); return __httpRequest; } @@ -169,7 +169,7 @@ partial void ProcessDeploymentsFindErrorsResponseContent( pathTemplate: "$\"/deployments/{deploymentId}/errors\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -203,7 +203,7 @@ partial void ProcessDeploymentsFindErrorsResponseContent( pathTemplate: "$\"/deployments/{deploymentId}/errors\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -244,7 +244,7 @@ partial void ProcessDeploymentsFindErrorsResponseContent( pathTemplate: "$\"/deployments/{deploymentId}/errors\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -292,7 +292,7 @@ partial void ProcessDeploymentsFindErrorsResponseContent( pathTemplate: "$\"/deployments/{deploymentId}/errors\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessDeploymentsFindErrorsResponseContent( pathTemplate: "$\"/deployments/{deploymentId}/errors\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/V0/Generated/V0.DeploymentsClient.DeploymentsFindLogs.g.cs b/src/libs/V0/Generated/V0.DeploymentsClient.DeploymentsFindLogs.g.cs index 28e592b..8445019 100644 --- a/src/libs/V0/Generated/V0.DeploymentsClient.DeploymentsFindLogs.g.cs +++ b/src/libs/V0/Generated/V0.DeploymentsClient.DeploymentsFindLogs.g.cs @@ -162,7 +162,7 @@ partial void ProcessDeploymentsFindLogsResponseContent( PrepareDeploymentsFindLogsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - deploymentId: deploymentId!, + deploymentId: deploymentId, since: since); return __httpRequest; @@ -185,7 +185,7 @@ partial void ProcessDeploymentsFindLogsResponseContent( pathTemplate: "$\"/deployments/{deploymentId}/logs\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -219,7 +219,7 @@ partial void ProcessDeploymentsFindLogsResponseContent( pathTemplate: "$\"/deployments/{deploymentId}/logs\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -260,7 +260,7 @@ partial void ProcessDeploymentsFindLogsResponseContent( pathTemplate: "$\"/deployments/{deploymentId}/logs\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -308,7 +308,7 @@ partial void ProcessDeploymentsFindLogsResponseContent( pathTemplate: "$\"/deployments/{deploymentId}/logs\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessDeploymentsFindLogsResponseContent( pathTemplate: "$\"/deployments/{deploymentId}/logs\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/V0/Generated/V0.DeploymentsClient.DeploymentsGetById.g.cs b/src/libs/V0/Generated/V0.DeploymentsClient.DeploymentsGetById.g.cs index a0bce84..a41777b 100644 --- a/src/libs/V0/Generated/V0.DeploymentsClient.DeploymentsGetById.g.cs +++ b/src/libs/V0/Generated/V0.DeploymentsClient.DeploymentsGetById.g.cs @@ -147,7 +147,7 @@ partial void ProcessDeploymentsGetByIdResponseContent( PrepareDeploymentsGetByIdRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - deploymentId: deploymentId!); + deploymentId: deploymentId); return __httpRequest; } @@ -169,7 +169,7 @@ partial void ProcessDeploymentsGetByIdResponseContent( pathTemplate: "$\"/deployments/{deploymentId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -203,7 +203,7 @@ partial void ProcessDeploymentsGetByIdResponseContent( pathTemplate: "$\"/deployments/{deploymentId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -244,7 +244,7 @@ partial void ProcessDeploymentsGetByIdResponseContent( pathTemplate: "$\"/deployments/{deploymentId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -292,7 +292,7 @@ partial void ProcessDeploymentsGetByIdResponseContent( pathTemplate: "$\"/deployments/{deploymentId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessDeploymentsGetByIdResponseContent( pathTemplate: "$\"/deployments/{deploymentId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/V0/Generated/V0.HooksClient.HooksCreate.g.cs b/src/libs/V0/Generated/V0.HooksClient.HooksCreate.g.cs index 0d8c048..d0037d6 100644 --- a/src/libs/V0/Generated/V0.HooksClient.HooksCreate.g.cs +++ b/src/libs/V0/Generated/V0.HooksClient.HooksCreate.g.cs @@ -180,7 +180,7 @@ partial void ProcessHooksCreateResponseContent( pathTemplate: "\"/hooks\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -214,7 +214,7 @@ partial void ProcessHooksCreateResponseContent( pathTemplate: "\"/hooks\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -255,7 +255,7 @@ partial void ProcessHooksCreateResponseContent( pathTemplate: "\"/hooks\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -303,7 +303,7 @@ partial void ProcessHooksCreateResponseContent( pathTemplate: "\"/hooks\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessHooksCreateResponseContent( pathTemplate: "\"/hooks\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/V0/Generated/V0.HooksClient.HooksDelete.g.cs b/src/libs/V0/Generated/V0.HooksClient.HooksDelete.g.cs index afcb7cb..0cddf4d 100644 --- a/src/libs/V0/Generated/V0.HooksClient.HooksDelete.g.cs +++ b/src/libs/V0/Generated/V0.HooksClient.HooksDelete.g.cs @@ -147,7 +147,7 @@ partial void ProcessHooksDeleteResponseContent( PrepareHooksDeleteRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - hookId: hookId!); + hookId: hookId); return __httpRequest; } @@ -169,7 +169,7 @@ partial void ProcessHooksDeleteResponseContent( pathTemplate: "$\"/hooks/{hookId}\"", httpMethod: "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, @@ -203,7 +203,7 @@ partial void ProcessHooksDeleteResponseContent( pathTemplate: "$\"/hooks/{hookId}\"", httpMethod: "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, @@ -244,7 +244,7 @@ partial void ProcessHooksDeleteResponseContent( pathTemplate: "$\"/hooks/{hookId}\"", httpMethod: "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, @@ -292,7 +292,7 @@ partial void ProcessHooksDeleteResponseContent( pathTemplate: "$\"/hooks/{hookId}\"", httpMethod: "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, @@ -314,7 +314,7 @@ partial void ProcessHooksDeleteResponseContent( pathTemplate: "$\"/hooks/{hookId}\"", httpMethod: "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/V0/Generated/V0.HooksClient.HooksFind.g.cs b/src/libs/V0/Generated/V0.HooksClient.HooksFind.g.cs index c6f3ce9..c85e5db 100644 --- a/src/libs/V0/Generated/V0.HooksClient.HooksFind.g.cs +++ b/src/libs/V0/Generated/V0.HooksClient.HooksFind.g.cs @@ -160,7 +160,7 @@ partial void ProcessHooksFindResponseContent( pathTemplate: "\"/hooks\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -194,7 +194,7 @@ partial void ProcessHooksFindResponseContent( pathTemplate: "\"/hooks\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -235,7 +235,7 @@ partial void ProcessHooksFindResponseContent( pathTemplate: "\"/hooks\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -283,7 +283,7 @@ partial void ProcessHooksFindResponseContent( pathTemplate: "\"/hooks\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -305,7 +305,7 @@ partial void ProcessHooksFindResponseContent( pathTemplate: "\"/hooks\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/V0/Generated/V0.HooksClient.HooksGetById.g.cs b/src/libs/V0/Generated/V0.HooksClient.HooksGetById.g.cs index a1726ff..188d8bb 100644 --- a/src/libs/V0/Generated/V0.HooksClient.HooksGetById.g.cs +++ b/src/libs/V0/Generated/V0.HooksClient.HooksGetById.g.cs @@ -147,7 +147,7 @@ partial void ProcessHooksGetByIdResponseContent( PrepareHooksGetByIdRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - hookId: hookId!); + hookId: hookId); return __httpRequest; } @@ -169,7 +169,7 @@ partial void ProcessHooksGetByIdResponseContent( pathTemplate: "$\"/hooks/{hookId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -203,7 +203,7 @@ partial void ProcessHooksGetByIdResponseContent( pathTemplate: "$\"/hooks/{hookId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -244,7 +244,7 @@ partial void ProcessHooksGetByIdResponseContent( pathTemplate: "$\"/hooks/{hookId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -292,7 +292,7 @@ partial void ProcessHooksGetByIdResponseContent( pathTemplate: "$\"/hooks/{hookId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessHooksGetByIdResponseContent( pathTemplate: "$\"/hooks/{hookId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/V0/Generated/V0.HooksClient.HooksUpdate.g.cs b/src/libs/V0/Generated/V0.HooksClient.HooksUpdate.g.cs index 03d4565..5764c9b 100644 --- a/src/libs/V0/Generated/V0.HooksClient.HooksUpdate.g.cs +++ b/src/libs/V0/Generated/V0.HooksClient.HooksUpdate.g.cs @@ -166,7 +166,7 @@ partial void ProcessHooksUpdateResponseContent( PrepareHooksUpdateRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - hookId: hookId!, + hookId: hookId, request: request); return __httpRequest; @@ -189,7 +189,7 @@ partial void ProcessHooksUpdateResponseContent( pathTemplate: "$\"/hooks/{hookId}\"", 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, @@ -223,7 +223,7 @@ partial void ProcessHooksUpdateResponseContent( pathTemplate: "$\"/hooks/{hookId}\"", 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, @@ -264,7 +264,7 @@ partial void ProcessHooksUpdateResponseContent( pathTemplate: "$\"/hooks/{hookId}\"", 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, @@ -312,7 +312,7 @@ partial void ProcessHooksUpdateResponseContent( pathTemplate: "$\"/hooks/{hookId}\"", 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, @@ -334,7 +334,7 @@ partial void ProcessHooksUpdateResponseContent( pathTemplate: "$\"/hooks/{hookId}\"", 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/V0/Generated/V0.IntegrationsClient.IntegrationsVercelProjectsCreate.g.cs b/src/libs/V0/Generated/V0.IntegrationsClient.IntegrationsVercelProjectsCreate.g.cs index 466847b..6e7691a 100644 --- a/src/libs/V0/Generated/V0.IntegrationsClient.IntegrationsVercelProjectsCreate.g.cs +++ b/src/libs/V0/Generated/V0.IntegrationsClient.IntegrationsVercelProjectsCreate.g.cs @@ -180,7 +180,7 @@ partial void ProcessIntegrationsVercelProjectsCreateResponseContent( pathTemplate: "\"/integrations/vercel/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, @@ -214,7 +214,7 @@ partial void ProcessIntegrationsVercelProjectsCreateResponseContent( pathTemplate: "\"/integrations/vercel/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, @@ -255,7 +255,7 @@ partial void ProcessIntegrationsVercelProjectsCreateResponseContent( pathTemplate: "\"/integrations/vercel/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, @@ -303,7 +303,7 @@ partial void ProcessIntegrationsVercelProjectsCreateResponseContent( pathTemplate: "\"/integrations/vercel/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, @@ -325,7 +325,7 @@ partial void ProcessIntegrationsVercelProjectsCreateResponseContent( pathTemplate: "\"/integrations/vercel/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/V0/Generated/V0.IntegrationsClient.IntegrationsVercelProjectsFind.g.cs b/src/libs/V0/Generated/V0.IntegrationsClient.IntegrationsVercelProjectsFind.g.cs index 1c9bd67..0fae10d 100644 --- a/src/libs/V0/Generated/V0.IntegrationsClient.IntegrationsVercelProjectsFind.g.cs +++ b/src/libs/V0/Generated/V0.IntegrationsClient.IntegrationsVercelProjectsFind.g.cs @@ -160,7 +160,7 @@ partial void ProcessIntegrationsVercelProjectsFindResponseContent( pathTemplate: "\"/integrations/vercel/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, @@ -194,7 +194,7 @@ partial void ProcessIntegrationsVercelProjectsFindResponseContent( pathTemplate: "\"/integrations/vercel/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, @@ -235,7 +235,7 @@ partial void ProcessIntegrationsVercelProjectsFindResponseContent( pathTemplate: "\"/integrations/vercel/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, @@ -283,7 +283,7 @@ partial void ProcessIntegrationsVercelProjectsFindResponseContent( pathTemplate: "\"/integrations/vercel/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, @@ -305,7 +305,7 @@ partial void ProcessIntegrationsVercelProjectsFindResponseContent( pathTemplate: "\"/integrations/vercel/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/V0/Generated/V0.JsonConverters.AllOf2.g.cs b/src/libs/V0/Generated/V0.JsonConverters.AllOf2.g.cs index e59ad15..e9ef6d6 100644 --- a/src/libs/V0/Generated/V0.JsonConverters.AllOf2.g.cs +++ b/src/libs/V0/Generated/V0.JsonConverters.AllOf2.g.cs @@ -69,7 +69,7 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T1).Name}"); - var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.Value1!, typeInfo); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickValue1(), typeInfo); if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) { throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); @@ -87,7 +87,7 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T2).Name}"); - var __element1 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.Value2!, typeInfo); + var __element1 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickValue2(), typeInfo); if (__element1.ValueKind != global::System.Text.Json.JsonValueKind.Object) { throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); diff --git a/src/libs/V0/Generated/V0.JsonConverters.AnyOf2.g.cs b/src/libs/V0/Generated/V0.JsonConverters.AnyOf2.g.cs index 8995535..2b25a8c 100644 --- a/src/libs/V0/Generated/V0.JsonConverters.AnyOf2.g.cs +++ b/src/libs/V0/Generated/V0.JsonConverters.AnyOf2.g.cs @@ -148,13 +148,13 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T1).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value1!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickValue1(), typeInfo); } else if (value.IsValue2) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value2!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickValue2(), typeInfo); } } } diff --git a/src/libs/V0/Generated/V0.JsonConverters.AnyOf3.g.cs b/src/libs/V0/Generated/V0.JsonConverters.AnyOf3.g.cs index 39e10d8..0ffd609 100644 --- a/src/libs/V0/Generated/V0.JsonConverters.AnyOf3.g.cs +++ b/src/libs/V0/Generated/V0.JsonConverters.AnyOf3.g.cs @@ -197,19 +197,19 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T1).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value1!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickValue1(), typeInfo); } else if (value.IsValue2) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value2!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickValue2(), typeInfo); } else if (value.IsValue3) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T3).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value3!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickValue3(), typeInfo); } } } diff --git a/src/libs/V0/Generated/V0.JsonConverters.AnyOf4.g.cs b/src/libs/V0/Generated/V0.JsonConverters.AnyOf4.g.cs index 3f52104..0979add 100644 --- a/src/libs/V0/Generated/V0.JsonConverters.AnyOf4.g.cs +++ b/src/libs/V0/Generated/V0.JsonConverters.AnyOf4.g.cs @@ -246,25 +246,25 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T1).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value1!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickValue1(), typeInfo); } else if (value.IsValue2) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value2!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickValue2(), typeInfo); } else if (value.IsValue3) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T3).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value3!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickValue3(), typeInfo); } else if (value.IsValue4) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T4), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T4).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value4!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickValue4(), typeInfo); } } } diff --git a/src/libs/V0/Generated/V0.JsonConverters.AnyOf5.g.cs b/src/libs/V0/Generated/V0.JsonConverters.AnyOf5.g.cs index 6e7a28e..675d86b 100644 --- a/src/libs/V0/Generated/V0.JsonConverters.AnyOf5.g.cs +++ b/src/libs/V0/Generated/V0.JsonConverters.AnyOf5.g.cs @@ -295,31 +295,31 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T1).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value1!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickValue1(), typeInfo); } else if (value.IsValue2) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value2!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickValue2(), typeInfo); } else if (value.IsValue3) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T3).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value3!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickValue3(), typeInfo); } else if (value.IsValue4) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T4), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T4).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value4!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickValue4(), typeInfo); } else if (value.IsValue5) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T5), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T5).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value5!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickValue5(), typeInfo); } } } diff --git a/src/libs/V0/Generated/V0.JsonConverters.AnyOf6.g.cs b/src/libs/V0/Generated/V0.JsonConverters.AnyOf6.g.cs index ddb97c1..955577a 100644 --- a/src/libs/V0/Generated/V0.JsonConverters.AnyOf6.g.cs +++ b/src/libs/V0/Generated/V0.JsonConverters.AnyOf6.g.cs @@ -344,37 +344,37 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T1).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value1!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickValue1(), typeInfo); } else if (value.IsValue2) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T2).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value2!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickValue2(), typeInfo); } else if (value.IsValue3) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T3).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value3!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickValue3(), typeInfo); } else if (value.IsValue4) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T4), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T4).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value4!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickValue4(), typeInfo); } else if (value.IsValue5) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T5), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T5).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value5!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickValue5(), typeInfo); } else if (value.IsValue6) { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T6), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T6).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value6!, typeInfo); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickValue6(), typeInfo); } } } diff --git a/src/libs/V0/Generated/V0.McpServersClient.McpServersCreate.g.cs b/src/libs/V0/Generated/V0.McpServersClient.McpServersCreate.g.cs index 1f5f106..d367a27 100644 --- a/src/libs/V0/Generated/V0.McpServersClient.McpServersCreate.g.cs +++ b/src/libs/V0/Generated/V0.McpServersClient.McpServersCreate.g.cs @@ -180,7 +180,7 @@ partial void ProcessMcpServersCreateResponseContent( pathTemplate: "\"/mcp-servers\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -214,7 +214,7 @@ partial void ProcessMcpServersCreateResponseContent( pathTemplate: "\"/mcp-servers\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -255,7 +255,7 @@ partial void ProcessMcpServersCreateResponseContent( pathTemplate: "\"/mcp-servers\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -303,7 +303,7 @@ partial void ProcessMcpServersCreateResponseContent( pathTemplate: "\"/mcp-servers\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessMcpServersCreateResponseContent( pathTemplate: "\"/mcp-servers\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/V0/Generated/V0.McpServersClient.McpServersCreateOAuthAuthorizationUrl.g.cs b/src/libs/V0/Generated/V0.McpServersClient.McpServersCreateOAuthAuthorizationUrl.g.cs index c5a4957..ce26b3d 100644 --- a/src/libs/V0/Generated/V0.McpServersClient.McpServersCreateOAuthAuthorizationUrl.g.cs +++ b/src/libs/V0/Generated/V0.McpServersClient.McpServersCreateOAuthAuthorizationUrl.g.cs @@ -166,7 +166,7 @@ partial void ProcessMcpServersCreateOAuthAuthorizationUrlResponseContent( PrepareMcpServersCreateOAuthAuthorizationUrlRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - mcpServerId: mcpServerId!, + mcpServerId: mcpServerId, request: request); return __httpRequest; @@ -189,7 +189,7 @@ partial void ProcessMcpServersCreateOAuthAuthorizationUrlResponseContent( pathTemplate: "$\"/mcp-servers/{mcpServerId}/oauth/authorize\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -223,7 +223,7 @@ partial void ProcessMcpServersCreateOAuthAuthorizationUrlResponseContent( pathTemplate: "$\"/mcp-servers/{mcpServerId}/oauth/authorize\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -264,7 +264,7 @@ partial void ProcessMcpServersCreateOAuthAuthorizationUrlResponseContent( pathTemplate: "$\"/mcp-servers/{mcpServerId}/oauth/authorize\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -312,7 +312,7 @@ partial void ProcessMcpServersCreateOAuthAuthorizationUrlResponseContent( pathTemplate: "$\"/mcp-servers/{mcpServerId}/oauth/authorize\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessMcpServersCreateOAuthAuthorizationUrlResponseContent( pathTemplate: "$\"/mcp-servers/{mcpServerId}/oauth/authorize\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/V0/Generated/V0.McpServersClient.McpServersDelete.g.cs b/src/libs/V0/Generated/V0.McpServersClient.McpServersDelete.g.cs index 2860075..af4e828 100644 --- a/src/libs/V0/Generated/V0.McpServersClient.McpServersDelete.g.cs +++ b/src/libs/V0/Generated/V0.McpServersClient.McpServersDelete.g.cs @@ -147,7 +147,7 @@ partial void ProcessMcpServersDeleteResponseContent( PrepareMcpServersDeleteRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - mcpServerId: mcpServerId!); + mcpServerId: mcpServerId); return __httpRequest; } @@ -169,7 +169,7 @@ partial void ProcessMcpServersDeleteResponseContent( pathTemplate: "$\"/mcp-servers/{mcpServerId}\"", httpMethod: "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, @@ -203,7 +203,7 @@ partial void ProcessMcpServersDeleteResponseContent( pathTemplate: "$\"/mcp-servers/{mcpServerId}\"", httpMethod: "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, @@ -244,7 +244,7 @@ partial void ProcessMcpServersDeleteResponseContent( pathTemplate: "$\"/mcp-servers/{mcpServerId}\"", httpMethod: "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, @@ -292,7 +292,7 @@ partial void ProcessMcpServersDeleteResponseContent( pathTemplate: "$\"/mcp-servers/{mcpServerId}\"", httpMethod: "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, @@ -314,7 +314,7 @@ partial void ProcessMcpServersDeleteResponseContent( pathTemplate: "$\"/mcp-servers/{mcpServerId}\"", httpMethod: "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/V0/Generated/V0.McpServersClient.McpServersFind.g.cs b/src/libs/V0/Generated/V0.McpServersClient.McpServersFind.g.cs index 27c6944..5e6179f 100644 --- a/src/libs/V0/Generated/V0.McpServersClient.McpServersFind.g.cs +++ b/src/libs/V0/Generated/V0.McpServersClient.McpServersFind.g.cs @@ -160,7 +160,7 @@ partial void ProcessMcpServersFindResponseContent( pathTemplate: "\"/mcp-servers\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -194,7 +194,7 @@ partial void ProcessMcpServersFindResponseContent( pathTemplate: "\"/mcp-servers\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -235,7 +235,7 @@ partial void ProcessMcpServersFindResponseContent( pathTemplate: "\"/mcp-servers\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -283,7 +283,7 @@ partial void ProcessMcpServersFindResponseContent( pathTemplate: "\"/mcp-servers\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -305,7 +305,7 @@ partial void ProcessMcpServersFindResponseContent( pathTemplate: "\"/mcp-servers\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/V0/Generated/V0.McpServersClient.McpServersGetById.g.cs b/src/libs/V0/Generated/V0.McpServersClient.McpServersGetById.g.cs index be35f61..2fa30d4 100644 --- a/src/libs/V0/Generated/V0.McpServersClient.McpServersGetById.g.cs +++ b/src/libs/V0/Generated/V0.McpServersClient.McpServersGetById.g.cs @@ -147,7 +147,7 @@ partial void ProcessMcpServersGetByIdResponseContent( PrepareMcpServersGetByIdRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - mcpServerId: mcpServerId!); + mcpServerId: mcpServerId); return __httpRequest; } @@ -169,7 +169,7 @@ partial void ProcessMcpServersGetByIdResponseContent( pathTemplate: "$\"/mcp-servers/{mcpServerId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -203,7 +203,7 @@ partial void ProcessMcpServersGetByIdResponseContent( pathTemplate: "$\"/mcp-servers/{mcpServerId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -244,7 +244,7 @@ partial void ProcessMcpServersGetByIdResponseContent( pathTemplate: "$\"/mcp-servers/{mcpServerId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -292,7 +292,7 @@ partial void ProcessMcpServersGetByIdResponseContent( pathTemplate: "$\"/mcp-servers/{mcpServerId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessMcpServersGetByIdResponseContent( pathTemplate: "$\"/mcp-servers/{mcpServerId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/V0/Generated/V0.McpServersClient.McpServersUpdate.g.cs b/src/libs/V0/Generated/V0.McpServersClient.McpServersUpdate.g.cs index 5b9a5c8..ac060a3 100644 --- a/src/libs/V0/Generated/V0.McpServersClient.McpServersUpdate.g.cs +++ b/src/libs/V0/Generated/V0.McpServersClient.McpServersUpdate.g.cs @@ -166,7 +166,7 @@ partial void ProcessMcpServersUpdateResponseContent( PrepareMcpServersUpdateRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - mcpServerId: mcpServerId!, + mcpServerId: mcpServerId, request: request); return __httpRequest; @@ -189,7 +189,7 @@ partial void ProcessMcpServersUpdateResponseContent( pathTemplate: "$\"/mcp-servers/{mcpServerId}\"", 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, @@ -223,7 +223,7 @@ partial void ProcessMcpServersUpdateResponseContent( pathTemplate: "$\"/mcp-servers/{mcpServerId}\"", 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, @@ -264,7 +264,7 @@ partial void ProcessMcpServersUpdateResponseContent( pathTemplate: "$\"/mcp-servers/{mcpServerId}\"", 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, @@ -312,7 +312,7 @@ partial void ProcessMcpServersUpdateResponseContent( pathTemplate: "$\"/mcp-servers/{mcpServerId}\"", 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, @@ -334,7 +334,7 @@ partial void ProcessMcpServersUpdateResponseContent( pathTemplate: "$\"/mcp-servers/{mcpServerId}\"", 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/V0/Generated/V0.ProjectsClient.ProjectsAssign.g.cs b/src/libs/V0/Generated/V0.ProjectsClient.ProjectsAssign.g.cs index 3c8f9bb..fe58e91 100644 --- a/src/libs/V0/Generated/V0.ProjectsClient.ProjectsAssign.g.cs +++ b/src/libs/V0/Generated/V0.ProjectsClient.ProjectsAssign.g.cs @@ -166,7 +166,7 @@ partial void ProcessProjectsAssignResponseContent( PrepareProjectsAssignRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - projectId: projectId!, + projectId: projectId, request: request); return __httpRequest; @@ -189,7 +189,7 @@ partial void ProcessProjectsAssignResponseContent( pathTemplate: "$\"/projects/{projectId}/assign\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -223,7 +223,7 @@ partial void ProcessProjectsAssignResponseContent( pathTemplate: "$\"/projects/{projectId}/assign\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -264,7 +264,7 @@ partial void ProcessProjectsAssignResponseContent( pathTemplate: "$\"/projects/{projectId}/assign\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -312,7 +312,7 @@ partial void ProcessProjectsAssignResponseContent( pathTemplate: "$\"/projects/{projectId}/assign\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessProjectsAssignResponseContent( pathTemplate: "$\"/projects/{projectId}/assign\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/V0/Generated/V0.ProjectsClient.ProjectsCreate.g.cs b/src/libs/V0/Generated/V0.ProjectsClient.ProjectsCreate.g.cs index 9e67d3a..0f8ab4c 100644 --- a/src/libs/V0/Generated/V0.ProjectsClient.ProjectsCreate.g.cs +++ b/src/libs/V0/Generated/V0.ProjectsClient.ProjectsCreate.g.cs @@ -180,7 +180,7 @@ partial void ProcessProjectsCreateResponseContent( pathTemplate: "\"/projects\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -214,7 +214,7 @@ partial void ProcessProjectsCreateResponseContent( pathTemplate: "\"/projects\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -255,7 +255,7 @@ partial void ProcessProjectsCreateResponseContent( pathTemplate: "\"/projects\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -303,7 +303,7 @@ partial void ProcessProjectsCreateResponseContent( pathTemplate: "\"/projects\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -325,7 +325,7 @@ partial void ProcessProjectsCreateResponseContent( pathTemplate: "\"/projects\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/V0/Generated/V0.ProjectsClient.ProjectsCreateEnvVars.g.cs b/src/libs/V0/Generated/V0.ProjectsClient.ProjectsCreateEnvVars.g.cs index c8bf43b..847a274 100644 --- a/src/libs/V0/Generated/V0.ProjectsClient.ProjectsCreateEnvVars.g.cs +++ b/src/libs/V0/Generated/V0.ProjectsClient.ProjectsCreateEnvVars.g.cs @@ -181,7 +181,7 @@ partial void ProcessProjectsCreateEnvVarsResponseContent( PrepareProjectsCreateEnvVarsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - projectId: projectId!, + projectId: projectId, decrypted: decrypted, request: request); @@ -205,7 +205,7 @@ partial void ProcessProjectsCreateEnvVarsResponseContent( pathTemplate: "$\"/projects/{projectId}/env-vars\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessProjectsCreateEnvVarsResponseContent( pathTemplate: "$\"/projects/{projectId}/env-vars\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessProjectsCreateEnvVarsResponseContent( pathTemplate: "$\"/projects/{projectId}/env-vars\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessProjectsCreateEnvVarsResponseContent( pathTemplate: "$\"/projects/{projectId}/env-vars\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessProjectsCreateEnvVarsResponseContent( pathTemplate: "$\"/projects/{projectId}/env-vars\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/V0/Generated/V0.ProjectsClient.ProjectsDelete.g.cs b/src/libs/V0/Generated/V0.ProjectsClient.ProjectsDelete.g.cs index e817884..32d9965 100644 --- a/src/libs/V0/Generated/V0.ProjectsClient.ProjectsDelete.g.cs +++ b/src/libs/V0/Generated/V0.ProjectsClient.ProjectsDelete.g.cs @@ -164,7 +164,7 @@ partial void ProcessProjectsDeleteResponseContent( PrepareProjectsDeleteRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - projectId: projectId!, + projectId: projectId, deleteAllChats: deleteAllChats); return __httpRequest; @@ -187,7 +187,7 @@ partial void ProcessProjectsDeleteResponseContent( pathTemplate: "$\"/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, @@ -221,7 +221,7 @@ partial void ProcessProjectsDeleteResponseContent( pathTemplate: "$\"/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, @@ -262,7 +262,7 @@ partial void ProcessProjectsDeleteResponseContent( pathTemplate: "$\"/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, @@ -310,7 +310,7 @@ partial void ProcessProjectsDeleteResponseContent( pathTemplate: "$\"/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, @@ -332,7 +332,7 @@ partial void ProcessProjectsDeleteResponseContent( pathTemplate: "$\"/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/V0/Generated/V0.ProjectsClient.ProjectsDeleteEnvVars.g.cs b/src/libs/V0/Generated/V0.ProjectsClient.ProjectsDeleteEnvVars.g.cs index 93fbd18..eb65c2f 100644 --- a/src/libs/V0/Generated/V0.ProjectsClient.ProjectsDeleteEnvVars.g.cs +++ b/src/libs/V0/Generated/V0.ProjectsClient.ProjectsDeleteEnvVars.g.cs @@ -166,7 +166,7 @@ partial void ProcessProjectsDeleteEnvVarsResponseContent( PrepareProjectsDeleteEnvVarsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - projectId: projectId!, + projectId: projectId, request: request); return __httpRequest; @@ -189,7 +189,7 @@ partial void ProcessProjectsDeleteEnvVarsResponseContent( pathTemplate: "$\"/projects/{projectId}/env-vars/delete\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -223,7 +223,7 @@ partial void ProcessProjectsDeleteEnvVarsResponseContent( pathTemplate: "$\"/projects/{projectId}/env-vars/delete\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -264,7 +264,7 @@ partial void ProcessProjectsDeleteEnvVarsResponseContent( pathTemplate: "$\"/projects/{projectId}/env-vars/delete\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -312,7 +312,7 @@ partial void ProcessProjectsDeleteEnvVarsResponseContent( pathTemplate: "$\"/projects/{projectId}/env-vars/delete\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -334,7 +334,7 @@ partial void ProcessProjectsDeleteEnvVarsResponseContent( pathTemplate: "$\"/projects/{projectId}/env-vars/delete\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/V0/Generated/V0.ProjectsClient.ProjectsFind.g.cs b/src/libs/V0/Generated/V0.ProjectsClient.ProjectsFind.g.cs index 1e40919..fd27562 100644 --- a/src/libs/V0/Generated/V0.ProjectsClient.ProjectsFind.g.cs +++ b/src/libs/V0/Generated/V0.ProjectsClient.ProjectsFind.g.cs @@ -160,7 +160,7 @@ partial void ProcessProjectsFindResponseContent( pathTemplate: "\"/projects\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -194,7 +194,7 @@ partial void ProcessProjectsFindResponseContent( pathTemplate: "\"/projects\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -235,7 +235,7 @@ partial void ProcessProjectsFindResponseContent( pathTemplate: "\"/projects\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -283,7 +283,7 @@ partial void ProcessProjectsFindResponseContent( pathTemplate: "\"/projects\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -305,7 +305,7 @@ partial void ProcessProjectsFindResponseContent( pathTemplate: "\"/projects\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/V0/Generated/V0.ProjectsClient.ProjectsFindEnvVars.g.cs b/src/libs/V0/Generated/V0.ProjectsClient.ProjectsFindEnvVars.g.cs index 0a2d55d..d2b36e1 100644 --- a/src/libs/V0/Generated/V0.ProjectsClient.ProjectsFindEnvVars.g.cs +++ b/src/libs/V0/Generated/V0.ProjectsClient.ProjectsFindEnvVars.g.cs @@ -162,7 +162,7 @@ partial void ProcessProjectsFindEnvVarsResponseContent( PrepareProjectsFindEnvVarsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - projectId: projectId!, + projectId: projectId, decrypted: decrypted); return __httpRequest; @@ -185,7 +185,7 @@ partial void ProcessProjectsFindEnvVarsResponseContent( pathTemplate: "$\"/projects/{projectId}/env-vars\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -219,7 +219,7 @@ partial void ProcessProjectsFindEnvVarsResponseContent( pathTemplate: "$\"/projects/{projectId}/env-vars\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -260,7 +260,7 @@ partial void ProcessProjectsFindEnvVarsResponseContent( pathTemplate: "$\"/projects/{projectId}/env-vars\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -308,7 +308,7 @@ partial void ProcessProjectsFindEnvVarsResponseContent( pathTemplate: "$\"/projects/{projectId}/env-vars\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessProjectsFindEnvVarsResponseContent( pathTemplate: "$\"/projects/{projectId}/env-vars\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/V0/Generated/V0.ProjectsClient.ProjectsGetByChatId.g.cs b/src/libs/V0/Generated/V0.ProjectsClient.ProjectsGetByChatId.g.cs index 7c19f86..5360995 100644 --- a/src/libs/V0/Generated/V0.ProjectsClient.ProjectsGetByChatId.g.cs +++ b/src/libs/V0/Generated/V0.ProjectsClient.ProjectsGetByChatId.g.cs @@ -147,7 +147,7 @@ partial void ProcessProjectsGetByChatIdResponseContent( PrepareProjectsGetByChatIdRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - chatId: chatId!); + chatId: chatId); return __httpRequest; } @@ -169,7 +169,7 @@ partial void ProcessProjectsGetByChatIdResponseContent( pathTemplate: "$\"/chats/{chatId}/project\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -203,7 +203,7 @@ partial void ProcessProjectsGetByChatIdResponseContent( pathTemplate: "$\"/chats/{chatId}/project\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -244,7 +244,7 @@ partial void ProcessProjectsGetByChatIdResponseContent( pathTemplate: "$\"/chats/{chatId}/project\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -292,7 +292,7 @@ partial void ProcessProjectsGetByChatIdResponseContent( pathTemplate: "$\"/chats/{chatId}/project\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessProjectsGetByChatIdResponseContent( pathTemplate: "$\"/chats/{chatId}/project\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/V0/Generated/V0.ProjectsClient.ProjectsGetById.g.cs b/src/libs/V0/Generated/V0.ProjectsClient.ProjectsGetById.g.cs index 5dfb134..da24974 100644 --- a/src/libs/V0/Generated/V0.ProjectsClient.ProjectsGetById.g.cs +++ b/src/libs/V0/Generated/V0.ProjectsClient.ProjectsGetById.g.cs @@ -147,7 +147,7 @@ partial void ProcessProjectsGetByIdResponseContent( PrepareProjectsGetByIdRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - projectId: projectId!); + projectId: projectId); return __httpRequest; } @@ -169,7 +169,7 @@ partial void ProcessProjectsGetByIdResponseContent( pathTemplate: "$\"/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, @@ -203,7 +203,7 @@ partial void ProcessProjectsGetByIdResponseContent( pathTemplate: "$\"/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, @@ -244,7 +244,7 @@ partial void ProcessProjectsGetByIdResponseContent( pathTemplate: "$\"/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, @@ -292,7 +292,7 @@ partial void ProcessProjectsGetByIdResponseContent( pathTemplate: "$\"/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, @@ -314,7 +314,7 @@ partial void ProcessProjectsGetByIdResponseContent( pathTemplate: "$\"/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/V0/Generated/V0.ProjectsClient.ProjectsGetEnvVar.g.cs b/src/libs/V0/Generated/V0.ProjectsClient.ProjectsGetEnvVar.g.cs index 070adc7..3763190 100644 --- a/src/libs/V0/Generated/V0.ProjectsClient.ProjectsGetEnvVar.g.cs +++ b/src/libs/V0/Generated/V0.ProjectsClient.ProjectsGetEnvVar.g.cs @@ -170,8 +170,8 @@ partial void ProcessProjectsGetEnvVarResponseContent( PrepareProjectsGetEnvVarRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - projectId: projectId!, - environmentVariableId: environmentVariableId!, + projectId: projectId, + environmentVariableId: environmentVariableId, decrypted: decrypted); return __httpRequest; @@ -194,7 +194,7 @@ partial void ProcessProjectsGetEnvVarResponseContent( pathTemplate: "$\"/projects/{projectId}/env-vars/{environmentVariableId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessProjectsGetEnvVarResponseContent( pathTemplate: "$\"/projects/{projectId}/env-vars/{environmentVariableId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessProjectsGetEnvVarResponseContent( pathTemplate: "$\"/projects/{projectId}/env-vars/{environmentVariableId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessProjectsGetEnvVarResponseContent( pathTemplate: "$\"/projects/{projectId}/env-vars/{environmentVariableId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessProjectsGetEnvVarResponseContent( pathTemplate: "$\"/projects/{projectId}/env-vars/{environmentVariableId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/V0/Generated/V0.ProjectsClient.ProjectsUpdate.g.cs b/src/libs/V0/Generated/V0.ProjectsClient.ProjectsUpdate.g.cs index 6127706..838c847 100644 --- a/src/libs/V0/Generated/V0.ProjectsClient.ProjectsUpdate.g.cs +++ b/src/libs/V0/Generated/V0.ProjectsClient.ProjectsUpdate.g.cs @@ -166,7 +166,7 @@ partial void ProcessProjectsUpdateResponseContent( PrepareProjectsUpdateRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - projectId: projectId!, + projectId: projectId, request: request); return __httpRequest; @@ -189,7 +189,7 @@ partial void ProcessProjectsUpdateResponseContent( pathTemplate: "$\"/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, @@ -223,7 +223,7 @@ partial void ProcessProjectsUpdateResponseContent( pathTemplate: "$\"/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, @@ -264,7 +264,7 @@ partial void ProcessProjectsUpdateResponseContent( pathTemplate: "$\"/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, @@ -312,7 +312,7 @@ partial void ProcessProjectsUpdateResponseContent( pathTemplate: "$\"/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, @@ -334,7 +334,7 @@ partial void ProcessProjectsUpdateResponseContent( pathTemplate: "$\"/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/V0/Generated/V0.ProjectsClient.ProjectsUpdateEnvVars.g.cs b/src/libs/V0/Generated/V0.ProjectsClient.ProjectsUpdateEnvVars.g.cs index f6fe87b..d99ad8e 100644 --- a/src/libs/V0/Generated/V0.ProjectsClient.ProjectsUpdateEnvVars.g.cs +++ b/src/libs/V0/Generated/V0.ProjectsClient.ProjectsUpdateEnvVars.g.cs @@ -181,7 +181,7 @@ partial void ProcessProjectsUpdateEnvVarsResponseContent( PrepareProjectsUpdateEnvVarsRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - projectId: projectId!, + projectId: projectId, decrypted: decrypted, request: request); @@ -205,7 +205,7 @@ partial void ProcessProjectsUpdateEnvVarsResponseContent( pathTemplate: "$\"/projects/{projectId}/env-vars\"", 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, @@ -239,7 +239,7 @@ partial void ProcessProjectsUpdateEnvVarsResponseContent( pathTemplate: "$\"/projects/{projectId}/env-vars\"", 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, @@ -280,7 +280,7 @@ partial void ProcessProjectsUpdateEnvVarsResponseContent( pathTemplate: "$\"/projects/{projectId}/env-vars\"", 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, @@ -328,7 +328,7 @@ partial void ProcessProjectsUpdateEnvVarsResponseContent( pathTemplate: "$\"/projects/{projectId}/env-vars\"", 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, @@ -350,7 +350,7 @@ partial void ProcessProjectsUpdateEnvVarsResponseContent( pathTemplate: "$\"/projects/{projectId}/env-vars\"", 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/V0/Generated/V0.RateLimitsClient.RateLimitsFind.g.cs b/src/libs/V0/Generated/V0.RateLimitsClient.RateLimitsFind.g.cs index be7fc75..07c8684 100644 --- a/src/libs/V0/Generated/V0.RateLimitsClient.RateLimitsFind.g.cs +++ b/src/libs/V0/Generated/V0.RateLimitsClient.RateLimitsFind.g.cs @@ -176,7 +176,7 @@ partial void ProcessRateLimitsFindResponseContent( pathTemplate: "\"/rate-limits\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -210,7 +210,7 @@ partial void ProcessRateLimitsFindResponseContent( pathTemplate: "\"/rate-limits\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -251,7 +251,7 @@ partial void ProcessRateLimitsFindResponseContent( pathTemplate: "\"/rate-limits\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -299,7 +299,7 @@ partial void ProcessRateLimitsFindResponseContent( pathTemplate: "\"/rate-limits\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessRateLimitsFindResponseContent( pathTemplate: "\"/rate-limits\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/V0/Generated/V0.ReportsClient.ReportsGetAIUsage.g.cs b/src/libs/V0/Generated/V0.ReportsClient.ReportsGetAIUsage.g.cs index ab51a49..fc54b98 100644 --- a/src/libs/V0/Generated/V0.ReportsClient.ReportsGetAIUsage.g.cs +++ b/src/libs/V0/Generated/V0.ReportsClient.ReportsGetAIUsage.g.cs @@ -220,7 +220,7 @@ partial void ProcessReportsGetAIUsageResponseContent( pathTemplate: "\"/reports/usage/ai\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessReportsGetAIUsageResponseContent( pathTemplate: "\"/reports/usage/ai\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessReportsGetAIUsageResponseContent( pathTemplate: "\"/reports/usage/ai\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessReportsGetAIUsageResponseContent( pathTemplate: "\"/reports/usage/ai\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessReportsGetAIUsageResponseContent( pathTemplate: "\"/reports/usage/ai\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/V0/Generated/V0.ReportsClient.ReportsGetUsage.g.cs b/src/libs/V0/Generated/V0.ReportsClient.ReportsGetUsage.g.cs index 2f6783b..b30e2c4 100644 --- a/src/libs/V0/Generated/V0.ReportsClient.ReportsGetUsage.g.cs +++ b/src/libs/V0/Generated/V0.ReportsClient.ReportsGetUsage.g.cs @@ -242,7 +242,7 @@ partial void ProcessReportsGetUsageResponseContent( pathTemplate: "\"/reports/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, @@ -276,7 +276,7 @@ partial void ProcessReportsGetUsageResponseContent( pathTemplate: "\"/reports/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, @@ -317,7 +317,7 @@ partial void ProcessReportsGetUsageResponseContent( pathTemplate: "\"/reports/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, @@ -365,7 +365,7 @@ partial void ProcessReportsGetUsageResponseContent( pathTemplate: "\"/reports/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, @@ -387,7 +387,7 @@ partial void ProcessReportsGetUsageResponseContent( pathTemplate: "\"/reports/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/V0/Generated/V0.ReportsClient.ReportsGetUserActivity.g.cs b/src/libs/V0/Generated/V0.ReportsClient.ReportsGetUserActivity.g.cs index db4c21f..9940c2a 100644 --- a/src/libs/V0/Generated/V0.ReportsClient.ReportsGetUserActivity.g.cs +++ b/src/libs/V0/Generated/V0.ReportsClient.ReportsGetUserActivity.g.cs @@ -190,7 +190,7 @@ partial void ProcessReportsGetUserActivityResponseContent( pathTemplate: "\"/reports/user-activity\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessReportsGetUserActivityResponseContent( pathTemplate: "\"/reports/user-activity\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessReportsGetUserActivityResponseContent( pathTemplate: "\"/reports/user-activity\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessReportsGetUserActivityResponseContent( pathTemplate: "\"/reports/user-activity\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessReportsGetUserActivityResponseContent( pathTemplate: "\"/reports/user-activity\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/V0/Generated/V0.UserClient.UserGet.g.cs b/src/libs/V0/Generated/V0.UserClient.UserGet.g.cs index 3fce0be..99d0f8f 100644 --- a/src/libs/V0/Generated/V0.UserClient.UserGet.g.cs +++ b/src/libs/V0/Generated/V0.UserClient.UserGet.g.cs @@ -160,7 +160,7 @@ partial void ProcessUserGetResponseContent( pathTemplate: "\"/user\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -194,7 +194,7 @@ partial void ProcessUserGetResponseContent( pathTemplate: "\"/user\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -235,7 +235,7 @@ partial void ProcessUserGetResponseContent( pathTemplate: "\"/user\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -283,7 +283,7 @@ partial void ProcessUserGetResponseContent( pathTemplate: "\"/user\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -305,7 +305,7 @@ partial void ProcessUserGetResponseContent( pathTemplate: "\"/user\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/V0/Generated/V0.UserClient.UserGetBilling.g.cs b/src/libs/V0/Generated/V0.UserClient.UserGetBilling.g.cs index 7b6de57..15927e1 100644 --- a/src/libs/V0/Generated/V0.UserClient.UserGetBilling.g.cs +++ b/src/libs/V0/Generated/V0.UserClient.UserGetBilling.g.cs @@ -176,7 +176,7 @@ partial void ProcessUserGetBillingResponseContent( pathTemplate: "\"/user/billing\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -210,7 +210,7 @@ partial void ProcessUserGetBillingResponseContent( pathTemplate: "\"/user/billing\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -251,7 +251,7 @@ partial void ProcessUserGetBillingResponseContent( pathTemplate: "\"/user/billing\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -299,7 +299,7 @@ partial void ProcessUserGetBillingResponseContent( pathTemplate: "\"/user/billing\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessUserGetBillingResponseContent( pathTemplate: "\"/user/billing\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/V0/Generated/V0.UserClient.UserGetPlan.g.cs b/src/libs/V0/Generated/V0.UserClient.UserGetPlan.g.cs index 0586762..8aad2b1 100644 --- a/src/libs/V0/Generated/V0.UserClient.UserGetPlan.g.cs +++ b/src/libs/V0/Generated/V0.UserClient.UserGetPlan.g.cs @@ -160,7 +160,7 @@ partial void ProcessUserGetPlanResponseContent( pathTemplate: "\"/user/plan\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -194,7 +194,7 @@ partial void ProcessUserGetPlanResponseContent( pathTemplate: "\"/user/plan\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -235,7 +235,7 @@ partial void ProcessUserGetPlanResponseContent( pathTemplate: "\"/user/plan\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -283,7 +283,7 @@ partial void ProcessUserGetPlanResponseContent( pathTemplate: "\"/user/plan\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -305,7 +305,7 @@ partial void ProcessUserGetPlanResponseContent( pathTemplate: "\"/user/plan\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/V0/Generated/V0.UserClient.UserGetScopes.g.cs b/src/libs/V0/Generated/V0.UserClient.UserGetScopes.g.cs index 4dc3279..8d5b37d 100644 --- a/src/libs/V0/Generated/V0.UserClient.UserGetScopes.g.cs +++ b/src/libs/V0/Generated/V0.UserClient.UserGetScopes.g.cs @@ -160,7 +160,7 @@ partial void ProcessUserGetScopesResponseContent( pathTemplate: "\"/user/scopes\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -194,7 +194,7 @@ partial void ProcessUserGetScopesResponseContent( pathTemplate: "\"/user/scopes\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -235,7 +235,7 @@ partial void ProcessUserGetScopesResponseContent( pathTemplate: "\"/user/scopes\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -283,7 +283,7 @@ partial void ProcessUserGetScopesResponseContent( pathTemplate: "\"/user/scopes\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -305,7 +305,7 @@ partial void ProcessUserGetScopesResponseContent( pathTemplate: "\"/user/scopes\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options,