From 3fb305f0bf045f5c4656b9822c0400e2fda69913 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 6 Nov 2024 21:18:56 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- src/libs/Tripo/Generated/OneOf.9.g.cs | 29 +++++++++++++++++++ .../Tripo/Generated/Tripo.Models.Balance.g.cs | 29 +++++++++++++++++++ .../Generated/Tripo.Models.BalanceData.g.cs | 29 +++++++++++++++++++ ...ripo.Models.CreateTaskRequestVariant1.g.cs | 29 +++++++++++++++++++ ...ripo.Models.CreateTaskRequestVariant2.g.cs | 29 +++++++++++++++++++ ....Models.CreateTaskRequestVariant2File.g.cs | 29 +++++++++++++++++++ ...ripo.Models.CreateTaskRequestVariant3.g.cs | 29 +++++++++++++++++++ ....Models.CreateTaskRequestVariant3File.g.cs | 29 +++++++++++++++++++ ...ripo.Models.CreateTaskRequestVariant4.g.cs | 29 +++++++++++++++++++ ...ripo.Models.CreateTaskRequestVariant5.g.cs | 29 +++++++++++++++++++ ...ripo.Models.CreateTaskRequestVariant6.g.cs | 29 +++++++++++++++++++ ...ripo.Models.CreateTaskRequestVariant7.g.cs | 29 +++++++++++++++++++ ...ripo.Models.CreateTaskRequestVariant8.g.cs | 29 +++++++++++++++++++ ...ripo.Models.CreateTaskRequestVariant9.g.cs | 29 +++++++++++++++++++ .../Tripo.Models.CreateTaskResponse.g.cs | 29 +++++++++++++++++++ .../Tripo.Models.GetBalanceResponse.g.cs | 29 +++++++++++++++++++ .../Tripo.Models.GetBalanceResponse2.g.cs | 29 +++++++++++++++++++ .../Tripo.Models.GetTaskResponse.g.cs | 29 +++++++++++++++++++ .../Tripo.Models.GetTaskResponse2.g.cs | 29 +++++++++++++++++++ .../Generated/Tripo.Models.SuccessTask.g.cs | 29 +++++++++++++++++++ .../Tripo.Models.SuccessTaskData.g.cs | 29 +++++++++++++++++++ .../Tripo/Generated/Tripo.Models.Task.g.cs | 29 +++++++++++++++++++ .../Generated/Tripo.Models.TaskInput.g.cs | 29 +++++++++++++++++++ .../Generated/Tripo.Models.TaskOutput.g.cs | 29 +++++++++++++++++++ .../Tripo.Models.UploadFileRequest.g.cs | 29 +++++++++++++++++++ .../Tripo.Models.UploadFileResponse.g.cs | 29 +++++++++++++++++++ .../Tripo.Models.UploadFileResponse2.g.cs | 29 +++++++++++++++++++ .../Tripo.Models.UploadFileResponseData.g.cs | 29 +++++++++++++++++++ 28 files changed, 812 insertions(+) diff --git a/src/libs/Tripo/Generated/OneOf.9.g.cs b/src/libs/Tripo/Generated/OneOf.9.g.cs index 9529704..6082e5d 100644 --- a/src/libs/Tripo/Generated/OneOf.9.g.cs +++ b/src/libs/Tripo/Generated/OneOf.9.g.cs @@ -624,5 +624,34 @@ public string ToJson( jsonSerializerOptions); } + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask?> FromJsonStream( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Tripo.OneOf), + jsonSerializerContext).ConfigureAwait(false)) as global::Tripo.OneOf?; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask?> FromJsonStream( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync?>( + jsonStream, + jsonSerializerOptions); + } + } } diff --git a/src/libs/Tripo/Generated/Tripo.Models.Balance.g.cs b/src/libs/Tripo/Generated/Tripo.Models.Balance.g.cs index 42ca8e8..f0a7aa2 100644 --- a/src/libs/Tripo/Generated/Tripo.Models.Balance.g.cs +++ b/src/libs/Tripo/Generated/Tripo.Models.Balance.g.cs @@ -85,5 +85,34 @@ public string ToJson( jsonSerializerOptions); } + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStream( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Tripo.Balance), + jsonSerializerContext).ConfigureAwait(false)) as global::Tripo.Balance; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStream( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } } \ No newline at end of file diff --git a/src/libs/Tripo/Generated/Tripo.Models.BalanceData.g.cs b/src/libs/Tripo/Generated/Tripo.Models.BalanceData.g.cs index 447e800..9ed1eda 100644 --- a/src/libs/Tripo/Generated/Tripo.Models.BalanceData.g.cs +++ b/src/libs/Tripo/Generated/Tripo.Models.BalanceData.g.cs @@ -85,5 +85,34 @@ public string ToJson( jsonSerializerOptions); } + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStream( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Tripo.BalanceData), + jsonSerializerContext).ConfigureAwait(false)) as global::Tripo.BalanceData; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStream( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } } \ No newline at end of file diff --git a/src/libs/Tripo/Generated/Tripo.Models.CreateTaskRequestVariant1.g.cs b/src/libs/Tripo/Generated/Tripo.Models.CreateTaskRequestVariant1.g.cs index 49cabde..091a8ee 100644 --- a/src/libs/Tripo/Generated/Tripo.Models.CreateTaskRequestVariant1.g.cs +++ b/src/libs/Tripo/Generated/Tripo.Models.CreateTaskRequestVariant1.g.cs @@ -116,5 +116,34 @@ public string ToJson( jsonSerializerOptions); } + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStream( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Tripo.CreateTaskRequestVariant1), + jsonSerializerContext).ConfigureAwait(false)) as global::Tripo.CreateTaskRequestVariant1; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStream( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } } \ No newline at end of file diff --git a/src/libs/Tripo/Generated/Tripo.Models.CreateTaskRequestVariant2.g.cs b/src/libs/Tripo/Generated/Tripo.Models.CreateTaskRequestVariant2.g.cs index f49a049..dd08e00 100644 --- a/src/libs/Tripo/Generated/Tripo.Models.CreateTaskRequestVariant2.g.cs +++ b/src/libs/Tripo/Generated/Tripo.Models.CreateTaskRequestVariant2.g.cs @@ -110,5 +110,34 @@ public string ToJson( jsonSerializerOptions); } + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStream( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Tripo.CreateTaskRequestVariant2), + jsonSerializerContext).ConfigureAwait(false)) as global::Tripo.CreateTaskRequestVariant2; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStream( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } } \ No newline at end of file diff --git a/src/libs/Tripo/Generated/Tripo.Models.CreateTaskRequestVariant2File.g.cs b/src/libs/Tripo/Generated/Tripo.Models.CreateTaskRequestVariant2File.g.cs index 4ec776b..e8f2e4e 100644 --- a/src/libs/Tripo/Generated/Tripo.Models.CreateTaskRequestVariant2File.g.cs +++ b/src/libs/Tripo/Generated/Tripo.Models.CreateTaskRequestVariant2File.g.cs @@ -85,5 +85,34 @@ public string ToJson( jsonSerializerOptions); } + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStream( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Tripo.CreateTaskRequestVariant2File), + jsonSerializerContext).ConfigureAwait(false)) as global::Tripo.CreateTaskRequestVariant2File; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStream( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } } \ No newline at end of file diff --git a/src/libs/Tripo/Generated/Tripo.Models.CreateTaskRequestVariant3.g.cs b/src/libs/Tripo/Generated/Tripo.Models.CreateTaskRequestVariant3.g.cs index 0c90688..73bc112 100644 --- a/src/libs/Tripo/Generated/Tripo.Models.CreateTaskRequestVariant3.g.cs +++ b/src/libs/Tripo/Generated/Tripo.Models.CreateTaskRequestVariant3.g.cs @@ -106,5 +106,34 @@ public string ToJson( jsonSerializerOptions); } + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStream( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Tripo.CreateTaskRequestVariant3), + jsonSerializerContext).ConfigureAwait(false)) as global::Tripo.CreateTaskRequestVariant3; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStream( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } } \ No newline at end of file diff --git a/src/libs/Tripo/Generated/Tripo.Models.CreateTaskRequestVariant3File.g.cs b/src/libs/Tripo/Generated/Tripo.Models.CreateTaskRequestVariant3File.g.cs index c03a844..1584c51 100644 --- a/src/libs/Tripo/Generated/Tripo.Models.CreateTaskRequestVariant3File.g.cs +++ b/src/libs/Tripo/Generated/Tripo.Models.CreateTaskRequestVariant3File.g.cs @@ -85,5 +85,34 @@ public string ToJson( jsonSerializerOptions); } + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStream( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Tripo.CreateTaskRequestVariant3File), + jsonSerializerContext).ConfigureAwait(false)) as global::Tripo.CreateTaskRequestVariant3File; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStream( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } } \ No newline at end of file diff --git a/src/libs/Tripo/Generated/Tripo.Models.CreateTaskRequestVariant4.g.cs b/src/libs/Tripo/Generated/Tripo.Models.CreateTaskRequestVariant4.g.cs index 1d0c9a0..018932c 100644 --- a/src/libs/Tripo/Generated/Tripo.Models.CreateTaskRequestVariant4.g.cs +++ b/src/libs/Tripo/Generated/Tripo.Models.CreateTaskRequestVariant4.g.cs @@ -85,5 +85,34 @@ public string ToJson( jsonSerializerOptions); } + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStream( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Tripo.CreateTaskRequestVariant4), + jsonSerializerContext).ConfigureAwait(false)) as global::Tripo.CreateTaskRequestVariant4; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStream( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } } \ No newline at end of file diff --git a/src/libs/Tripo/Generated/Tripo.Models.CreateTaskRequestVariant5.g.cs b/src/libs/Tripo/Generated/Tripo.Models.CreateTaskRequestVariant5.g.cs index 9891e36..ac328c2 100644 --- a/src/libs/Tripo/Generated/Tripo.Models.CreateTaskRequestVariant5.g.cs +++ b/src/libs/Tripo/Generated/Tripo.Models.CreateTaskRequestVariant5.g.cs @@ -85,5 +85,34 @@ public string ToJson( jsonSerializerOptions); } + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStream( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Tripo.CreateTaskRequestVariant5), + jsonSerializerContext).ConfigureAwait(false)) as global::Tripo.CreateTaskRequestVariant5; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStream( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } } \ No newline at end of file diff --git a/src/libs/Tripo/Generated/Tripo.Models.CreateTaskRequestVariant6.g.cs b/src/libs/Tripo/Generated/Tripo.Models.CreateTaskRequestVariant6.g.cs index cdc4383..e52606c 100644 --- a/src/libs/Tripo/Generated/Tripo.Models.CreateTaskRequestVariant6.g.cs +++ b/src/libs/Tripo/Generated/Tripo.Models.CreateTaskRequestVariant6.g.cs @@ -91,5 +91,34 @@ public string ToJson( jsonSerializerOptions); } + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStream( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Tripo.CreateTaskRequestVariant6), + jsonSerializerContext).ConfigureAwait(false)) as global::Tripo.CreateTaskRequestVariant6; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStream( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } } \ No newline at end of file diff --git a/src/libs/Tripo/Generated/Tripo.Models.CreateTaskRequestVariant7.g.cs b/src/libs/Tripo/Generated/Tripo.Models.CreateTaskRequestVariant7.g.cs index a674eb9..59be7c4 100644 --- a/src/libs/Tripo/Generated/Tripo.Models.CreateTaskRequestVariant7.g.cs +++ b/src/libs/Tripo/Generated/Tripo.Models.CreateTaskRequestVariant7.g.cs @@ -99,5 +99,34 @@ public string ToJson( jsonSerializerOptions); } + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStream( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Tripo.CreateTaskRequestVariant7), + jsonSerializerContext).ConfigureAwait(false)) as global::Tripo.CreateTaskRequestVariant7; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStream( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } } \ No newline at end of file diff --git a/src/libs/Tripo/Generated/Tripo.Models.CreateTaskRequestVariant8.g.cs b/src/libs/Tripo/Generated/Tripo.Models.CreateTaskRequestVariant8.g.cs index 32ee5ca..7cd8a2c 100644 --- a/src/libs/Tripo/Generated/Tripo.Models.CreateTaskRequestVariant8.g.cs +++ b/src/libs/Tripo/Generated/Tripo.Models.CreateTaskRequestVariant8.g.cs @@ -99,5 +99,34 @@ public string ToJson( jsonSerializerOptions); } + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStream( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Tripo.CreateTaskRequestVariant8), + jsonSerializerContext).ConfigureAwait(false)) as global::Tripo.CreateTaskRequestVariant8; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStream( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } } \ No newline at end of file diff --git a/src/libs/Tripo/Generated/Tripo.Models.CreateTaskRequestVariant9.g.cs b/src/libs/Tripo/Generated/Tripo.Models.CreateTaskRequestVariant9.g.cs index e00695e..3d57ce8 100644 --- a/src/libs/Tripo/Generated/Tripo.Models.CreateTaskRequestVariant9.g.cs +++ b/src/libs/Tripo/Generated/Tripo.Models.CreateTaskRequestVariant9.g.cs @@ -142,5 +142,34 @@ public string ToJson( jsonSerializerOptions); } + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStream( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Tripo.CreateTaskRequestVariant9), + jsonSerializerContext).ConfigureAwait(false)) as global::Tripo.CreateTaskRequestVariant9; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStream( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } } \ No newline at end of file diff --git a/src/libs/Tripo/Generated/Tripo.Models.CreateTaskResponse.g.cs b/src/libs/Tripo/Generated/Tripo.Models.CreateTaskResponse.g.cs index 8944533..684f069 100644 --- a/src/libs/Tripo/Generated/Tripo.Models.CreateTaskResponse.g.cs +++ b/src/libs/Tripo/Generated/Tripo.Models.CreateTaskResponse.g.cs @@ -92,5 +92,34 @@ public string ToJson( jsonSerializerOptions); } + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStream( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Tripo.CreateTaskResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Tripo.CreateTaskResponse; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStream( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } } \ No newline at end of file diff --git a/src/libs/Tripo/Generated/Tripo.Models.GetBalanceResponse.g.cs b/src/libs/Tripo/Generated/Tripo.Models.GetBalanceResponse.g.cs index 9cd04fd..3ea3239 100644 --- a/src/libs/Tripo/Generated/Tripo.Models.GetBalanceResponse.g.cs +++ b/src/libs/Tripo/Generated/Tripo.Models.GetBalanceResponse.g.cs @@ -85,5 +85,34 @@ public string ToJson( jsonSerializerOptions); } + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStream( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Tripo.GetBalanceResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Tripo.GetBalanceResponse; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStream( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } } \ No newline at end of file diff --git a/src/libs/Tripo/Generated/Tripo.Models.GetBalanceResponse2.g.cs b/src/libs/Tripo/Generated/Tripo.Models.GetBalanceResponse2.g.cs index 4347182..5c5faf0 100644 --- a/src/libs/Tripo/Generated/Tripo.Models.GetBalanceResponse2.g.cs +++ b/src/libs/Tripo/Generated/Tripo.Models.GetBalanceResponse2.g.cs @@ -92,5 +92,34 @@ public string ToJson( jsonSerializerOptions); } + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStream( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Tripo.GetBalanceResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::Tripo.GetBalanceResponse2; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStream( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } } \ No newline at end of file diff --git a/src/libs/Tripo/Generated/Tripo.Models.GetTaskResponse.g.cs b/src/libs/Tripo/Generated/Tripo.Models.GetTaskResponse.g.cs index 5adde25..7d7e737 100644 --- a/src/libs/Tripo/Generated/Tripo.Models.GetTaskResponse.g.cs +++ b/src/libs/Tripo/Generated/Tripo.Models.GetTaskResponse.g.cs @@ -85,5 +85,34 @@ public string ToJson( jsonSerializerOptions); } + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStream( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Tripo.GetTaskResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Tripo.GetTaskResponse; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStream( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } } \ No newline at end of file diff --git a/src/libs/Tripo/Generated/Tripo.Models.GetTaskResponse2.g.cs b/src/libs/Tripo/Generated/Tripo.Models.GetTaskResponse2.g.cs index 799c7c1..a41c23d 100644 --- a/src/libs/Tripo/Generated/Tripo.Models.GetTaskResponse2.g.cs +++ b/src/libs/Tripo/Generated/Tripo.Models.GetTaskResponse2.g.cs @@ -92,5 +92,34 @@ public string ToJson( jsonSerializerOptions); } + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStream( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Tripo.GetTaskResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::Tripo.GetTaskResponse2; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStream( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } } \ No newline at end of file diff --git a/src/libs/Tripo/Generated/Tripo.Models.SuccessTask.g.cs b/src/libs/Tripo/Generated/Tripo.Models.SuccessTask.g.cs index 7bb201f..36ef54e 100644 --- a/src/libs/Tripo/Generated/Tripo.Models.SuccessTask.g.cs +++ b/src/libs/Tripo/Generated/Tripo.Models.SuccessTask.g.cs @@ -85,5 +85,34 @@ public string ToJson( jsonSerializerOptions); } + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStream( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Tripo.SuccessTask), + jsonSerializerContext).ConfigureAwait(false)) as global::Tripo.SuccessTask; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStream( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } } \ No newline at end of file diff --git a/src/libs/Tripo/Generated/Tripo.Models.SuccessTaskData.g.cs b/src/libs/Tripo/Generated/Tripo.Models.SuccessTaskData.g.cs index 579ddc8..986a046 100644 --- a/src/libs/Tripo/Generated/Tripo.Models.SuccessTaskData.g.cs +++ b/src/libs/Tripo/Generated/Tripo.Models.SuccessTaskData.g.cs @@ -78,5 +78,34 @@ public string ToJson( jsonSerializerOptions); } + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStream( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Tripo.SuccessTaskData), + jsonSerializerContext).ConfigureAwait(false)) as global::Tripo.SuccessTaskData; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStream( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } } \ No newline at end of file diff --git a/src/libs/Tripo/Generated/Tripo.Models.Task.g.cs b/src/libs/Tripo/Generated/Tripo.Models.Task.g.cs index f604348..1677901 100644 --- a/src/libs/Tripo/Generated/Tripo.Models.Task.g.cs +++ b/src/libs/Tripo/Generated/Tripo.Models.Task.g.cs @@ -121,5 +121,34 @@ public string ToJson( jsonSerializerOptions); } + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStream( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Tripo.Task), + jsonSerializerContext).ConfigureAwait(false)) as global::Tripo.Task; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStream( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } } \ No newline at end of file diff --git a/src/libs/Tripo/Generated/Tripo.Models.TaskInput.g.cs b/src/libs/Tripo/Generated/Tripo.Models.TaskInput.g.cs index a0aaeed..56eccd9 100644 --- a/src/libs/Tripo/Generated/Tripo.Models.TaskInput.g.cs +++ b/src/libs/Tripo/Generated/Tripo.Models.TaskInput.g.cs @@ -72,5 +72,34 @@ public string ToJson( jsonSerializerOptions); } + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStream( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Tripo.TaskInput), + jsonSerializerContext).ConfigureAwait(false)) as global::Tripo.TaskInput; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStream( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } } \ No newline at end of file diff --git a/src/libs/Tripo/Generated/Tripo.Models.TaskOutput.g.cs b/src/libs/Tripo/Generated/Tripo.Models.TaskOutput.g.cs index e2435f8..4e3742e 100644 --- a/src/libs/Tripo/Generated/Tripo.Models.TaskOutput.g.cs +++ b/src/libs/Tripo/Generated/Tripo.Models.TaskOutput.g.cs @@ -95,5 +95,34 @@ public string ToJson( jsonSerializerOptions); } + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStream( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Tripo.TaskOutput), + jsonSerializerContext).ConfigureAwait(false)) as global::Tripo.TaskOutput; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStream( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } } \ No newline at end of file diff --git a/src/libs/Tripo/Generated/Tripo.Models.UploadFileRequest.g.cs b/src/libs/Tripo/Generated/Tripo.Models.UploadFileRequest.g.cs index 172ab2b..96aa808 100644 --- a/src/libs/Tripo/Generated/Tripo.Models.UploadFileRequest.g.cs +++ b/src/libs/Tripo/Generated/Tripo.Models.UploadFileRequest.g.cs @@ -85,5 +85,34 @@ public string ToJson( jsonSerializerOptions); } + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStream( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Tripo.UploadFileRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::Tripo.UploadFileRequest; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStream( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } } \ No newline at end of file diff --git a/src/libs/Tripo/Generated/Tripo.Models.UploadFileResponse.g.cs b/src/libs/Tripo/Generated/Tripo.Models.UploadFileResponse.g.cs index 2440520..430c15d 100644 --- a/src/libs/Tripo/Generated/Tripo.Models.UploadFileResponse.g.cs +++ b/src/libs/Tripo/Generated/Tripo.Models.UploadFileResponse.g.cs @@ -85,5 +85,34 @@ public string ToJson( jsonSerializerOptions); } + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStream( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Tripo.UploadFileResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Tripo.UploadFileResponse; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStream( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } } \ No newline at end of file diff --git a/src/libs/Tripo/Generated/Tripo.Models.UploadFileResponse2.g.cs b/src/libs/Tripo/Generated/Tripo.Models.UploadFileResponse2.g.cs index fed0d36..088aea7 100644 --- a/src/libs/Tripo/Generated/Tripo.Models.UploadFileResponse2.g.cs +++ b/src/libs/Tripo/Generated/Tripo.Models.UploadFileResponse2.g.cs @@ -92,5 +92,34 @@ public string ToJson( jsonSerializerOptions); } + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStream( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Tripo.UploadFileResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::Tripo.UploadFileResponse2; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStream( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } } \ No newline at end of file diff --git a/src/libs/Tripo/Generated/Tripo.Models.UploadFileResponseData.g.cs b/src/libs/Tripo/Generated/Tripo.Models.UploadFileResponseData.g.cs index 003d0a1..3740795 100644 --- a/src/libs/Tripo/Generated/Tripo.Models.UploadFileResponseData.g.cs +++ b/src/libs/Tripo/Generated/Tripo.Models.UploadFileResponseData.g.cs @@ -78,5 +78,34 @@ public string ToJson( jsonSerializerOptions); } + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStream( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Tripo.UploadFileResponseData), + jsonSerializerContext).ConfigureAwait(false)) as global::Tripo.UploadFileResponseData; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStream( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } } \ No newline at end of file