diff --git a/src/libs/Meshy/Generated/Meshy.ImageTo3dClient.ListImageTo3DTasks.g.cs b/src/libs/Meshy/Generated/Meshy.ImageTo3dClient.ListImageTo3DTasks.g.cs index abaa356..507752c 100644 --- a/src/libs/Meshy/Generated/Meshy.ImageTo3dClient.ListImageTo3DTasks.g.cs +++ b/src/libs/Meshy/Generated/Meshy.ImageTo3dClient.ListImageTo3DTasks.g.cs @@ -128,7 +128,7 @@ partial void ProcessListImageTo3DTasksResponseContent( __response.EnsureSuccessStatusCode(); return - global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext) as global::System.Collections.Generic.IList ?? + (global::System.Collections.Generic.IList?)global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } catch (global::System.Exception __ex) @@ -159,7 +159,7 @@ partial void ProcessListImageTo3DTasksResponseContent( ).ConfigureAwait(false); return - await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext).ConfigureAwait(false) as global::System.Collections.Generic.IList ?? + (global::System.Collections.Generic.IList?)await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext).ConfigureAwait(false) ?? throw new global::System.InvalidOperationException("Response deserialization failed."); } catch (global::System.Exception __ex) diff --git a/src/libs/Meshy/Generated/Meshy.ImageToImageClient.ListImageToImageTasks.g.cs b/src/libs/Meshy/Generated/Meshy.ImageToImageClient.ListImageToImageTasks.g.cs index 0d29003..41d09bb 100644 --- a/src/libs/Meshy/Generated/Meshy.ImageToImageClient.ListImageToImageTasks.g.cs +++ b/src/libs/Meshy/Generated/Meshy.ImageToImageClient.ListImageToImageTasks.g.cs @@ -128,7 +128,7 @@ partial void ProcessListImageToImageTasksResponseContent( __response.EnsureSuccessStatusCode(); return - global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext) as global::System.Collections.Generic.IList ?? + (global::System.Collections.Generic.IList?)global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } catch (global::System.Exception __ex) @@ -159,7 +159,7 @@ partial void ProcessListImageToImageTasksResponseContent( ).ConfigureAwait(false); return - await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext).ConfigureAwait(false) as global::System.Collections.Generic.IList ?? + (global::System.Collections.Generic.IList?)await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext).ConfigureAwait(false) ?? throw new global::System.InvalidOperationException("Response deserialization failed."); } catch (global::System.Exception __ex) diff --git a/src/libs/Meshy/Generated/Meshy.MultiImageTo3dClient.ListMultiImageTo3DTasks.g.cs b/src/libs/Meshy/Generated/Meshy.MultiImageTo3dClient.ListMultiImageTo3DTasks.g.cs index b4fcd37..e0a7a14 100644 --- a/src/libs/Meshy/Generated/Meshy.MultiImageTo3dClient.ListMultiImageTo3DTasks.g.cs +++ b/src/libs/Meshy/Generated/Meshy.MultiImageTo3dClient.ListMultiImageTo3DTasks.g.cs @@ -128,7 +128,7 @@ partial void ProcessListMultiImageTo3DTasksResponseContent( __response.EnsureSuccessStatusCode(); return - global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext) as global::System.Collections.Generic.IList ?? + (global::System.Collections.Generic.IList?)global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } catch (global::System.Exception __ex) @@ -159,7 +159,7 @@ partial void ProcessListMultiImageTo3DTasksResponseContent( ).ConfigureAwait(false); return - await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext).ConfigureAwait(false) as global::System.Collections.Generic.IList ?? + (global::System.Collections.Generic.IList?)await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext).ConfigureAwait(false) ?? throw new global::System.InvalidOperationException("Response deserialization failed."); } catch (global::System.Exception __ex) diff --git a/src/libs/Meshy/Generated/Meshy.RemeshClient.ListRemeshTasks.g.cs b/src/libs/Meshy/Generated/Meshy.RemeshClient.ListRemeshTasks.g.cs index 84f790e..429093b 100644 --- a/src/libs/Meshy/Generated/Meshy.RemeshClient.ListRemeshTasks.g.cs +++ b/src/libs/Meshy/Generated/Meshy.RemeshClient.ListRemeshTasks.g.cs @@ -128,7 +128,7 @@ partial void ProcessListRemeshTasksResponseContent( __response.EnsureSuccessStatusCode(); return - global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext) as global::System.Collections.Generic.IList ?? + (global::System.Collections.Generic.IList?)global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } catch (global::System.Exception __ex) @@ -159,7 +159,7 @@ partial void ProcessListRemeshTasksResponseContent( ).ConfigureAwait(false); return - await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext).ConfigureAwait(false) as global::System.Collections.Generic.IList ?? + (global::System.Collections.Generic.IList?)await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext).ConfigureAwait(false) ?? throw new global::System.InvalidOperationException("Response deserialization failed."); } catch (global::System.Exception __ex) diff --git a/src/libs/Meshy/Generated/Meshy.RetextureClient.ListRetextureTasks.g.cs b/src/libs/Meshy/Generated/Meshy.RetextureClient.ListRetextureTasks.g.cs index bd31fa7..f50d2eb 100644 --- a/src/libs/Meshy/Generated/Meshy.RetextureClient.ListRetextureTasks.g.cs +++ b/src/libs/Meshy/Generated/Meshy.RetextureClient.ListRetextureTasks.g.cs @@ -128,7 +128,7 @@ partial void ProcessListRetextureTasksResponseContent( __response.EnsureSuccessStatusCode(); return - global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext) as global::System.Collections.Generic.IList ?? + (global::System.Collections.Generic.IList?)global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } catch (global::System.Exception __ex) @@ -159,7 +159,7 @@ partial void ProcessListRetextureTasksResponseContent( ).ConfigureAwait(false); return - await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext).ConfigureAwait(false) as global::System.Collections.Generic.IList ?? + (global::System.Collections.Generic.IList?)await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext).ConfigureAwait(false) ?? throw new global::System.InvalidOperationException("Response deserialization failed."); } catch (global::System.Exception __ex) diff --git a/src/libs/Meshy/Generated/Meshy.TextTo3dClient.ListTextTo3DTasks.g.cs b/src/libs/Meshy/Generated/Meshy.TextTo3dClient.ListTextTo3DTasks.g.cs index acf71c1..a86d88f 100644 --- a/src/libs/Meshy/Generated/Meshy.TextTo3dClient.ListTextTo3DTasks.g.cs +++ b/src/libs/Meshy/Generated/Meshy.TextTo3dClient.ListTextTo3DTasks.g.cs @@ -128,7 +128,7 @@ partial void ProcessListTextTo3DTasksResponseContent( __response.EnsureSuccessStatusCode(); return - global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext) as global::System.Collections.Generic.IList ?? + (global::System.Collections.Generic.IList?)global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } catch (global::System.Exception __ex) @@ -159,7 +159,7 @@ partial void ProcessListTextTo3DTasksResponseContent( ).ConfigureAwait(false); return - await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext).ConfigureAwait(false) as global::System.Collections.Generic.IList ?? + (global::System.Collections.Generic.IList?)await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext).ConfigureAwait(false) ?? throw new global::System.InvalidOperationException("Response deserialization failed."); } catch (global::System.Exception __ex) diff --git a/src/libs/Meshy/Generated/Meshy.TextToImageClient.ListTextToImageTasks.g.cs b/src/libs/Meshy/Generated/Meshy.TextToImageClient.ListTextToImageTasks.g.cs index 092d6d6..bd771cb 100644 --- a/src/libs/Meshy/Generated/Meshy.TextToImageClient.ListTextToImageTasks.g.cs +++ b/src/libs/Meshy/Generated/Meshy.TextToImageClient.ListTextToImageTasks.g.cs @@ -128,7 +128,7 @@ partial void ProcessListTextToImageTasksResponseContent( __response.EnsureSuccessStatusCode(); return - global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext) as global::System.Collections.Generic.IList ?? + (global::System.Collections.Generic.IList?)global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } catch (global::System.Exception __ex) @@ -159,7 +159,7 @@ partial void ProcessListTextToImageTasksResponseContent( ).ConfigureAwait(false); return - await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext).ConfigureAwait(false) as global::System.Collections.Generic.IList ?? + (global::System.Collections.Generic.IList?)await global::System.Text.Json.JsonSerializer.DeserializeAsync(__content, typeof(global::System.Collections.Generic.IList), JsonSerializerContext).ConfigureAwait(false) ?? throw new global::System.InvalidOperationException("Response deserialization failed."); } catch (global::System.Exception __ex)