diff --git a/src/libs/Simli/Generated/Simli.AnyOf.2.g.cs b/src/libs/Simli/Generated/Simli.AnyOf.2.g.cs index b6a93cd..4478552 100644 --- a/src/libs/Simli/Generated/Simli.AnyOf.2.g.cs +++ b/src/libs/Simli/Generated/Simli.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/Simli/Generated/Simli.AnyOf.3.g.cs b/src/libs/Simli/Generated/Simli.AnyOf.3.g.cs index 34af167..68341db 100644 --- a/src/libs/Simli/Generated/Simli.AnyOf.3.g.cs +++ b/src/libs/Simli/Generated/Simli.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/Simli/Generated/Simli.AutoSDKHttpResponse.g.cs b/src/libs/Simli/Generated/Simli.AutoSDKHttpResponse.g.cs index 1f20f21..8904489 100644 --- a/src/libs/Simli/Generated/Simli.AutoSDKHttpResponse.g.cs +++ b/src/libs/Simli/Generated/Simli.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/Simli/Generated/Simli.JsonConverters.AnyOf2.g.cs b/src/libs/Simli/Generated/Simli.JsonConverters.AnyOf2.g.cs index 8686e4e..324a96d 100644 --- a/src/libs/Simli/Generated/Simli.JsonConverters.AnyOf2.g.cs +++ b/src/libs/Simli/Generated/Simli.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/Simli/Generated/Simli.JsonConverters.AnyOf3.g.cs b/src/libs/Simli/Generated/Simli.JsonConverters.AnyOf3.g.cs index aa1a817..fa24fce 100644 --- a/src/libs/Simli/Generated/Simli.JsonConverters.AnyOf3.g.cs +++ b/src/libs/Simli/Generated/Simli.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/Simli/Generated/Simli.SimliClient.AudioToVideoInterfaceStaticAudioPost.g.cs b/src/libs/Simli/Generated/Simli.SimliClient.AudioToVideoInterfaceStaticAudioPost.g.cs index 67e7cd4..8914e23 100644 --- a/src/libs/Simli/Generated/Simli.SimliClient.AudioToVideoInterfaceStaticAudioPost.g.cs +++ b/src/libs/Simli/Generated/Simli.SimliClient.AudioToVideoInterfaceStaticAudioPost.g.cs @@ -180,7 +180,7 @@ partial void ProcessAudioToVideoInterfaceStaticAudioPostResponseContent( pathTemplate: "\"/static/audio\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessAudioToVideoInterfaceStaticAudioPostResponseContent( pathTemplate: "\"/static/audio\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessAudioToVideoInterfaceStaticAudioPostResponseContent( pathTemplate: "\"/static/audio\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessAudioToVideoInterfaceStaticAudioPostResponseContent( pathTemplate: "\"/static/audio\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessAudioToVideoInterfaceStaticAudioPostResponseContent( pathTemplate: "\"/static/audio\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Simli/Generated/Simli.SimliClient.DeleteFacesTrinityById.g.cs b/src/libs/Simli/Generated/Simli.SimliClient.DeleteFacesTrinityById.g.cs index 650d87f..8252ab9 100644 --- a/src/libs/Simli/Generated/Simli.SimliClient.DeleteFacesTrinityById.g.cs +++ b/src/libs/Simli/Generated/Simli.SimliClient.DeleteFacesTrinityById.g.cs @@ -140,7 +140,7 @@ await DeleteFacesTrinityByIdAsResponseAsync( PrepareDeleteFacesTrinityByIdRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - id: id!); + id: id); return __httpRequest; } @@ -162,7 +162,7 @@ await DeleteFacesTrinityByIdAsResponseAsync( pathTemplate: "$\"/faces/trinity/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -196,7 +196,7 @@ await DeleteFacesTrinityByIdAsResponseAsync( pathTemplate: "$\"/faces/trinity/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -237,7 +237,7 @@ await DeleteFacesTrinityByIdAsResponseAsync( pathTemplate: "$\"/faces/trinity/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -285,7 +285,7 @@ await DeleteFacesTrinityByIdAsResponseAsync( pathTemplate: "$\"/faces/trinity/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -307,7 +307,7 @@ await DeleteFacesTrinityByIdAsResponseAsync( pathTemplate: "$\"/faces/trinity/{id}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Simli/Generated/Simli.SimliClient.EnqueueGSAGenerationFacesGsCreatePost.g.cs b/src/libs/Simli/Generated/Simli.SimliClient.EnqueueGSAGenerationFacesGsCreatePost.g.cs index b944085..ed4a124 100644 --- a/src/libs/Simli/Generated/Simli.SimliClient.EnqueueGSAGenerationFacesGsCreatePost.g.cs +++ b/src/libs/Simli/Generated/Simli.SimliClient.EnqueueGSAGenerationFacesGsCreatePost.g.cs @@ -244,7 +244,7 @@ request.Imagename is null pathTemplate: "\"/faces/trinity\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -278,7 +278,7 @@ request.Imagename is null pathTemplate: "\"/faces/trinity\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -319,7 +319,7 @@ request.Imagename is null pathTemplate: "\"/faces/trinity\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -367,7 +367,7 @@ request.Imagename is null pathTemplate: "\"/faces/trinity\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -389,7 +389,7 @@ request.Imagename is null pathTemplate: "\"/faces/trinity\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -741,7 +741,7 @@ request.Imagename is null pathTemplate: "\"/faces/trinity\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -775,7 +775,7 @@ request.Imagename is null pathTemplate: "\"/faces/trinity\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -816,7 +816,7 @@ request.Imagename is null pathTemplate: "\"/faces/trinity\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -864,7 +864,7 @@ request.Imagename is null pathTemplate: "\"/faces/trinity\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -886,7 +886,7 @@ request.Imagename is null pathTemplate: "\"/faces/trinity\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1194,7 +1194,7 @@ request.Imagename is null pathTemplate: "\"/faces/trinity\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -1228,7 +1228,7 @@ request.Imagename is null pathTemplate: "\"/faces/trinity\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -1269,7 +1269,7 @@ request.Imagename is null pathTemplate: "\"/faces/trinity\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1317,7 +1317,7 @@ request.Imagename is null pathTemplate: "\"/faces/trinity\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1339,7 +1339,7 @@ request.Imagename is null pathTemplate: "\"/faces/trinity\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Simli/Generated/Simli.SimliClient.GetCachedVideoMp4StaticMp4MachineIPFileGet.g.cs b/src/libs/Simli/Generated/Simli.SimliClient.GetCachedVideoMp4StaticMp4MachineIPFileGet.g.cs index 6ad67b4..54411a0 100644 --- a/src/libs/Simli/Generated/Simli.SimliClient.GetCachedVideoMp4StaticMp4MachineIPFileGet.g.cs +++ b/src/libs/Simli/Generated/Simli.SimliClient.GetCachedVideoMp4StaticMp4MachineIPFileGet.g.cs @@ -153,8 +153,8 @@ partial void ProcessGetCachedVideoMp4StaticMp4MachineIPFileGetResponseContent( PrepareGetCachedVideoMp4StaticMp4MachineIPFileGetRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - destination: destination!, - file: file!); + destination: destination, + file: file); return __httpRequest; } @@ -176,7 +176,7 @@ partial void ProcessGetCachedVideoMp4StaticMp4MachineIPFileGetResponseContent( pathTemplate: "$\"/static/mp4/{destination}/{file}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetCachedVideoMp4StaticMp4MachineIPFileGetResponseContent( pathTemplate: "$\"/static/mp4/{destination}/{file}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetCachedVideoMp4StaticMp4MachineIPFileGetResponseContent( pathTemplate: "$\"/static/mp4/{destination}/{file}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetCachedVideoMp4StaticMp4MachineIPFileGetResponseContent( pathTemplate: "$\"/static/mp4/{destination}/{file}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetCachedVideoMp4StaticMp4MachineIPFileGetResponseContent( pathTemplate: "$\"/static/mp4/{destination}/{file}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -540,8 +540,8 @@ partial void ProcessGetCachedVideoMp4StaticMp4MachineIPFileGetResponseContent( PrepareGetCachedVideoMp4StaticMp4MachineIPFileGetRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - destination: destination!, - file: file!); + destination: destination, + file: file); return __httpRequest; } @@ -563,7 +563,7 @@ partial void ProcessGetCachedVideoMp4StaticMp4MachineIPFileGetResponseContent( pathTemplate: "$\"/static/mp4/{destination}/{file}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -597,7 +597,7 @@ partial void ProcessGetCachedVideoMp4StaticMp4MachineIPFileGetResponseContent( pathTemplate: "$\"/static/mp4/{destination}/{file}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -638,7 +638,7 @@ partial void ProcessGetCachedVideoMp4StaticMp4MachineIPFileGetResponseContent( pathTemplate: "$\"/static/mp4/{destination}/{file}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -686,7 +686,7 @@ partial void ProcessGetCachedVideoMp4StaticMp4MachineIPFileGetResponseContent( pathTemplate: "$\"/static/mp4/{destination}/{file}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -708,7 +708,7 @@ partial void ProcessGetCachedVideoMp4StaticMp4MachineIPFileGetResponseContent( pathTemplate: "$\"/static/mp4/{destination}/{file}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Simli/Generated/Simli.SimliClient.GetCachedVideoStaticHlsMachineIPFileGet.g.cs b/src/libs/Simli/Generated/Simli.SimliClient.GetCachedVideoStaticHlsMachineIPFileGet.g.cs index d196359..1a413f6 100644 --- a/src/libs/Simli/Generated/Simli.SimliClient.GetCachedVideoStaticHlsMachineIPFileGet.g.cs +++ b/src/libs/Simli/Generated/Simli.SimliClient.GetCachedVideoStaticHlsMachineIPFileGet.g.cs @@ -155,8 +155,8 @@ partial void ProcessGetCachedVideoStaticHlsMachineIPFileGetResponseContent( PrepareGetCachedVideoStaticHlsMachineIPFileGetRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - destination: destination!, - file: file!); + destination: destination, + file: file); return __httpRequest; } @@ -178,7 +178,7 @@ partial void ProcessGetCachedVideoStaticHlsMachineIPFileGetResponseContent( pathTemplate: "$\"/static/hls/{destination}/{file}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetCachedVideoStaticHlsMachineIPFileGetResponseContent( pathTemplate: "$\"/static/hls/{destination}/{file}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetCachedVideoStaticHlsMachineIPFileGetResponseContent( pathTemplate: "$\"/static/hls/{destination}/{file}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetCachedVideoStaticHlsMachineIPFileGetResponseContent( pathTemplate: "$\"/static/hls/{destination}/{file}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetCachedVideoStaticHlsMachineIPFileGetResponseContent( pathTemplate: "$\"/static/hls/{destination}/{file}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -543,8 +543,8 @@ partial void ProcessGetCachedVideoStaticHlsMachineIPFileGetResponseContent( PrepareGetCachedVideoStaticHlsMachineIPFileGetRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - destination: destination!, - file: file!); + destination: destination, + file: file); return __httpRequest; } @@ -566,7 +566,7 @@ partial void ProcessGetCachedVideoStaticHlsMachineIPFileGetResponseContent( pathTemplate: "$\"/static/hls/{destination}/{file}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -600,7 +600,7 @@ partial void ProcessGetCachedVideoStaticHlsMachineIPFileGetResponseContent( pathTemplate: "$\"/static/hls/{destination}/{file}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -641,7 +641,7 @@ partial void ProcessGetCachedVideoStaticHlsMachineIPFileGetResponseContent( pathTemplate: "$\"/static/hls/{destination}/{file}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -689,7 +689,7 @@ partial void ProcessGetCachedVideoStaticHlsMachineIPFileGetResponseContent( pathTemplate: "$\"/static/hls/{destination}/{file}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -711,7 +711,7 @@ partial void ProcessGetCachedVideoStaticHlsMachineIPFileGetResponseContent( pathTemplate: "$\"/static/hls/{destination}/{file}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Simli/Generated/Simli.SimliClient.GetFaces.g.cs b/src/libs/Simli/Generated/Simli.SimliClient.GetFaces.g.cs index 38dde0e..f60e72c 100644 --- a/src/libs/Simli/Generated/Simli.SimliClient.GetFaces.g.cs +++ b/src/libs/Simli/Generated/Simli.SimliClient.GetFaces.g.cs @@ -158,7 +158,7 @@ partial void ProcessGetFacesResponseContent( pathTemplate: "\"/faces\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -192,7 +192,7 @@ partial void ProcessGetFacesResponseContent( pathTemplate: "\"/faces\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -233,7 +233,7 @@ partial void ProcessGetFacesResponseContent( pathTemplate: "\"/faces\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -281,7 +281,7 @@ partial void ProcessGetFacesResponseContent( pathTemplate: "\"/faces\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetFacesResponseContent( pathTemplate: "\"/faces\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Simli/Generated/Simli.SimliClient.GetHistorySessions.g.cs b/src/libs/Simli/Generated/Simli.SimliClient.GetHistorySessions.g.cs index da16fc3..de85f39 100644 --- a/src/libs/Simli/Generated/Simli.SimliClient.GetHistorySessions.g.cs +++ b/src/libs/Simli/Generated/Simli.SimliClient.GetHistorySessions.g.cs @@ -190,7 +190,7 @@ partial void ProcessGetHistorySessionsResponseContent( pathTemplate: "\"/history/sessions\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetHistorySessionsResponseContent( pathTemplate: "\"/history/sessions\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetHistorySessionsResponseContent( pathTemplate: "\"/history/sessions\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetHistorySessionsResponseContent( pathTemplate: "\"/history/sessions\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetHistorySessionsResponseContent( pathTemplate: "\"/history/sessions\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Simli/Generated/Simli.SimliClient.GetIceServersComposeIceGet.g.cs b/src/libs/Simli/Generated/Simli.SimliClient.GetIceServersComposeIceGet.g.cs index ce929a5..f82ad4a 100644 --- a/src/libs/Simli/Generated/Simli.SimliClient.GetIceServersComposeIceGet.g.cs +++ b/src/libs/Simli/Generated/Simli.SimliClient.GetIceServersComposeIceGet.g.cs @@ -160,7 +160,7 @@ partial void ProcessGetIceServersComposeIceGetResponseContent( pathTemplate: "\"/compose/ice\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetIceServersComposeIceGetResponseContent( pathTemplate: "\"/compose/ice\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetIceServersComposeIceGetResponseContent( pathTemplate: "\"/compose/ice\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetIceServersComposeIceGetResponseContent( pathTemplate: "\"/compose/ice\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetIceServersComposeIceGetResponseContent( pathTemplate: "\"/compose/ice\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Simli/Generated/Simli.SimliClient.GetRatelimiterSessions.g.cs b/src/libs/Simli/Generated/Simli.SimliClient.GetRatelimiterSessions.g.cs index e8ef4c9..5dca41e 100644 --- a/src/libs/Simli/Generated/Simli.SimliClient.GetRatelimiterSessions.g.cs +++ b/src/libs/Simli/Generated/Simli.SimliClient.GetRatelimiterSessions.g.cs @@ -158,7 +158,7 @@ partial void ProcessGetRatelimiterSessionsResponseContent( pathTemplate: "\"/ratelimiter/sessions\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -192,7 +192,7 @@ partial void ProcessGetRatelimiterSessionsResponseContent( pathTemplate: "\"/ratelimiter/sessions\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -233,7 +233,7 @@ partial void ProcessGetRatelimiterSessionsResponseContent( pathTemplate: "\"/ratelimiter/sessions\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -281,7 +281,7 @@ partial void ProcessGetRatelimiterSessionsResponseContent( pathTemplate: "\"/ratelimiter/sessions\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + 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 ProcessGetRatelimiterSessionsResponseContent( pathTemplate: "\"/ratelimiter/sessions\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Simli/Generated/Simli.SimliClient.GetRequestStatusFacesGsStatusGet.g.cs b/src/libs/Simli/Generated/Simli.SimliClient.GetRequestStatusFacesGsStatusGet.g.cs index c9d1820..fb478c9 100644 --- a/src/libs/Simli/Generated/Simli.SimliClient.GetRequestStatusFacesGsStatusGet.g.cs +++ b/src/libs/Simli/Generated/Simli.SimliClient.GetRequestStatusFacesGsStatusGet.g.cs @@ -170,7 +170,7 @@ partial void ProcessGetRequestStatusFacesGsStatusGetResponseContent( pathTemplate: "\"/faces/trinity/generation_status\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -204,7 +204,7 @@ partial void ProcessGetRequestStatusFacesGsStatusGetResponseContent( pathTemplate: "\"/faces/trinity/generation_status\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -245,7 +245,7 @@ partial void ProcessGetRequestStatusFacesGsStatusGetResponseContent( pathTemplate: "\"/faces/trinity/generation_status\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -293,7 +293,7 @@ partial void ProcessGetRequestStatusFacesGsStatusGetResponseContent( pathTemplate: "\"/faces/trinity/generation_status\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -315,7 +315,7 @@ partial void ProcessGetRequestStatusFacesGsStatusGetResponseContent( pathTemplate: "\"/faces/trinity/generation_status\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Simli/Generated/Simli.SimliClient.InitIntegrationsLivekitAgentsPost.g.cs b/src/libs/Simli/Generated/Simli.SimliClient.InitIntegrationsLivekitAgentsPost.g.cs index 533b268..a7ab3c6 100644 --- a/src/libs/Simli/Generated/Simli.SimliClient.InitIntegrationsLivekitAgentsPost.g.cs +++ b/src/libs/Simli/Generated/Simli.SimliClient.InitIntegrationsLivekitAgentsPost.g.cs @@ -178,7 +178,7 @@ partial void ProcessInitIntegrationsLivekitAgentsPostResponseContent( pathTemplate: "\"/integrations/livekit/agents\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -212,7 +212,7 @@ partial void ProcessInitIntegrationsLivekitAgentsPostResponseContent( pathTemplate: "\"/integrations/livekit/agents\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -253,7 +253,7 @@ partial void ProcessInitIntegrationsLivekitAgentsPostResponseContent( pathTemplate: "\"/integrations/livekit/agents\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -301,7 +301,7 @@ partial void ProcessInitIntegrationsLivekitAgentsPostResponseContent( pathTemplate: "\"/integrations/livekit/agents\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -323,7 +323,7 @@ partial void ProcessInitIntegrationsLivekitAgentsPostResponseContent( pathTemplate: "\"/integrations/livekit/agents\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Simli/Generated/Simli.SimliClient.PreprocessImageFacesTrinityPreprocessPost.g.cs b/src/libs/Simli/Generated/Simli.SimliClient.PreprocessImageFacesTrinityPreprocessPost.g.cs index 36387d0..3df5441 100644 --- a/src/libs/Simli/Generated/Simli.SimliClient.PreprocessImageFacesTrinityPreprocessPost.g.cs +++ b/src/libs/Simli/Generated/Simli.SimliClient.PreprocessImageFacesTrinityPreprocessPost.g.cs @@ -225,7 +225,7 @@ request.Imagename is null pathTemplate: "\"/faces/trinity/preprocess\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -259,7 +259,7 @@ request.Imagename is null pathTemplate: "\"/faces/trinity/preprocess\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -300,7 +300,7 @@ request.Imagename is null pathTemplate: "\"/faces/trinity/preprocess\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -348,7 +348,7 @@ request.Imagename is null pathTemplate: "\"/faces/trinity/preprocess\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -370,7 +370,7 @@ request.Imagename is null pathTemplate: "\"/faces/trinity/preprocess\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -669,7 +669,7 @@ request.Imagename is null pathTemplate: "\"/faces/trinity/preprocess\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -703,7 +703,7 @@ request.Imagename is null pathTemplate: "\"/faces/trinity/preprocess\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -744,7 +744,7 @@ request.Imagename is null pathTemplate: "\"/faces/trinity/preprocess\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -792,7 +792,7 @@ request.Imagename is null pathTemplate: "\"/faces/trinity/preprocess\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -814,7 +814,7 @@ request.Imagename is null pathTemplate: "\"/faces/trinity/preprocess\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1069,7 +1069,7 @@ request.Imagename is null pathTemplate: "\"/faces/trinity/preprocess\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -1103,7 +1103,7 @@ request.Imagename is null pathTemplate: "\"/faces/trinity/preprocess\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -1144,7 +1144,7 @@ request.Imagename is null pathTemplate: "\"/faces/trinity/preprocess\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1192,7 +1192,7 @@ request.Imagename is null pathTemplate: "\"/faces/trinity/preprocess\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -1214,7 +1214,7 @@ request.Imagename is null pathTemplate: "\"/faces/trinity/preprocess\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Simli/Generated/Simli.SimliClient.StartAudioToVideoSessionComposeTokenPost.g.cs b/src/libs/Simli/Generated/Simli.SimliClient.StartAudioToVideoSessionComposeTokenPost.g.cs index 2ae21bc..5150119 100644 --- a/src/libs/Simli/Generated/Simli.SimliClient.StartAudioToVideoSessionComposeTokenPost.g.cs +++ b/src/libs/Simli/Generated/Simli.SimliClient.StartAudioToVideoSessionComposeTokenPost.g.cs @@ -180,7 +180,7 @@ partial void ProcessStartAudioToVideoSessionComposeTokenPostResponseContent( pathTemplate: "\"/compose/token\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -214,7 +214,7 @@ partial void ProcessStartAudioToVideoSessionComposeTokenPostResponseContent( pathTemplate: "\"/compose/token\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -255,7 +255,7 @@ partial void ProcessStartAudioToVideoSessionComposeTokenPostResponseContent( pathTemplate: "\"/compose/token\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -303,7 +303,7 @@ partial void ProcessStartAudioToVideoSessionComposeTokenPostResponseContent( pathTemplate: "\"/compose/token\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -325,7 +325,7 @@ partial void ProcessStartAudioToVideoSessionComposeTokenPostResponseContent( pathTemplate: "\"/compose/token\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options,