diff --git a/src/libs/Instill/Generated/Instill.Models.AIAssistantAppMetadata.g.cs b/src/libs/Instill/Generated/Instill.Models.AIAssistantAppMetadata.g.cs index e58b3bc..849ff31 100644 --- a/src/libs/Instill/Generated/Instill.Models.AIAssistantAppMetadata.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.AIAssistantAppMetadata.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::Instill.AIAssistantAppMetadata), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.AIAssistantAppMetadata; + } + + /// + /// 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/Instill/Generated/Instill.Models.AIObject.g.cs b/src/libs/Instill/Generated/Instill.Models.AIObject.g.cs index 7833037..c8e55ba 100644 --- a/src/libs/Instill/Generated/Instill.Models.AIObject.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.AIObject.g.cs @@ -143,5 +143,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::Instill.AIObject), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.AIObject; + } + + /// + /// 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/Instill/Generated/Instill.Models.Any.g.cs b/src/libs/Instill/Generated/Instill.Models.Any.g.cs index b4e6baa..b50f120 100644 --- a/src/libs/Instill/Generated/Instill.Models.Any.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.Any.g.cs @@ -169,5 +169,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::Instill.Any), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.Any; + } + + /// + /// 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/Instill/Generated/Instill.Models.Any2.g.cs b/src/libs/Instill/Generated/Instill.Models.Any2.g.cs index f6d2ee8..c096085 100644 --- a/src/libs/Instill/Generated/Instill.Models.Any2.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.Any2.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::Instill.Any2), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.Any2; + } + + /// + /// 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/Instill/Generated/Instill.Models.ApiToken.g.cs b/src/libs/Instill/Generated/Instill.Models.ApiToken.g.cs index 18bce33..ddc4cce 100644 --- a/src/libs/Instill/Generated/Instill.Models.ApiToken.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ApiToken.g.cs @@ -154,5 +154,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::Instill.ApiToken), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ApiToken; + } + + /// + /// 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/Instill/Generated/Instill.Models.App.g.cs b/src/libs/Instill/Generated/Instill.Models.App.g.cs index f419bc5..6e667d2 100644 --- a/src/libs/Instill/Generated/Instill.Models.App.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.App.g.cs @@ -138,5 +138,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::Instill.App), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.App; + } + + /// + /// 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/Instill/Generated/Instill.Models.AppPublicServiceChatResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.AppPublicServiceChatResponse.g.cs index 2988c4d..6459d9b 100644 --- a/src/libs/Instill/Generated/Instill.Models.AppPublicServiceChatResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.AppPublicServiceChatResponse.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::Instill.AppPublicServiceChatResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.AppPublicServiceChatResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.AppPublicServiceCreateAppResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.AppPublicServiceCreateAppResponse.g.cs index 6cbf859..a05bfb7 100644 --- a/src/libs/Instill/Generated/Instill.Models.AppPublicServiceCreateAppResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.AppPublicServiceCreateAppResponse.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::Instill.AppPublicServiceCreateAppResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.AppPublicServiceCreateAppResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.AppPublicServiceCreateConversationResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.AppPublicServiceCreateConversationResponse.g.cs index 4495749..d66e0fc 100644 --- a/src/libs/Instill/Generated/Instill.Models.AppPublicServiceCreateConversationResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.AppPublicServiceCreateConversationResponse.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::Instill.AppPublicServiceCreateConversationResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.AppPublicServiceCreateConversationResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.AppPublicServiceCreateMessageResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.AppPublicServiceCreateMessageResponse.g.cs index 86e4fd6..c337ce3 100644 --- a/src/libs/Instill/Generated/Instill.Models.AppPublicServiceCreateMessageResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.AppPublicServiceCreateMessageResponse.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::Instill.AppPublicServiceCreateMessageResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.AppPublicServiceCreateMessageResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.AppPublicServiceDeleteAppResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.AppPublicServiceDeleteAppResponse.g.cs index c6039a9..8c97100 100644 --- a/src/libs/Instill/Generated/Instill.Models.AppPublicServiceDeleteAppResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.AppPublicServiceDeleteAppResponse.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::Instill.AppPublicServiceDeleteAppResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.AppPublicServiceDeleteAppResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.AppPublicServiceDeleteConversationResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.AppPublicServiceDeleteConversationResponse.g.cs index 55a9d78..d19681d 100644 --- a/src/libs/Instill/Generated/Instill.Models.AppPublicServiceDeleteConversationResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.AppPublicServiceDeleteConversationResponse.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::Instill.AppPublicServiceDeleteConversationResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.AppPublicServiceDeleteConversationResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.AppPublicServiceDeleteMessageResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.AppPublicServiceDeleteMessageResponse.g.cs index ae60680..9f1b089 100644 --- a/src/libs/Instill/Generated/Instill.Models.AppPublicServiceDeleteMessageResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.AppPublicServiceDeleteMessageResponse.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::Instill.AppPublicServiceDeleteMessageResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.AppPublicServiceDeleteMessageResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.AppPublicServiceGetPlaygroundConversationResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.AppPublicServiceGetPlaygroundConversationResponse.g.cs index 9408882..6f46461 100644 --- a/src/libs/Instill/Generated/Instill.Models.AppPublicServiceGetPlaygroundConversationResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.AppPublicServiceGetPlaygroundConversationResponse.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::Instill.AppPublicServiceGetPlaygroundConversationResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.AppPublicServiceGetPlaygroundConversationResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.AppPublicServiceListAppsResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.AppPublicServiceListAppsResponse.g.cs index 2683874..1a5198a 100644 --- a/src/libs/Instill/Generated/Instill.Models.AppPublicServiceListAppsResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.AppPublicServiceListAppsResponse.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::Instill.AppPublicServiceListAppsResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.AppPublicServiceListAppsResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.AppPublicServiceListConversationsResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.AppPublicServiceListConversationsResponse.g.cs index 632408a..41762af 100644 --- a/src/libs/Instill/Generated/Instill.Models.AppPublicServiceListConversationsResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.AppPublicServiceListConversationsResponse.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::Instill.AppPublicServiceListConversationsResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.AppPublicServiceListConversationsResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.AppPublicServiceListMessagesResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.AppPublicServiceListMessagesResponse.g.cs index 035fc8f..2166802 100644 --- a/src/libs/Instill/Generated/Instill.Models.AppPublicServiceListMessagesResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.AppPublicServiceListMessagesResponse.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::Instill.AppPublicServiceListMessagesResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.AppPublicServiceListMessagesResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.AppPublicServiceRestartPlaygroundConversationResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.AppPublicServiceRestartPlaygroundConversationResponse.g.cs index fe6aec1..818eb3d 100644 --- a/src/libs/Instill/Generated/Instill.Models.AppPublicServiceRestartPlaygroundConversationResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.AppPublicServiceRestartPlaygroundConversationResponse.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::Instill.AppPublicServiceRestartPlaygroundConversationResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.AppPublicServiceRestartPlaygroundConversationResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.AppPublicServiceUpdateAppResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.AppPublicServiceUpdateAppResponse.g.cs index 72f3f38..82a1102 100644 --- a/src/libs/Instill/Generated/Instill.Models.AppPublicServiceUpdateAppResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.AppPublicServiceUpdateAppResponse.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::Instill.AppPublicServiceUpdateAppResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.AppPublicServiceUpdateAppResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.AppPublicServiceUpdateConversationResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.AppPublicServiceUpdateConversationResponse.g.cs index d79aeb9..57df723 100644 --- a/src/libs/Instill/Generated/Instill.Models.AppPublicServiceUpdateConversationResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.AppPublicServiceUpdateConversationResponse.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::Instill.AppPublicServiceUpdateConversationResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.AppPublicServiceUpdateConversationResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.AppPublicServiceUpdateMessageResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.AppPublicServiceUpdateMessageResponse.g.cs index 2385782..ac1e860 100644 --- a/src/libs/Instill/Generated/Instill.Models.AppPublicServiceUpdateMessageResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.AppPublicServiceUpdateMessageResponse.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::Instill.AppPublicServiceUpdateMessageResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.AppPublicServiceUpdateMessageResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.AppV1alphaMessage.g.cs b/src/libs/Instill/Generated/Instill.Models.AppV1alphaMessage.g.cs index 4042734..cb4cc9a 100644 --- a/src/libs/Instill/Generated/Instill.Models.AppV1alphaMessage.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.AppV1alphaMessage.g.cs @@ -128,5 +128,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::Instill.AppV1alphaMessage), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.AppV1alphaMessage; + } + + /// + /// 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/Instill/Generated/Instill.Models.AuthenticatedUser.g.cs b/src/libs/Instill/Generated/Instill.Models.AuthenticatedUser.g.cs index 07e93e9..a8ee118 100644 --- a/src/libs/Instill/Generated/Instill.Models.AuthenticatedUser.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.AuthenticatedUser.g.cs @@ -168,5 +168,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::Instill.AuthenticatedUser), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.AuthenticatedUser; + } + + /// + /// 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/Instill/Generated/Instill.Models.Catalog.g.cs b/src/libs/Instill/Generated/Instill.Models.Catalog.g.cs index 5b3191d..2e12ef0 100644 --- a/src/libs/Instill/Generated/Instill.Models.Catalog.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.Catalog.g.cs @@ -162,5 +162,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::Instill.Catalog), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.Catalog; + } + + /// + /// 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/Instill/Generated/Instill.Models.CatalogRun.g.cs b/src/libs/Instill/Generated/Instill.Models.CatalogRun.g.cs index 52e1a7d..5af97fd 100644 --- a/src/libs/Instill/Generated/Instill.Models.CatalogRun.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.CatalogRun.g.cs @@ -170,5 +170,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::Instill.CatalogRun), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.CatalogRun; + } + + /// + /// 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/Instill/Generated/Instill.Models.CatalogRunPayload.g.cs b/src/libs/Instill/Generated/Instill.Models.CatalogRunPayload.g.cs index 09bb1e4..ecffcec 100644 --- a/src/libs/Instill/Generated/Instill.Models.CatalogRunPayload.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.CatalogRunPayload.g.cs @@ -73,5 +73,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::Instill.CatalogRunPayload), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.CatalogRunPayload; + } + + /// + /// 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/Instill/Generated/Instill.Models.ChatBody.g.cs b/src/libs/Instill/Generated/Instill.Models.ChatBody.g.cs index a71fe9f..810563b 100644 --- a/src/libs/Instill/Generated/Instill.Models.ChatBody.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ChatBody.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::Instill.ChatBody), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ChatBody; + } + + /// + /// 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/Instill/Generated/Instill.Models.ChatResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ChatResponse.g.cs index 112a9e8..54b221b 100644 --- a/src/libs/Instill/Generated/Instill.Models.ChatResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ChatResponse.g.cs @@ -84,5 +84,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::Instill.ChatResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ChatResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ChatResponseOutput.g.cs b/src/libs/Instill/Generated/Instill.Models.ChatResponseOutput.g.cs index 5d6c96a..d436617 100644 --- a/src/libs/Instill/Generated/Instill.Models.ChatResponseOutput.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ChatResponseOutput.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::Instill.ChatResponseOutput), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ChatResponseOutput; + } + + /// + /// 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/Instill/Generated/Instill.Models.CheckNamespaceAdminResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.CheckNamespaceAdminResponse.g.cs index d44427a..6d142c1 100644 --- a/src/libs/Instill/Generated/Instill.Models.CheckNamespaceAdminResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.CheckNamespaceAdminResponse.g.cs @@ -97,5 +97,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::Instill.CheckNamespaceAdminResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.CheckNamespaceAdminResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.CheckNamespaceByUIDAdminResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.CheckNamespaceByUIDAdminResponse.g.cs index 0adc1b5..3bc05cf 100644 --- a/src/libs/Instill/Generated/Instill.Models.CheckNamespaceByUIDAdminResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.CheckNamespaceByUIDAdminResponse.g.cs @@ -97,5 +97,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::Instill.CheckNamespaceByUIDAdminResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.CheckNamespaceByUIDAdminResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.CheckNamespaceRequest.g.cs b/src/libs/Instill/Generated/Instill.Models.CheckNamespaceRequest.g.cs index 68d2e21..be0343b 100644 --- a/src/libs/Instill/Generated/Instill.Models.CheckNamespaceRequest.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.CheckNamespaceRequest.g.cs @@ -79,5 +79,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::Instill.CheckNamespaceRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.CheckNamespaceRequest; + } + + /// + /// 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/Instill/Generated/Instill.Models.CheckNamespaceResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.CheckNamespaceResponse.g.cs index ea1c2c0..6cb4817 100644 --- a/src/libs/Instill/Generated/Instill.Models.CheckNamespaceResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.CheckNamespaceResponse.g.cs @@ -79,5 +79,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::Instill.CheckNamespaceResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.CheckNamespaceResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.CheckNamespaceResponse2.g.cs b/src/libs/Instill/Generated/Instill.Models.CheckNamespaceResponse2.g.cs index 79f5b05..bdc2fe0 100644 --- a/src/libs/Instill/Generated/Instill.Models.CheckNamespaceResponse2.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.CheckNamespaceResponse2.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::Instill.CheckNamespaceResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.CheckNamespaceResponse2; + } + + /// + /// 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/Instill/Generated/Instill.Models.Chunk.g.cs b/src/libs/Instill/Generated/Instill.Models.Chunk.g.cs index 870c887..55c1578 100644 --- a/src/libs/Instill/Generated/Instill.Models.Chunk.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.Chunk.g.cs @@ -113,5 +113,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::Instill.Chunk), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.Chunk; + } + + /// + /// 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/Instill/Generated/Instill.Models.CloneNamespacePipelineBody.g.cs b/src/libs/Instill/Generated/Instill.Models.CloneNamespacePipelineBody.g.cs index 3df80d1..89874b8 100644 --- a/src/libs/Instill/Generated/Instill.Models.CloneNamespacePipelineBody.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.CloneNamespacePipelineBody.g.cs @@ -98,5 +98,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::Instill.CloneNamespacePipelineBody), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.CloneNamespacePipelineBody; + } + + /// + /// 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/Instill/Generated/Instill.Models.CloneNamespacePipelineReleaseBody.g.cs b/src/libs/Instill/Generated/Instill.Models.CloneNamespacePipelineReleaseBody.g.cs index 5d449bc..bbfe8a0 100644 --- a/src/libs/Instill/Generated/Instill.Models.CloneNamespacePipelineReleaseBody.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.CloneNamespacePipelineReleaseBody.g.cs @@ -98,5 +98,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::Instill.CloneNamespacePipelineReleaseBody), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.CloneNamespacePipelineReleaseBody; + } + + /// + /// 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/Instill/Generated/Instill.Models.CloneNamespacePipelineReleaseResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.CloneNamespacePipelineReleaseResponse.g.cs index af9935a..4ae7f6b 100644 --- a/src/libs/Instill/Generated/Instill.Models.CloneNamespacePipelineReleaseResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.CloneNamespacePipelineReleaseResponse.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::Instill.CloneNamespacePipelineReleaseResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.CloneNamespacePipelineReleaseResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.CloneNamespacePipelineResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.CloneNamespacePipelineResponse.g.cs index fa7720e..95a1fd9 100644 --- a/src/libs/Instill/Generated/Instill.Models.CloneNamespacePipelineResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.CloneNamespacePipelineResponse.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::Instill.CloneNamespacePipelineResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.CloneNamespacePipelineResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ComponentDefinition.g.cs b/src/libs/Instill/Generated/Instill.Models.ComponentDefinition.g.cs index 7432b3f..a5c8852 100644 --- a/src/libs/Instill/Generated/Instill.Models.ComponentDefinition.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ComponentDefinition.g.cs @@ -207,5 +207,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::Instill.ComponentDefinition), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ComponentDefinition; + } + + /// + /// 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/Instill/Generated/Instill.Models.ComponentDefinitionVendorAttributes.g.cs b/src/libs/Instill/Generated/Instill.Models.ComponentDefinitionVendorAttributes.g.cs index b48bfb6..2cbb817 100644 --- a/src/libs/Instill/Generated/Instill.Models.ComponentDefinitionVendorAttributes.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ComponentDefinitionVendorAttributes.g.cs @@ -73,5 +73,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::Instill.ComponentDefinitionVendorAttributes), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ComponentDefinitionVendorAttributes; + } + + /// + /// 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/Instill/Generated/Instill.Models.ComponentRun.g.cs b/src/libs/Instill/Generated/Instill.Models.ComponentRun.g.cs index 6e6a930..ca61af4 100644 --- a/src/libs/Instill/Generated/Instill.Models.ComponentRun.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ComponentRun.g.cs @@ -156,5 +156,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::Instill.ComponentRun), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ComponentRun; + } + + /// + /// 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/Instill/Generated/Instill.Models.ComponentRunInput.g.cs b/src/libs/Instill/Generated/Instill.Models.ComponentRunInput.g.cs index 62abab1..c54baf0 100644 --- a/src/libs/Instill/Generated/Instill.Models.ComponentRunInput.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ComponentRunInput.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::Instill.ComponentRunInput), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ComponentRunInput; + } + + /// + /// 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/Instill/Generated/Instill.Models.ComponentRunOutput.g.cs b/src/libs/Instill/Generated/Instill.Models.ComponentRunOutput.g.cs index 92995d1..5b9a5e7 100644 --- a/src/libs/Instill/Generated/Instill.Models.ComponentRunOutput.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ComponentRunOutput.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::Instill.ComponentRunOutput), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ComponentRunOutput; + } + + /// + /// 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/Instill/Generated/Instill.Models.ComponentTask.g.cs b/src/libs/Instill/Generated/Instill.Models.ComponentTask.g.cs index 75960bf..fb0632a 100644 --- a/src/libs/Instill/Generated/Instill.Models.ComponentTask.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ComponentTask.g.cs @@ -93,5 +93,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::Instill.ComponentTask), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ComponentTask; + } + + /// + /// 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/Instill/Generated/Instill.Models.Connection.g.cs b/src/libs/Instill/Generated/Instill.Models.Connection.g.cs index 1508094..03aac00 100644 --- a/src/libs/Instill/Generated/Instill.Models.Connection.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.Connection.g.cs @@ -174,5 +174,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::Instill.Connection), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.Connection; + } + + /// + /// 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/Instill/Generated/Instill.Models.ConnectionOAuthAccessDetails.g.cs b/src/libs/Instill/Generated/Instill.Models.ConnectionOAuthAccessDetails.g.cs index e114f86..3d16f0a 100644 --- a/src/libs/Instill/Generated/Instill.Models.ConnectionOAuthAccessDetails.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ConnectionOAuthAccessDetails.g.cs @@ -74,5 +74,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::Instill.ConnectionOAuthAccessDetails), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ConnectionOAuthAccessDetails; + } + + /// + /// 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/Instill/Generated/Instill.Models.ConnectionSetup.g.cs b/src/libs/Instill/Generated/Instill.Models.ConnectionSetup.g.cs index 462ab22..87be4fa 100644 --- a/src/libs/Instill/Generated/Instill.Models.ConnectionSetup.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ConnectionSetup.g.cs @@ -73,5 +73,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::Instill.ConnectionSetup), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ConnectionSetup; + } + + /// + /// 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/Instill/Generated/Instill.Models.Conversation.g.cs b/src/libs/Instill/Generated/Instill.Models.Conversation.g.cs index 25539cf..4ec87dc 100644 --- a/src/libs/Instill/Generated/Instill.Models.Conversation.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.Conversation.g.cs @@ -122,5 +122,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::Instill.Conversation), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.Conversation; + } + + /// + /// 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/Instill/Generated/Instill.Models.CreateAppBody.g.cs b/src/libs/Instill/Generated/Instill.Models.CreateAppBody.g.cs index 54ded67..8bf7dc0 100644 --- a/src/libs/Instill/Generated/Instill.Models.CreateAppBody.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.CreateAppBody.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::Instill.CreateAppBody), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.CreateAppBody; + } + + /// + /// 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/Instill/Generated/Instill.Models.CreateAppResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.CreateAppResponse.g.cs index 7cfc400..089b40c 100644 --- a/src/libs/Instill/Generated/Instill.Models.CreateAppResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.CreateAppResponse.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::Instill.CreateAppResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.CreateAppResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.CreateCatalogBody.g.cs b/src/libs/Instill/Generated/Instill.Models.CreateCatalogBody.g.cs index baa2873..dd2aa30 100644 --- a/src/libs/Instill/Generated/Instill.Models.CreateCatalogBody.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.CreateCatalogBody.g.cs @@ -89,5 +89,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::Instill.CreateCatalogBody), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.CreateCatalogBody; + } + + /// + /// 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/Instill/Generated/Instill.Models.CreateCatalogResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.CreateCatalogResponse.g.cs index 6f4e6e3..ebdc9f8 100644 --- a/src/libs/Instill/Generated/Instill.Models.CreateCatalogResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.CreateCatalogResponse.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::Instill.CreateCatalogResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.CreateCatalogResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.CreateCatalogResponse2.g.cs b/src/libs/Instill/Generated/Instill.Models.CreateCatalogResponse2.g.cs index 9d2eed6..0da1f6f 100644 --- a/src/libs/Instill/Generated/Instill.Models.CreateCatalogResponse2.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.CreateCatalogResponse2.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::Instill.CreateCatalogResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.CreateCatalogResponse2; + } + + /// + /// 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/Instill/Generated/Instill.Models.CreateConversationBody.g.cs b/src/libs/Instill/Generated/Instill.Models.CreateConversationBody.g.cs index b7afa0e..45ce733 100644 --- a/src/libs/Instill/Generated/Instill.Models.CreateConversationBody.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.CreateConversationBody.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::Instill.CreateConversationBody), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.CreateConversationBody; + } + + /// + /// 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/Instill/Generated/Instill.Models.CreateConversationResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.CreateConversationResponse.g.cs index e7fd6da..9a841e7 100644 --- a/src/libs/Instill/Generated/Instill.Models.CreateConversationResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.CreateConversationResponse.g.cs @@ -77,5 +77,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::Instill.CreateConversationResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.CreateConversationResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.CreateMessageBody.g.cs b/src/libs/Instill/Generated/Instill.Models.CreateMessageBody.g.cs index 3bc0d7a..98c051e 100644 --- a/src/libs/Instill/Generated/Instill.Models.CreateMessageBody.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.CreateMessageBody.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::Instill.CreateMessageBody), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.CreateMessageBody; + } + + /// + /// 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/Instill/Generated/Instill.Models.CreateMessageResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.CreateMessageResponse.g.cs index 5bd0bcf..784993c 100644 --- a/src/libs/Instill/Generated/Instill.Models.CreateMessageResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.CreateMessageResponse.g.cs @@ -77,5 +77,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::Instill.CreateMessageResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.CreateMessageResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.CreateNamespaceConnectionResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.CreateNamespaceConnectionResponse.g.cs index 76b2d7c..3d27edb 100644 --- a/src/libs/Instill/Generated/Instill.Models.CreateNamespaceConnectionResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.CreateNamespaceConnectionResponse.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::Instill.CreateNamespaceConnectionResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.CreateNamespaceConnectionResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.CreateNamespaceModelResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.CreateNamespaceModelResponse.g.cs index 0eddfef..1419a59 100644 --- a/src/libs/Instill/Generated/Instill.Models.CreateNamespaceModelResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.CreateNamespaceModelResponse.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::Instill.CreateNamespaceModelResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.CreateNamespaceModelResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.CreateNamespacePipelineReleaseResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.CreateNamespacePipelineReleaseResponse.g.cs index 34f7328..05b8448 100644 --- a/src/libs/Instill/Generated/Instill.Models.CreateNamespacePipelineReleaseResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.CreateNamespacePipelineReleaseResponse.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::Instill.CreateNamespacePipelineReleaseResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.CreateNamespacePipelineReleaseResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.CreateNamespacePipelineResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.CreateNamespacePipelineResponse.g.cs index d8f004c..bed3b14 100644 --- a/src/libs/Instill/Generated/Instill.Models.CreateNamespacePipelineResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.CreateNamespacePipelineResponse.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::Instill.CreateNamespacePipelineResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.CreateNamespacePipelineResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.CreateNamespaceSecretResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.CreateNamespaceSecretResponse.g.cs index 11e4381..ddb5175 100644 --- a/src/libs/Instill/Generated/Instill.Models.CreateNamespaceSecretResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.CreateNamespaceSecretResponse.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::Instill.CreateNamespaceSecretResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.CreateNamespaceSecretResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.CreateOrganizationResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.CreateOrganizationResponse.g.cs index a527d7c..7219134 100644 --- a/src/libs/Instill/Generated/Instill.Models.CreateOrganizationResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.CreateOrganizationResponse.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::Instill.CreateOrganizationResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.CreateOrganizationResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.CreateOrganizationResponse2.g.cs b/src/libs/Instill/Generated/Instill.Models.CreateOrganizationResponse2.g.cs index 36c7183..1df7f97 100644 --- a/src/libs/Instill/Generated/Instill.Models.CreateOrganizationResponse2.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.CreateOrganizationResponse2.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::Instill.CreateOrganizationResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.CreateOrganizationResponse2; + } + + /// + /// 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/Instill/Generated/Instill.Models.CreateRepositoryTagResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.CreateRepositoryTagResponse.g.cs index 3865f13..194c0ff 100644 --- a/src/libs/Instill/Generated/Instill.Models.CreateRepositoryTagResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.CreateRepositoryTagResponse.g.cs @@ -77,5 +77,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::Instill.CreateRepositoryTagResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.CreateRepositoryTagResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.CreateTokenResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.CreateTokenResponse.g.cs index a09b2ca..8ba51fe 100644 --- a/src/libs/Instill/Generated/Instill.Models.CreateTokenResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.CreateTokenResponse.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::Instill.CreateTokenResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.CreateTokenResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.CreateTokenResponse2.g.cs b/src/libs/Instill/Generated/Instill.Models.CreateTokenResponse2.g.cs index c2cbb34..81c127a 100644 --- a/src/libs/Instill/Generated/Instill.Models.CreateTokenResponse2.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.CreateTokenResponse2.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::Instill.CreateTokenResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.CreateTokenResponse2; + } + + /// + /// 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/Instill/Generated/Instill.Models.CreditConsumptionChartRecord.g.cs b/src/libs/Instill/Generated/Instill.Models.CreditConsumptionChartRecord.g.cs index 1201094..3b6531d 100644 --- a/src/libs/Instill/Generated/Instill.Models.CreditConsumptionChartRecord.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.CreditConsumptionChartRecord.g.cs @@ -101,5 +101,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::Instill.CreditConsumptionChartRecord), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.CreditConsumptionChartRecord; + } + + /// + /// 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/Instill/Generated/Instill.Models.DataSpecification.g.cs b/src/libs/Instill/Generated/Instill.Models.DataSpecification.g.cs index d1e9110..f59de3a 100644 --- a/src/libs/Instill/Generated/Instill.Models.DataSpecification.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.DataSpecification.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::Instill.DataSpecification), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.DataSpecification; + } + + /// + /// 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/Instill/Generated/Instill.Models.DataSpecificationInput.g.cs b/src/libs/Instill/Generated/Instill.Models.DataSpecificationInput.g.cs index a393e07..6b30d99 100644 --- a/src/libs/Instill/Generated/Instill.Models.DataSpecificationInput.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.DataSpecificationInput.g.cs @@ -73,5 +73,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::Instill.DataSpecificationInput), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.DataSpecificationInput; + } + + /// + /// 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/Instill/Generated/Instill.Models.DataSpecificationOutput.g.cs b/src/libs/Instill/Generated/Instill.Models.DataSpecificationOutput.g.cs index 4a6a875..f14137a 100644 --- a/src/libs/Instill/Generated/Instill.Models.DataSpecificationOutput.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.DataSpecificationOutput.g.cs @@ -73,5 +73,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::Instill.DataSpecificationOutput), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.DataSpecificationOutput; + } + + /// + /// 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/Instill/Generated/Instill.Models.DeleteAppResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.DeleteAppResponse.g.cs index 4add131..5416348 100644 --- a/src/libs/Instill/Generated/Instill.Models.DeleteAppResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.DeleteAppResponse.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::Instill.DeleteAppResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.DeleteAppResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.DeleteCatalogFileResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.DeleteCatalogFileResponse.g.cs index f0e8eb8..d762d50 100644 --- a/src/libs/Instill/Generated/Instill.Models.DeleteCatalogFileResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.DeleteCatalogFileResponse.g.cs @@ -77,5 +77,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::Instill.DeleteCatalogFileResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.DeleteCatalogFileResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.DeleteCatalogFileResponse2.g.cs b/src/libs/Instill/Generated/Instill.Models.DeleteCatalogFileResponse2.g.cs index 452798e..5d1124f 100644 --- a/src/libs/Instill/Generated/Instill.Models.DeleteCatalogFileResponse2.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.DeleteCatalogFileResponse2.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::Instill.DeleteCatalogFileResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.DeleteCatalogFileResponse2; + } + + /// + /// 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/Instill/Generated/Instill.Models.DeleteCatalogResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.DeleteCatalogResponse.g.cs index 5c6923f..ac154d2 100644 --- a/src/libs/Instill/Generated/Instill.Models.DeleteCatalogResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.DeleteCatalogResponse.g.cs @@ -77,5 +77,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::Instill.DeleteCatalogResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.DeleteCatalogResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.DeleteCatalogResponse2.g.cs b/src/libs/Instill/Generated/Instill.Models.DeleteCatalogResponse2.g.cs index 74b9ebb..8d0d8bb 100644 --- a/src/libs/Instill/Generated/Instill.Models.DeleteCatalogResponse2.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.DeleteCatalogResponse2.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::Instill.DeleteCatalogResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.DeleteCatalogResponse2; + } + + /// + /// 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/Instill/Generated/Instill.Models.DeleteConversationResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.DeleteConversationResponse.g.cs index 56f832b..0b1f1a9 100644 --- a/src/libs/Instill/Generated/Instill.Models.DeleteConversationResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.DeleteConversationResponse.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::Instill.DeleteConversationResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.DeleteConversationResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.DeleteMessageResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.DeleteMessageResponse.g.cs index 866ae01..11ddab9 100644 --- a/src/libs/Instill/Generated/Instill.Models.DeleteMessageResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.DeleteMessageResponse.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::Instill.DeleteMessageResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.DeleteMessageResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.DeleteNamespaceConnectionResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.DeleteNamespaceConnectionResponse.g.cs index ccfe707..2c9d12c 100644 --- a/src/libs/Instill/Generated/Instill.Models.DeleteNamespaceConnectionResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.DeleteNamespaceConnectionResponse.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::Instill.DeleteNamespaceConnectionResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.DeleteNamespaceConnectionResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.DeleteNamespaceModelResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.DeleteNamespaceModelResponse.g.cs index 1d6ca7c..f22a041 100644 --- a/src/libs/Instill/Generated/Instill.Models.DeleteNamespaceModelResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.DeleteNamespaceModelResponse.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::Instill.DeleteNamespaceModelResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.DeleteNamespaceModelResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.DeleteNamespaceModelVersionResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.DeleteNamespaceModelVersionResponse.g.cs index 4f4dcd3..1c16335 100644 --- a/src/libs/Instill/Generated/Instill.Models.DeleteNamespaceModelVersionResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.DeleteNamespaceModelVersionResponse.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::Instill.DeleteNamespaceModelVersionResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.DeleteNamespaceModelVersionResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.DeleteNamespacePipelineReleaseResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.DeleteNamespacePipelineReleaseResponse.g.cs index 2451e48..cbe90ec 100644 --- a/src/libs/Instill/Generated/Instill.Models.DeleteNamespacePipelineReleaseResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.DeleteNamespacePipelineReleaseResponse.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::Instill.DeleteNamespacePipelineReleaseResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.DeleteNamespacePipelineReleaseResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.DeleteNamespacePipelineResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.DeleteNamespacePipelineResponse.g.cs index fea5384..28f0522 100644 --- a/src/libs/Instill/Generated/Instill.Models.DeleteNamespacePipelineResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.DeleteNamespacePipelineResponse.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::Instill.DeleteNamespacePipelineResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.DeleteNamespacePipelineResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.DeleteNamespaceSecretResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.DeleteNamespaceSecretResponse.g.cs index 5ada6db..c2aea8b 100644 --- a/src/libs/Instill/Generated/Instill.Models.DeleteNamespaceSecretResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.DeleteNamespaceSecretResponse.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::Instill.DeleteNamespaceSecretResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.DeleteNamespaceSecretResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.DeleteOrganizationMembershipResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.DeleteOrganizationMembershipResponse.g.cs index e1848ae..469a421 100644 --- a/src/libs/Instill/Generated/Instill.Models.DeleteOrganizationMembershipResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.DeleteOrganizationMembershipResponse.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::Instill.DeleteOrganizationMembershipResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.DeleteOrganizationMembershipResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.DeleteOrganizationMembershipResponse2.g.cs b/src/libs/Instill/Generated/Instill.Models.DeleteOrganizationMembershipResponse2.g.cs index e064257..40f6757 100644 --- a/src/libs/Instill/Generated/Instill.Models.DeleteOrganizationMembershipResponse2.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.DeleteOrganizationMembershipResponse2.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::Instill.DeleteOrganizationMembershipResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.DeleteOrganizationMembershipResponse2; + } + + /// + /// 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/Instill/Generated/Instill.Models.DeleteOrganizationResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.DeleteOrganizationResponse.g.cs index f18d7c4..34a4f1f 100644 --- a/src/libs/Instill/Generated/Instill.Models.DeleteOrganizationResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.DeleteOrganizationResponse.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::Instill.DeleteOrganizationResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.DeleteOrganizationResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.DeleteOrganizationResponse2.g.cs b/src/libs/Instill/Generated/Instill.Models.DeleteOrganizationResponse2.g.cs index 84071b9..002fafe 100644 --- a/src/libs/Instill/Generated/Instill.Models.DeleteOrganizationResponse2.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.DeleteOrganizationResponse2.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::Instill.DeleteOrganizationResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.DeleteOrganizationResponse2; + } + + /// + /// 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/Instill/Generated/Instill.Models.DeleteRepositoryTagResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.DeleteRepositoryTagResponse.g.cs index 21e0177..a2b9e08 100644 --- a/src/libs/Instill/Generated/Instill.Models.DeleteRepositoryTagResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.DeleteRepositoryTagResponse.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::Instill.DeleteRepositoryTagResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.DeleteRepositoryTagResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.DeleteTokenResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.DeleteTokenResponse.g.cs index e253357..768e546 100644 --- a/src/libs/Instill/Generated/Instill.Models.DeleteTokenResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.DeleteTokenResponse.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::Instill.DeleteTokenResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.DeleteTokenResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.DeleteTokenResponse2.g.cs b/src/libs/Instill/Generated/Instill.Models.DeleteTokenResponse2.g.cs index 8a648b6..cbbecb6 100644 --- a/src/libs/Instill/Generated/Instill.Models.DeleteTokenResponse2.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.DeleteTokenResponse2.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::Instill.DeleteTokenResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.DeleteTokenResponse2; + } + + /// + /// 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/Instill/Generated/Instill.Models.DeleteUserMembershipResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.DeleteUserMembershipResponse.g.cs index 7cfcd99..3f797d7 100644 --- a/src/libs/Instill/Generated/Instill.Models.DeleteUserMembershipResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.DeleteUserMembershipResponse.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::Instill.DeleteUserMembershipResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.DeleteUserMembershipResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.DeleteUserMembershipResponse2.g.cs b/src/libs/Instill/Generated/Instill.Models.DeleteUserMembershipResponse2.g.cs index 677815c..33173aa 100644 --- a/src/libs/Instill/Generated/Instill.Models.DeleteUserMembershipResponse2.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.DeleteUserMembershipResponse2.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::Instill.DeleteUserMembershipResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.DeleteUserMembershipResponse2; + } + + /// + /// 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/Instill/Generated/Instill.Models.DeployNamespaceModelAdminResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.DeployNamespaceModelAdminResponse.g.cs index f0f1aac..157dfdc 100644 --- a/src/libs/Instill/Generated/Instill.Models.DeployNamespaceModelAdminResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.DeployNamespaceModelAdminResponse.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::Instill.DeployNamespaceModelAdminResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.DeployNamespaceModelAdminResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.DeployOrganizationModelAdminResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.DeployOrganizationModelAdminResponse.g.cs index 36bc1fd..1abfa5e 100644 --- a/src/libs/Instill/Generated/Instill.Models.DeployOrganizationModelAdminResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.DeployOrganizationModelAdminResponse.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::Instill.DeployOrganizationModelAdminResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.DeployOrganizationModelAdminResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.DeployUserModelAdminResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.DeployUserModelAdminResponse.g.cs index 65aa46b..b6c7a53 100644 --- a/src/libs/Instill/Generated/Instill.Models.DeployUserModelAdminResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.DeployUserModelAdminResponse.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::Instill.DeployUserModelAdminResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.DeployUserModelAdminResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.Endpoints.g.cs b/src/libs/Instill/Generated/Instill.Models.Endpoints.g.cs index 84ef664..672cb25 100644 --- a/src/libs/Instill/Generated/Instill.Models.Endpoints.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.Endpoints.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::Instill.Endpoints), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.Endpoints; + } + + /// + /// 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/Instill/Generated/Instill.Models.EndpointsWebhooks.g.cs b/src/libs/Instill/Generated/Instill.Models.EndpointsWebhooks.g.cs index 70d87d5..6561e9a 100644 --- a/src/libs/Instill/Generated/Instill.Models.EndpointsWebhooks.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.EndpointsWebhooks.g.cs @@ -73,5 +73,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::Instill.EndpointsWebhooks), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.EndpointsWebhooks; + } + + /// + /// 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/Instill/Generated/Instill.Models.ErrPipelineValidation.g.cs b/src/libs/Instill/Generated/Instill.Models.ErrPipelineValidation.g.cs index f5f19f2..1800a47 100644 --- a/src/libs/Instill/Generated/Instill.Models.ErrPipelineValidation.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ErrPipelineValidation.g.cs @@ -84,5 +84,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::Instill.ErrPipelineValidation), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ErrPipelineValidation; + } + + /// + /// 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/Instill/Generated/Instill.Models.File.g.cs b/src/libs/Instill/Generated/Instill.Models.File.g.cs index d8845f3..9b46ad1 100644 --- a/src/libs/Instill/Generated/Instill.Models.File.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.File.g.cs @@ -177,5 +177,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::Instill.File), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.File; + } + + /// + /// 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/Instill/Generated/Instill.Models.FileExternalMetadata.g.cs b/src/libs/Instill/Generated/Instill.Models.FileExternalMetadata.g.cs index 8a5dc73..5397dbc 100644 --- a/src/libs/Instill/Generated/Instill.Models.FileExternalMetadata.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.FileExternalMetadata.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::Instill.FileExternalMetadata), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.FileExternalMetadata; + } + + /// + /// 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/Instill/Generated/Instill.Models.FileReference.g.cs b/src/libs/Instill/Generated/Instill.Models.FileReference.g.cs index 5451542..27a68f7 100644 --- a/src/libs/Instill/Generated/Instill.Models.FileReference.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.FileReference.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::Instill.FileReference), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.FileReference; + } + + /// + /// 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/Instill/Generated/Instill.Models.GetAuthenticatedUserResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.GetAuthenticatedUserResponse.g.cs index df5585e..ab80d7f 100644 --- a/src/libs/Instill/Generated/Instill.Models.GetAuthenticatedUserResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.GetAuthenticatedUserResponse.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::Instill.GetAuthenticatedUserResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.GetAuthenticatedUserResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.GetAuthenticatedUserResponse2.g.cs b/src/libs/Instill/Generated/Instill.Models.GetAuthenticatedUserResponse2.g.cs index 4e318de..14df207 100644 --- a/src/libs/Instill/Generated/Instill.Models.GetAuthenticatedUserResponse2.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.GetAuthenticatedUserResponse2.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::Instill.GetAuthenticatedUserResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.GetAuthenticatedUserResponse2; + } + + /// + /// 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/Instill/Generated/Instill.Models.GetAuthenticatedUserSubscriptionResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.GetAuthenticatedUserSubscriptionResponse.g.cs index 818b513..401b485 100644 --- a/src/libs/Instill/Generated/Instill.Models.GetAuthenticatedUserSubscriptionResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.GetAuthenticatedUserSubscriptionResponse.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::Instill.GetAuthenticatedUserSubscriptionResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.GetAuthenticatedUserSubscriptionResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.GetAuthenticatedUserSubscriptionResponse2.g.cs b/src/libs/Instill/Generated/Instill.Models.GetAuthenticatedUserSubscriptionResponse2.g.cs index f81ff83..b62adc4 100644 --- a/src/libs/Instill/Generated/Instill.Models.GetAuthenticatedUserSubscriptionResponse2.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.GetAuthenticatedUserSubscriptionResponse2.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::Instill.GetAuthenticatedUserSubscriptionResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.GetAuthenticatedUserSubscriptionResponse2; + } + + /// + /// 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/Instill/Generated/Instill.Models.GetFileCatalogResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.GetFileCatalogResponse.g.cs index 290ac5a..e861355 100644 --- a/src/libs/Instill/Generated/Instill.Models.GetFileCatalogResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.GetFileCatalogResponse.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::Instill.GetFileCatalogResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.GetFileCatalogResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.GetFileCatalogResponse2.g.cs b/src/libs/Instill/Generated/Instill.Models.GetFileCatalogResponse2.g.cs index 14993ca..9aae9c6 100644 --- a/src/libs/Instill/Generated/Instill.Models.GetFileCatalogResponse2.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.GetFileCatalogResponse2.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::Instill.GetFileCatalogResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.GetFileCatalogResponse2; + } + + /// + /// 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/Instill/Generated/Instill.Models.GetFileCatalogResponseChunk.g.cs b/src/libs/Instill/Generated/Instill.Models.GetFileCatalogResponseChunk.g.cs index f010eb2..ae606f5 100644 --- a/src/libs/Instill/Generated/Instill.Models.GetFileCatalogResponseChunk.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.GetFileCatalogResponseChunk.g.cs @@ -126,5 +126,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::Instill.GetFileCatalogResponseChunk), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.GetFileCatalogResponseChunk; + } + + /// + /// 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/Instill/Generated/Instill.Models.GetIntegrationResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.GetIntegrationResponse.g.cs index b73a1e4..1dd0d4a 100644 --- a/src/libs/Instill/Generated/Instill.Models.GetIntegrationResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.GetIntegrationResponse.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::Instill.GetIntegrationResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.GetIntegrationResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.GetModelDefinitionResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.GetModelDefinitionResponse.g.cs index 2f16c5e..d9756f2 100644 --- a/src/libs/Instill/Generated/Instill.Models.GetModelDefinitionResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.GetModelDefinitionResponse.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::Instill.GetModelDefinitionResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.GetModelDefinitionResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.GetModelOperationResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.GetModelOperationResponse.g.cs index ff435d2..1cd2955 100644 --- a/src/libs/Instill/Generated/Instill.Models.GetModelOperationResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.GetModelOperationResponse.g.cs @@ -79,5 +79,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::Instill.GetModelOperationResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.GetModelOperationResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.GetNamespaceConnectionResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.GetNamespaceConnectionResponse.g.cs index 778ae18..bcee008 100644 --- a/src/libs/Instill/Generated/Instill.Models.GetNamespaceConnectionResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.GetNamespaceConnectionResponse.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::Instill.GetNamespaceConnectionResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.GetNamespaceConnectionResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.GetNamespaceLatestModelOperationResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.GetNamespaceLatestModelOperationResponse.g.cs index a81a4ae..fbd877c 100644 --- a/src/libs/Instill/Generated/Instill.Models.GetNamespaceLatestModelOperationResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.GetNamespaceLatestModelOperationResponse.g.cs @@ -79,5 +79,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::Instill.GetNamespaceLatestModelOperationResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.GetNamespaceLatestModelOperationResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.GetNamespaceModelOperationResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.GetNamespaceModelOperationResponse.g.cs index 4deb23a..4263f53 100644 --- a/src/libs/Instill/Generated/Instill.Models.GetNamespaceModelOperationResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.GetNamespaceModelOperationResponse.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::Instill.GetNamespaceModelOperationResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.GetNamespaceModelOperationResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.GetNamespaceModelResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.GetNamespaceModelResponse.g.cs index 095671c..6e0eb75 100644 --- a/src/libs/Instill/Generated/Instill.Models.GetNamespaceModelResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.GetNamespaceModelResponse.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::Instill.GetNamespaceModelResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.GetNamespaceModelResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.GetNamespacePipelineReleaseResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.GetNamespacePipelineReleaseResponse.g.cs index 042ee28..c9aaa42 100644 --- a/src/libs/Instill/Generated/Instill.Models.GetNamespacePipelineReleaseResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.GetNamespacePipelineReleaseResponse.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::Instill.GetNamespacePipelineReleaseResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.GetNamespacePipelineReleaseResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.GetNamespacePipelineResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.GetNamespacePipelineResponse.g.cs index 5f272d7..f8e5446 100644 --- a/src/libs/Instill/Generated/Instill.Models.GetNamespacePipelineResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.GetNamespacePipelineResponse.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::Instill.GetNamespacePipelineResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.GetNamespacePipelineResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.GetNamespaceSecretResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.GetNamespaceSecretResponse.g.cs index 0d00e3f..628d207 100644 --- a/src/libs/Instill/Generated/Instill.Models.GetNamespaceSecretResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.GetNamespaceSecretResponse.g.cs @@ -77,5 +77,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::Instill.GetNamespaceSecretResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.GetNamespaceSecretResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.GetObjectDownloadURLResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.GetObjectDownloadURLResponse.g.cs index 199492b..d24370f 100644 --- a/src/libs/Instill/Generated/Instill.Models.GetObjectDownloadURLResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.GetObjectDownloadURLResponse.g.cs @@ -89,5 +89,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::Instill.GetObjectDownloadURLResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.GetObjectDownloadURLResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.GetObjectDownloadURLResponse2.g.cs b/src/libs/Instill/Generated/Instill.Models.GetObjectDownloadURLResponse2.g.cs index 23e4cae..4a37e4e 100644 --- a/src/libs/Instill/Generated/Instill.Models.GetObjectDownloadURLResponse2.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.GetObjectDownloadURLResponse2.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::Instill.GetObjectDownloadURLResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.GetObjectDownloadURLResponse2; + } + + /// + /// 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/Instill/Generated/Instill.Models.GetObjectResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.GetObjectResponse.g.cs index dc90549..66e8b49 100644 --- a/src/libs/Instill/Generated/Instill.Models.GetObjectResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.GetObjectResponse.g.cs @@ -77,5 +77,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::Instill.GetObjectResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.GetObjectResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.GetObjectURLResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.GetObjectURLResponse.g.cs index 229ddf8..d40b27a 100644 --- a/src/libs/Instill/Generated/Instill.Models.GetObjectURLResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.GetObjectURLResponse.g.cs @@ -77,5 +77,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::Instill.GetObjectURLResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.GetObjectURLResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.GetObjectUploadURLResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.GetObjectUploadURLResponse.g.cs index a2e0212..1a9eac3 100644 --- a/src/libs/Instill/Generated/Instill.Models.GetObjectUploadURLResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.GetObjectUploadURLResponse.g.cs @@ -89,5 +89,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::Instill.GetObjectUploadURLResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.GetObjectUploadURLResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.GetObjectUploadURLResponse2.g.cs b/src/libs/Instill/Generated/Instill.Models.GetObjectUploadURLResponse2.g.cs index 5112600..8fede2c 100644 --- a/src/libs/Instill/Generated/Instill.Models.GetObjectUploadURLResponse2.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.GetObjectUploadURLResponse2.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::Instill.GetObjectUploadURLResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.GetObjectUploadURLResponse2; + } + + /// + /// 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/Instill/Generated/Instill.Models.GetOperationResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.GetOperationResponse.g.cs index 23215f6..74ead02 100644 --- a/src/libs/Instill/Generated/Instill.Models.GetOperationResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.GetOperationResponse.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::Instill.GetOperationResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.GetOperationResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.GetOrganizationAdminResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.GetOrganizationAdminResponse.g.cs index dfdbf4f..39c3734 100644 --- a/src/libs/Instill/Generated/Instill.Models.GetOrganizationAdminResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.GetOrganizationAdminResponse.g.cs @@ -77,5 +77,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::Instill.GetOrganizationAdminResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.GetOrganizationAdminResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.GetOrganizationMembershipResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.GetOrganizationMembershipResponse.g.cs index 44e32bb..2fa00b0 100644 --- a/src/libs/Instill/Generated/Instill.Models.GetOrganizationMembershipResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.GetOrganizationMembershipResponse.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::Instill.GetOrganizationMembershipResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.GetOrganizationMembershipResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.GetOrganizationMembershipResponse2.g.cs b/src/libs/Instill/Generated/Instill.Models.GetOrganizationMembershipResponse2.g.cs index a097ca1..69c129a 100644 --- a/src/libs/Instill/Generated/Instill.Models.GetOrganizationMembershipResponse2.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.GetOrganizationMembershipResponse2.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::Instill.GetOrganizationMembershipResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.GetOrganizationMembershipResponse2; + } + + /// + /// 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/Instill/Generated/Instill.Models.GetOrganizationResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.GetOrganizationResponse.g.cs index ad0cf29..b38ccb0 100644 --- a/src/libs/Instill/Generated/Instill.Models.GetOrganizationResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.GetOrganizationResponse.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::Instill.GetOrganizationResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.GetOrganizationResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.GetOrganizationResponse2.g.cs b/src/libs/Instill/Generated/Instill.Models.GetOrganizationResponse2.g.cs index 43f59d2..c52ecc7 100644 --- a/src/libs/Instill/Generated/Instill.Models.GetOrganizationResponse2.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.GetOrganizationResponse2.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::Instill.GetOrganizationResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.GetOrganizationResponse2; + } + + /// + /// 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/Instill/Generated/Instill.Models.GetOrganizationSubscriptionAdminResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.GetOrganizationSubscriptionAdminResponse.g.cs index b9ec367..a437d18 100644 --- a/src/libs/Instill/Generated/Instill.Models.GetOrganizationSubscriptionAdminResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.GetOrganizationSubscriptionAdminResponse.g.cs @@ -77,5 +77,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::Instill.GetOrganizationSubscriptionAdminResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.GetOrganizationSubscriptionAdminResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.GetOrganizationSubscriptionResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.GetOrganizationSubscriptionResponse.g.cs index c8f81d1..1b9794d 100644 --- a/src/libs/Instill/Generated/Instill.Models.GetOrganizationSubscriptionResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.GetOrganizationSubscriptionResponse.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::Instill.GetOrganizationSubscriptionResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.GetOrganizationSubscriptionResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.GetOrganizationSubscriptionResponse2.g.cs b/src/libs/Instill/Generated/Instill.Models.GetOrganizationSubscriptionResponse2.g.cs index e863123..b8539c2 100644 --- a/src/libs/Instill/Generated/Instill.Models.GetOrganizationSubscriptionResponse2.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.GetOrganizationSubscriptionResponse2.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::Instill.GetOrganizationSubscriptionResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.GetOrganizationSubscriptionResponse2; + } + + /// + /// 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/Instill/Generated/Instill.Models.GetPlaygroundConversationResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.GetPlaygroundConversationResponse.g.cs index 3ad2af4..946d827 100644 --- a/src/libs/Instill/Generated/Instill.Models.GetPlaygroundConversationResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.GetPlaygroundConversationResponse.g.cs @@ -77,5 +77,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::Instill.GetPlaygroundConversationResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.GetPlaygroundConversationResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.GetRemainingCreditAdminResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.GetRemainingCreditAdminResponse.g.cs index b4ace30..31e8e92 100644 --- a/src/libs/Instill/Generated/Instill.Models.GetRemainingCreditAdminResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.GetRemainingCreditAdminResponse.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::Instill.GetRemainingCreditAdminResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.GetRemainingCreditAdminResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.GetRemainingCreditResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.GetRemainingCreditResponse.g.cs index 3f2df18..df0e1ae 100644 --- a/src/libs/Instill/Generated/Instill.Models.GetRemainingCreditResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.GetRemainingCreditResponse.g.cs @@ -94,5 +94,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::Instill.GetRemainingCreditResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.GetRemainingCreditResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.GetRemainingCreditResponse2.g.cs b/src/libs/Instill/Generated/Instill.Models.GetRemainingCreditResponse2.g.cs index c844118..003cecb 100644 --- a/src/libs/Instill/Generated/Instill.Models.GetRemainingCreditResponse2.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.GetRemainingCreditResponse2.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::Instill.GetRemainingCreditResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.GetRemainingCreditResponse2; + } + + /// + /// 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/Instill/Generated/Instill.Models.GetRepositoryTagResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.GetRepositoryTagResponse.g.cs index 159fae5..be37bc5 100644 --- a/src/libs/Instill/Generated/Instill.Models.GetRepositoryTagResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.GetRepositoryTagResponse.g.cs @@ -77,5 +77,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::Instill.GetRepositoryTagResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.GetRepositoryTagResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.GetSourceFileResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.GetSourceFileResponse.g.cs index d0c49e1..0e24bea 100644 --- a/src/libs/Instill/Generated/Instill.Models.GetSourceFileResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.GetSourceFileResponse.g.cs @@ -77,5 +77,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::Instill.GetSourceFileResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.GetSourceFileResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.GetSourceFileResponse2.g.cs b/src/libs/Instill/Generated/Instill.Models.GetSourceFileResponse2.g.cs index 90c84b4..4a49d44 100644 --- a/src/libs/Instill/Generated/Instill.Models.GetSourceFileResponse2.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.GetSourceFileResponse2.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::Instill.GetSourceFileResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.GetSourceFileResponse2; + } + + /// + /// 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/Instill/Generated/Instill.Models.GetTokenResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.GetTokenResponse.g.cs index 83bd4e5..b5828b2 100644 --- a/src/libs/Instill/Generated/Instill.Models.GetTokenResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.GetTokenResponse.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::Instill.GetTokenResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.GetTokenResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.GetTokenResponse2.g.cs b/src/libs/Instill/Generated/Instill.Models.GetTokenResponse2.g.cs index b752ee9..3869c55 100644 --- a/src/libs/Instill/Generated/Instill.Models.GetTokenResponse2.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.GetTokenResponse2.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::Instill.GetTokenResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.GetTokenResponse2; + } + + /// + /// 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/Instill/Generated/Instill.Models.GetUserAdminResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.GetUserAdminResponse.g.cs index 22d2705..c0c39ed 100644 --- a/src/libs/Instill/Generated/Instill.Models.GetUserAdminResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.GetUserAdminResponse.g.cs @@ -77,5 +77,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::Instill.GetUserAdminResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.GetUserAdminResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.GetUserMembershipResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.GetUserMembershipResponse.g.cs index bf1125e..49fdca5 100644 --- a/src/libs/Instill/Generated/Instill.Models.GetUserMembershipResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.GetUserMembershipResponse.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::Instill.GetUserMembershipResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.GetUserMembershipResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.GetUserMembershipResponse2.g.cs b/src/libs/Instill/Generated/Instill.Models.GetUserMembershipResponse2.g.cs index 89f2d8d..0137e95 100644 --- a/src/libs/Instill/Generated/Instill.Models.GetUserMembershipResponse2.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.GetUserMembershipResponse2.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::Instill.GetUserMembershipResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.GetUserMembershipResponse2; + } + + /// + /// 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/Instill/Generated/Instill.Models.GetUserResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.GetUserResponse.g.cs index 07d40d8..fdeb3d1 100644 --- a/src/libs/Instill/Generated/Instill.Models.GetUserResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.GetUserResponse.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::Instill.GetUserResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.GetUserResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.GetUserResponse2.g.cs b/src/libs/Instill/Generated/Instill.Models.GetUserResponse2.g.cs index b6c4fd9..ff95bed 100644 --- a/src/libs/Instill/Generated/Instill.Models.GetUserResponse2.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.GetUserResponse2.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::Instill.GetUserResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.GetUserResponse2; + } + + /// + /// 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/Instill/Generated/Instill.Models.GetUserSubscriptionAdminResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.GetUserSubscriptionAdminResponse.g.cs index 233e9fb..3dbf04c 100644 --- a/src/libs/Instill/Generated/Instill.Models.GetUserSubscriptionAdminResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.GetUserSubscriptionAdminResponse.g.cs @@ -77,5 +77,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::Instill.GetUserSubscriptionAdminResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.GetUserSubscriptionAdminResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.Integration.g.cs b/src/libs/Instill/Generated/Instill.Models.Integration.g.cs index 623ce4e..8b06039 100644 --- a/src/libs/Instill/Generated/Instill.Models.Integration.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.Integration.g.cs @@ -161,5 +161,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::Instill.Integration), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.Integration; + } + + /// + /// 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/Instill/Generated/Instill.Models.IntegrationSetupSchema.g.cs b/src/libs/Instill/Generated/Instill.Models.IntegrationSetupSchema.g.cs index 94d6bb8..1a78e6c 100644 --- a/src/libs/Instill/Generated/Instill.Models.IntegrationSetupSchema.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.IntegrationSetupSchema.g.cs @@ -74,5 +74,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::Instill.IntegrationSetupSchema), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.IntegrationSetupSchema; + } + + /// + /// 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/Instill/Generated/Instill.Models.Link.g.cs b/src/libs/Instill/Generated/Instill.Models.Link.g.cs index ff65f76..d1bcad8 100644 --- a/src/libs/Instill/Generated/Instill.Models.Link.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.Link.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::Instill.Link), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.Link; + } + + /// + /// 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/Instill/Generated/Instill.Models.ListAppsResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ListAppsResponse.g.cs index d86d39a..5eab30d 100644 --- a/src/libs/Instill/Generated/Instill.Models.ListAppsResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ListAppsResponse.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::Instill.ListAppsResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ListAppsResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ListAvailableRegionsResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ListAvailableRegionsResponse.g.cs index 92564bb..bdb4bf4 100644 --- a/src/libs/Instill/Generated/Instill.Models.ListAvailableRegionsResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ListAvailableRegionsResponse.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::Instill.ListAvailableRegionsResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ListAvailableRegionsResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ListCatalogFilesFilter.g.cs b/src/libs/Instill/Generated/Instill.Models.ListCatalogFilesFilter.g.cs index 07dc85c..f02595f 100644 --- a/src/libs/Instill/Generated/Instill.Models.ListCatalogFilesFilter.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ListCatalogFilesFilter.g.cs @@ -77,5 +77,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::Instill.ListCatalogFilesFilter), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ListCatalogFilesFilter; + } + + /// + /// 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/Instill/Generated/Instill.Models.ListCatalogFilesResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ListCatalogFilesResponse.g.cs index d5e91e3..71748d9 100644 --- a/src/libs/Instill/Generated/Instill.Models.ListCatalogFilesResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ListCatalogFilesResponse.g.cs @@ -102,5 +102,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::Instill.ListCatalogFilesResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ListCatalogFilesResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ListCatalogFilesResponse2.g.cs b/src/libs/Instill/Generated/Instill.Models.ListCatalogFilesResponse2.g.cs index 3956fd5..fb8f99f 100644 --- a/src/libs/Instill/Generated/Instill.Models.ListCatalogFilesResponse2.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ListCatalogFilesResponse2.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::Instill.ListCatalogFilesResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ListCatalogFilesResponse2; + } + + /// + /// 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/Instill/Generated/Instill.Models.ListCatalogRunsResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ListCatalogRunsResponse.g.cs index 13a890a..7cc35f4 100644 --- a/src/libs/Instill/Generated/Instill.Models.ListCatalogRunsResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ListCatalogRunsResponse.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::Instill.ListCatalogRunsResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ListCatalogRunsResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ListCatalogRunsResponse2.g.cs b/src/libs/Instill/Generated/Instill.Models.ListCatalogRunsResponse2.g.cs index c3214c1..cfb1ed0 100644 --- a/src/libs/Instill/Generated/Instill.Models.ListCatalogRunsResponse2.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ListCatalogRunsResponse2.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::Instill.ListCatalogRunsResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ListCatalogRunsResponse2; + } + + /// + /// 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/Instill/Generated/Instill.Models.ListCatalogsResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ListCatalogsResponse.g.cs index 572cfab..69227c9 100644 --- a/src/libs/Instill/Generated/Instill.Models.ListCatalogsResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ListCatalogsResponse.g.cs @@ -77,5 +77,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::Instill.ListCatalogsResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ListCatalogsResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ListCatalogsResponse2.g.cs b/src/libs/Instill/Generated/Instill.Models.ListCatalogsResponse2.g.cs index e12abf4..8e28674 100644 --- a/src/libs/Instill/Generated/Instill.Models.ListCatalogsResponse2.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ListCatalogsResponse2.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::Instill.ListCatalogsResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ListCatalogsResponse2; + } + + /// + /// 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/Instill/Generated/Instill.Models.ListChunksResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ListChunksResponse.g.cs index 73998da..5359342 100644 --- a/src/libs/Instill/Generated/Instill.Models.ListChunksResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ListChunksResponse.g.cs @@ -77,5 +77,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::Instill.ListChunksResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ListChunksResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ListChunksResponse2.g.cs b/src/libs/Instill/Generated/Instill.Models.ListChunksResponse2.g.cs index a12af55..8f90539 100644 --- a/src/libs/Instill/Generated/Instill.Models.ListChunksResponse2.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ListChunksResponse2.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::Instill.ListChunksResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ListChunksResponse2; + } + + /// + /// 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/Instill/Generated/Instill.Models.ListComponentDefinitionsResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ListComponentDefinitionsResponse.g.cs index 9f503a8..321ca80 100644 --- a/src/libs/Instill/Generated/Instill.Models.ListComponentDefinitionsResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ListComponentDefinitionsResponse.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::Instill.ListComponentDefinitionsResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ListComponentDefinitionsResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ListComponentRunsResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ListComponentRunsResponse.g.cs index e0d2d88..6458e17 100644 --- a/src/libs/Instill/Generated/Instill.Models.ListComponentRunsResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ListComponentRunsResponse.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::Instill.ListComponentRunsResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ListComponentRunsResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ListConversationsResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ListConversationsResponse.g.cs index bfcdc57..983e156 100644 --- a/src/libs/Instill/Generated/Instill.Models.ListConversationsResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ListConversationsResponse.g.cs @@ -89,5 +89,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::Instill.ListConversationsResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ListConversationsResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ListCreditConsumptionChartRecordsResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ListCreditConsumptionChartRecordsResponse.g.cs index 6483dee..0227b07 100644 --- a/src/libs/Instill/Generated/Instill.Models.ListCreditConsumptionChartRecordsResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ListCreditConsumptionChartRecordsResponse.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::Instill.ListCreditConsumptionChartRecordsResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ListCreditConsumptionChartRecordsResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ListCreditConsumptionChartRecordsResponse2.g.cs b/src/libs/Instill/Generated/Instill.Models.ListCreditConsumptionChartRecordsResponse2.g.cs index 8b780b2..d92f73d 100644 --- a/src/libs/Instill/Generated/Instill.Models.ListCreditConsumptionChartRecordsResponse2.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ListCreditConsumptionChartRecordsResponse2.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::Instill.ListCreditConsumptionChartRecordsResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ListCreditConsumptionChartRecordsResponse2; + } + + /// + /// 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/Instill/Generated/Instill.Models.ListIntegrationsResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ListIntegrationsResponse.g.cs index b85d282..780bfe5 100644 --- a/src/libs/Instill/Generated/Instill.Models.ListIntegrationsResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ListIntegrationsResponse.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::Instill.ListIntegrationsResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ListIntegrationsResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ListMessagesResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ListMessagesResponse.g.cs index 2d35eb7..f10cf9b 100644 --- a/src/libs/Instill/Generated/Instill.Models.ListMessagesResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ListMessagesResponse.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::Instill.ListMessagesResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ListMessagesResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ListModelDefinitionsResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ListModelDefinitionsResponse.g.cs index 2cb54dd..2f4c33a 100644 --- a/src/libs/Instill/Generated/Instill.Models.ListModelDefinitionsResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ListModelDefinitionsResponse.g.cs @@ -89,5 +89,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::Instill.ListModelDefinitionsResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ListModelDefinitionsResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ListModelRunsByRequesterResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ListModelRunsByRequesterResponse.g.cs index df81a79..7acd43d 100644 --- a/src/libs/Instill/Generated/Instill.Models.ListModelRunsByRequesterResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ListModelRunsByRequesterResponse.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::Instill.ListModelRunsByRequesterResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ListModelRunsByRequesterResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ListModelRunsResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ListModelRunsResponse.g.cs index 5913fbc..20abb97 100644 --- a/src/libs/Instill/Generated/Instill.Models.ListModelRunsResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ListModelRunsResponse.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::Instill.ListModelRunsResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ListModelRunsResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ListModelTriggerChartRecordsResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ListModelTriggerChartRecordsResponse.g.cs index eaf2713..94c6335 100644 --- a/src/libs/Instill/Generated/Instill.Models.ListModelTriggerChartRecordsResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ListModelTriggerChartRecordsResponse.g.cs @@ -81,5 +81,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::Instill.ListModelTriggerChartRecordsResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ListModelTriggerChartRecordsResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ListModelTriggerChartRecordsResponse2.g.cs b/src/libs/Instill/Generated/Instill.Models.ListModelTriggerChartRecordsResponse2.g.cs index 6cacd6c..ee7d4b6 100644 --- a/src/libs/Instill/Generated/Instill.Models.ListModelTriggerChartRecordsResponse2.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ListModelTriggerChartRecordsResponse2.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::Instill.ListModelTriggerChartRecordsResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ListModelTriggerChartRecordsResponse2; + } + + /// + /// 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/Instill/Generated/Instill.Models.ListModelsAdminResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ListModelsAdminResponse.g.cs index 3d7071a..9f34785 100644 --- a/src/libs/Instill/Generated/Instill.Models.ListModelsAdminResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ListModelsAdminResponse.g.cs @@ -89,5 +89,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::Instill.ListModelsAdminResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ListModelsAdminResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ListModelsResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ListModelsResponse.g.cs index 41c137f..4b2e8b4 100644 --- a/src/libs/Instill/Generated/Instill.Models.ListModelsResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ListModelsResponse.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::Instill.ListModelsResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ListModelsResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ListNamespaceConnectionsResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ListNamespaceConnectionsResponse.g.cs index c5d6a5d..4604513 100644 --- a/src/libs/Instill/Generated/Instill.Models.ListNamespaceConnectionsResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ListNamespaceConnectionsResponse.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::Instill.ListNamespaceConnectionsResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ListNamespaceConnectionsResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ListNamespaceModelVersionsResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ListNamespaceModelVersionsResponse.g.cs index 0c62597..8ac75df 100644 --- a/src/libs/Instill/Generated/Instill.Models.ListNamespaceModelVersionsResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ListNamespaceModelVersionsResponse.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::Instill.ListNamespaceModelVersionsResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ListNamespaceModelVersionsResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ListNamespaceModelsResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ListNamespaceModelsResponse.g.cs index ff04789..8de906e 100644 --- a/src/libs/Instill/Generated/Instill.Models.ListNamespaceModelsResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ListNamespaceModelsResponse.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::Instill.ListNamespaceModelsResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ListNamespaceModelsResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ListNamespacePipelineReleasesResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ListNamespacePipelineReleasesResponse.g.cs index 0f55d9e..1ffef46 100644 --- a/src/libs/Instill/Generated/Instill.Models.ListNamespacePipelineReleasesResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ListNamespacePipelineReleasesResponse.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::Instill.ListNamespacePipelineReleasesResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ListNamespacePipelineReleasesResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ListNamespacePipelinesResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ListNamespacePipelinesResponse.g.cs index 24e2cd8..d58991e 100644 --- a/src/libs/Instill/Generated/Instill.Models.ListNamespacePipelinesResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ListNamespacePipelinesResponse.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::Instill.ListNamespacePipelinesResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ListNamespacePipelinesResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ListNamespaceSecretsResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ListNamespaceSecretsResponse.g.cs index ccf4684..e14a4d3 100644 --- a/src/libs/Instill/Generated/Instill.Models.ListNamespaceSecretsResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ListNamespaceSecretsResponse.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::Instill.ListNamespaceSecretsResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ListNamespaceSecretsResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ListOrganizationMembershipsResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ListOrganizationMembershipsResponse.g.cs index 6bc552e..8580362 100644 --- a/src/libs/Instill/Generated/Instill.Models.ListOrganizationMembershipsResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ListOrganizationMembershipsResponse.g.cs @@ -79,5 +79,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::Instill.ListOrganizationMembershipsResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ListOrganizationMembershipsResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ListOrganizationMembershipsResponse2.g.cs b/src/libs/Instill/Generated/Instill.Models.ListOrganizationMembershipsResponse2.g.cs index 09c40b4..ca223db 100644 --- a/src/libs/Instill/Generated/Instill.Models.ListOrganizationMembershipsResponse2.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ListOrganizationMembershipsResponse2.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::Instill.ListOrganizationMembershipsResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ListOrganizationMembershipsResponse2; + } + + /// + /// 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/Instill/Generated/Instill.Models.ListOrganizationsAdminResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ListOrganizationsAdminResponse.g.cs index 5af8415..388181b 100644 --- a/src/libs/Instill/Generated/Instill.Models.ListOrganizationsAdminResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ListOrganizationsAdminResponse.g.cs @@ -89,5 +89,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::Instill.ListOrganizationsAdminResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ListOrganizationsAdminResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ListOrganizationsResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ListOrganizationsResponse.g.cs index 06d6d65..67643f5 100644 --- a/src/libs/Instill/Generated/Instill.Models.ListOrganizationsResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ListOrganizationsResponse.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::Instill.ListOrganizationsResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ListOrganizationsResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ListOrganizationsResponse2.g.cs b/src/libs/Instill/Generated/Instill.Models.ListOrganizationsResponse2.g.cs index 11047f5..bfedbbd 100644 --- a/src/libs/Instill/Generated/Instill.Models.ListOrganizationsResponse2.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ListOrganizationsResponse2.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::Instill.ListOrganizationsResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ListOrganizationsResponse2; + } + + /// + /// 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/Instill/Generated/Instill.Models.ListPipelineIDsByConnectionIDResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ListPipelineIDsByConnectionIDResponse.g.cs index e14a092..ed51e18 100644 --- a/src/libs/Instill/Generated/Instill.Models.ListPipelineIDsByConnectionIDResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ListPipelineIDsByConnectionIDResponse.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::Instill.ListPipelineIDsByConnectionIDResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ListPipelineIDsByConnectionIDResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ListPipelineReleasesAdminResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ListPipelineReleasesAdminResponse.g.cs index c3067be..da38bdc 100644 --- a/src/libs/Instill/Generated/Instill.Models.ListPipelineReleasesAdminResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ListPipelineReleasesAdminResponse.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::Instill.ListPipelineReleasesAdminResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ListPipelineReleasesAdminResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ListPipelineRunsByRequesterResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ListPipelineRunsByRequesterResponse.g.cs index 15bf089..bbc61b8 100644 --- a/src/libs/Instill/Generated/Instill.Models.ListPipelineRunsByRequesterResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ListPipelineRunsByRequesterResponse.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::Instill.ListPipelineRunsByRequesterResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ListPipelineRunsByRequesterResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ListPipelineRunsResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ListPipelineRunsResponse.g.cs index 82137f9..d1d4e16 100644 --- a/src/libs/Instill/Generated/Instill.Models.ListPipelineRunsResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ListPipelineRunsResponse.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::Instill.ListPipelineRunsResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ListPipelineRunsResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ListPipelineTriggerChartRecordsResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ListPipelineTriggerChartRecordsResponse.g.cs index 54d9fc2..fbe378b 100644 --- a/src/libs/Instill/Generated/Instill.Models.ListPipelineTriggerChartRecordsResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ListPipelineTriggerChartRecordsResponse.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::Instill.ListPipelineTriggerChartRecordsResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ListPipelineTriggerChartRecordsResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ListPipelineTriggerChartRecordsResponse2.g.cs b/src/libs/Instill/Generated/Instill.Models.ListPipelineTriggerChartRecordsResponse2.g.cs index 189bbe2..d54705c 100644 --- a/src/libs/Instill/Generated/Instill.Models.ListPipelineTriggerChartRecordsResponse2.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ListPipelineTriggerChartRecordsResponse2.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::Instill.ListPipelineTriggerChartRecordsResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ListPipelineTriggerChartRecordsResponse2; + } + + /// + /// 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/Instill/Generated/Instill.Models.ListPipelineTriggerRecordsResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ListPipelineTriggerRecordsResponse.g.cs index 4ff3f31..db2e0bb 100644 --- a/src/libs/Instill/Generated/Instill.Models.ListPipelineTriggerRecordsResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ListPipelineTriggerRecordsResponse.g.cs @@ -89,5 +89,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::Instill.ListPipelineTriggerRecordsResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ListPipelineTriggerRecordsResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ListPipelineTriggerRecordsResponse2.g.cs b/src/libs/Instill/Generated/Instill.Models.ListPipelineTriggerRecordsResponse2.g.cs index 33bf3f0..bb23b88 100644 --- a/src/libs/Instill/Generated/Instill.Models.ListPipelineTriggerRecordsResponse2.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ListPipelineTriggerRecordsResponse2.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::Instill.ListPipelineTriggerRecordsResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ListPipelineTriggerRecordsResponse2; + } + + /// + /// 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/Instill/Generated/Instill.Models.ListPipelinesAdminResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ListPipelinesAdminResponse.g.cs index 218978f..5b2916b 100644 --- a/src/libs/Instill/Generated/Instill.Models.ListPipelinesAdminResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ListPipelinesAdminResponse.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::Instill.ListPipelinesAdminResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ListPipelinesAdminResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ListPipelinesResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ListPipelinesResponse.g.cs index 2daa160..15515cf 100644 --- a/src/libs/Instill/Generated/Instill.Models.ListPipelinesResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ListPipelinesResponse.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::Instill.ListPipelinesResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ListPipelinesResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ListRepositoryTagsResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ListRepositoryTagsResponse.g.cs index a615e48..e963272 100644 --- a/src/libs/Instill/Generated/Instill.Models.ListRepositoryTagsResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ListRepositoryTagsResponse.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::Instill.ListRepositoryTagsResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ListRepositoryTagsResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ListTokensResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ListTokensResponse.g.cs index 1a8d19a..73a634e 100644 --- a/src/libs/Instill/Generated/Instill.Models.ListTokensResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ListTokensResponse.g.cs @@ -89,5 +89,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::Instill.ListTokensResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ListTokensResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ListTokensResponse2.g.cs b/src/libs/Instill/Generated/Instill.Models.ListTokensResponse2.g.cs index b59fbf6..fa42d32 100644 --- a/src/libs/Instill/Generated/Instill.Models.ListTokensResponse2.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ListTokensResponse2.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::Instill.ListTokensResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ListTokensResponse2; + } + + /// + /// 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/Instill/Generated/Instill.Models.ListUserMembershipsResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ListUserMembershipsResponse.g.cs index 00973bc..1c25eb3 100644 --- a/src/libs/Instill/Generated/Instill.Models.ListUserMembershipsResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ListUserMembershipsResponse.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::Instill.ListUserMembershipsResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ListUserMembershipsResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ListUserMembershipsResponse2.g.cs b/src/libs/Instill/Generated/Instill.Models.ListUserMembershipsResponse2.g.cs index 6480b0a..cf90c03 100644 --- a/src/libs/Instill/Generated/Instill.Models.ListUserMembershipsResponse2.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ListUserMembershipsResponse2.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::Instill.ListUserMembershipsResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ListUserMembershipsResponse2; + } + + /// + /// 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/Instill/Generated/Instill.Models.ListUsersAdminResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ListUsersAdminResponse.g.cs index a563a30..8a4177c 100644 --- a/src/libs/Instill/Generated/Instill.Models.ListUsersAdminResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ListUsersAdminResponse.g.cs @@ -89,5 +89,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::Instill.ListUsersAdminResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ListUsersAdminResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ListUsersResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ListUsersResponse.g.cs index ff848fa..320c266 100644 --- a/src/libs/Instill/Generated/Instill.Models.ListUsersResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ListUsersResponse.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::Instill.ListUsersResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ListUsersResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ListUsersResponse2.g.cs b/src/libs/Instill/Generated/Instill.Models.ListUsersResponse2.g.cs index 5405008..bf9729f 100644 --- a/src/libs/Instill/Generated/Instill.Models.ListUsersResponse2.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ListUsersResponse2.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::Instill.ListUsersResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ListUsersResponse2; + } + + /// + /// 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/Instill/Generated/Instill.Models.LongrunningOperation.g.cs b/src/libs/Instill/Generated/Instill.Models.LongrunningOperation.g.cs index 59aec75..a07a9fe 100644 --- a/src/libs/Instill/Generated/Instill.Models.LongrunningOperation.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.LongrunningOperation.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::Instill.LongrunningOperation), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.LongrunningOperation; + } + + /// + /// 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/Instill/Generated/Instill.Models.LookUpModelAdminResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.LookUpModelAdminResponse.g.cs index 9e98370..6165bac 100644 --- a/src/libs/Instill/Generated/Instill.Models.LookUpModelAdminResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.LookUpModelAdminResponse.g.cs @@ -77,5 +77,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::Instill.LookUpModelAdminResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.LookUpModelAdminResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.LookUpOrganizationAdminResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.LookUpOrganizationAdminResponse.g.cs index f0b8426..417aade 100644 --- a/src/libs/Instill/Generated/Instill.Models.LookUpOrganizationAdminResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.LookUpOrganizationAdminResponse.g.cs @@ -77,5 +77,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::Instill.LookUpOrganizationAdminResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.LookUpOrganizationAdminResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.LookUpPipelineAdminResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.LookUpPipelineAdminResponse.g.cs index 9aced48..d2ab3d7 100644 --- a/src/libs/Instill/Generated/Instill.Models.LookUpPipelineAdminResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.LookUpPipelineAdminResponse.g.cs @@ -77,5 +77,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::Instill.LookUpPipelineAdminResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.LookUpPipelineAdminResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.LookUpUserAdminResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.LookUpUserAdminResponse.g.cs index c1c583c..6108a53 100644 --- a/src/libs/Instill/Generated/Instill.Models.LookUpUserAdminResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.LookUpUserAdminResponse.g.cs @@ -77,5 +77,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::Instill.LookUpUserAdminResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.LookUpUserAdminResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.MessageSenderProfile.g.cs b/src/libs/Instill/Generated/Instill.Models.MessageSenderProfile.g.cs index 6c7bf99..566dfa6 100644 --- a/src/libs/Instill/Generated/Instill.Models.MessageSenderProfile.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.MessageSenderProfile.g.cs @@ -98,5 +98,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::Instill.MessageSenderProfile), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.MessageSenderProfile; + } + + /// + /// 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/Instill/Generated/Instill.Models.Metadata.g.cs b/src/libs/Instill/Generated/Instill.Models.Metadata.g.cs index 508c65f..653f461 100644 --- a/src/libs/Instill/Generated/Instill.Models.Metadata.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.Metadata.g.cs @@ -109,5 +109,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::Instill.Metadata), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.Metadata; + } + + /// + /// 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/Instill/Generated/Instill.Models.MgmtV1betaPermission.g.cs b/src/libs/Instill/Generated/Instill.Models.MgmtV1betaPermission.g.cs index fad2521..2284456 100644 --- a/src/libs/Instill/Generated/Instill.Models.MgmtV1betaPermission.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.MgmtV1betaPermission.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::Instill.MgmtV1betaPermission), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.MgmtV1betaPermission; + } + + /// + /// 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/Instill/Generated/Instill.Models.Model.g.cs b/src/libs/Instill/Generated/Instill.Models.Model.g.cs index a286507..5de2c7c 100644 --- a/src/libs/Instill/Generated/Instill.Models.Model.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.Model.g.cs @@ -253,5 +253,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::Instill.Model), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.Model; + } + + /// + /// 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/Instill/Generated/Instill.Models.ModelConfiguration.g.cs b/src/libs/Instill/Generated/Instill.Models.ModelConfiguration.g.cs index 5d3fd18..35c6df3 100644 --- a/src/libs/Instill/Generated/Instill.Models.ModelConfiguration.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ModelConfiguration.g.cs @@ -74,5 +74,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::Instill.ModelConfiguration), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ModelConfiguration; + } + + /// + /// 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/Instill/Generated/Instill.Models.ModelDefinition.g.cs b/src/libs/Instill/Generated/Instill.Models.ModelDefinition.g.cs index dc27c55..a49e826 100644 --- a/src/libs/Instill/Generated/Instill.Models.ModelDefinition.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ModelDefinition.g.cs @@ -150,5 +150,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::Instill.ModelDefinition), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ModelDefinition; + } + + /// + /// 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/Instill/Generated/Instill.Models.ModelDefinitionModelSpec.g.cs b/src/libs/Instill/Generated/Instill.Models.ModelDefinitionModelSpec.g.cs index 4e67922..0178bd2 100644 --- a/src/libs/Instill/Generated/Instill.Models.ModelDefinitionModelSpec.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ModelDefinitionModelSpec.g.cs @@ -77,5 +77,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::Instill.ModelDefinitionModelSpec), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ModelDefinitionModelSpec; + } + + /// + /// 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/Instill/Generated/Instill.Models.ModelInputSchema.g.cs b/src/libs/Instill/Generated/Instill.Models.ModelInputSchema.g.cs index ca4c368..d5faf9f 100644 --- a/src/libs/Instill/Generated/Instill.Models.ModelInputSchema.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ModelInputSchema.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::Instill.ModelInputSchema), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ModelInputSchema; + } + + /// + /// 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/Instill/Generated/Instill.Models.ModelOutputSchema.g.cs b/src/libs/Instill/Generated/Instill.Models.ModelOutputSchema.g.cs index 2307465..ecacf98 100644 --- a/src/libs/Instill/Generated/Instill.Models.ModelOutputSchema.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ModelOutputSchema.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::Instill.ModelOutputSchema), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ModelOutputSchema; + } + + /// + /// 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/Instill/Generated/Instill.Models.ModelPublicServiceCreateNamespaceModelResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceCreateNamespaceModelResponse.g.cs index ed53a13..7cd80d7 100644 --- a/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceCreateNamespaceModelResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceCreateNamespaceModelResponse.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::Instill.ModelPublicServiceCreateNamespaceModelResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ModelPublicServiceCreateNamespaceModelResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ModelPublicServiceDeleteNamespaceModelResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceDeleteNamespaceModelResponse.g.cs index f004d1c..c7325d7 100644 --- a/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceDeleteNamespaceModelResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceDeleteNamespaceModelResponse.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::Instill.ModelPublicServiceDeleteNamespaceModelResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ModelPublicServiceDeleteNamespaceModelResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ModelPublicServiceDeleteNamespaceModelVersionResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceDeleteNamespaceModelVersionResponse.g.cs index 30ef8c3..113dca1 100644 --- a/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceDeleteNamespaceModelVersionResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceDeleteNamespaceModelVersionResponse.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::Instill.ModelPublicServiceDeleteNamespaceModelVersionResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ModelPublicServiceDeleteNamespaceModelVersionResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ModelPublicServiceGetModelDefinitionResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceGetModelDefinitionResponse.g.cs index 7a985c6..8413554 100644 --- a/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceGetModelDefinitionResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceGetModelDefinitionResponse.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::Instill.ModelPublicServiceGetModelDefinitionResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ModelPublicServiceGetModelDefinitionResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ModelPublicServiceGetModelOperationResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceGetModelOperationResponse.g.cs index 9e43eeb..16819e4 100644 --- a/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceGetModelOperationResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceGetModelOperationResponse.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::Instill.ModelPublicServiceGetModelOperationResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ModelPublicServiceGetModelOperationResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ModelPublicServiceGetNamespaceLatestModelOperationResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceGetNamespaceLatestModelOperationResponse.g.cs index f650749..822e4c9 100644 --- a/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceGetNamespaceLatestModelOperationResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceGetNamespaceLatestModelOperationResponse.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::Instill.ModelPublicServiceGetNamespaceLatestModelOperationResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ModelPublicServiceGetNamespaceLatestModelOperationResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ModelPublicServiceGetNamespaceModelOperationResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceGetNamespaceModelOperationResponse.g.cs index ed3fe2a..db97bdd 100644 --- a/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceGetNamespaceModelOperationResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceGetNamespaceModelOperationResponse.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::Instill.ModelPublicServiceGetNamespaceModelOperationResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ModelPublicServiceGetNamespaceModelOperationResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ModelPublicServiceGetNamespaceModelResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceGetNamespaceModelResponse.g.cs index b7454ab..2f3b0cb 100644 --- a/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceGetNamespaceModelResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceGetNamespaceModelResponse.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::Instill.ModelPublicServiceGetNamespaceModelResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ModelPublicServiceGetNamespaceModelResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ModelPublicServiceListAvailableRegionsResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceListAvailableRegionsResponse.g.cs index 9c088bd..9e08805 100644 --- a/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceListAvailableRegionsResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceListAvailableRegionsResponse.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::Instill.ModelPublicServiceListAvailableRegionsResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ModelPublicServiceListAvailableRegionsResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ModelPublicServiceListModelDefinitionsResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceListModelDefinitionsResponse.g.cs index 9f2f8c3..5db43f0 100644 --- a/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceListModelDefinitionsResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceListModelDefinitionsResponse.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::Instill.ModelPublicServiceListModelDefinitionsResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ModelPublicServiceListModelDefinitionsResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ModelPublicServiceListModelRunsByRequesterResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceListModelRunsByRequesterResponse.g.cs index b21904c..5b7cfdb 100644 --- a/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceListModelRunsByRequesterResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceListModelRunsByRequesterResponse.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::Instill.ModelPublicServiceListModelRunsByRequesterResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ModelPublicServiceListModelRunsByRequesterResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ModelPublicServiceListModelRunsResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceListModelRunsResponse.g.cs index 8dc4298..f313c84 100644 --- a/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceListModelRunsResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceListModelRunsResponse.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::Instill.ModelPublicServiceListModelRunsResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ModelPublicServiceListModelRunsResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ModelPublicServiceListModelsResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceListModelsResponse.g.cs index c08d022..6e18293 100644 --- a/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceListModelsResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceListModelsResponse.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::Instill.ModelPublicServiceListModelsResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ModelPublicServiceListModelsResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ModelPublicServiceListNamespaceModelVersionsResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceListNamespaceModelVersionsResponse.g.cs index c63bc39..b195984 100644 --- a/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceListNamespaceModelVersionsResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceListNamespaceModelVersionsResponse.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::Instill.ModelPublicServiceListNamespaceModelVersionsResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ModelPublicServiceListNamespaceModelVersionsResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ModelPublicServiceListNamespaceModelsResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceListNamespaceModelsResponse.g.cs index fe3ce82..4b62abf 100644 --- a/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceListNamespaceModelsResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceListNamespaceModelsResponse.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::Instill.ModelPublicServiceListNamespaceModelsResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ModelPublicServiceListNamespaceModelsResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ModelPublicServiceRenameNamespaceModelResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceRenameNamespaceModelResponse.g.cs index a912d81..67f1f5d 100644 --- a/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceRenameNamespaceModelResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceRenameNamespaceModelResponse.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::Instill.ModelPublicServiceRenameNamespaceModelResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ModelPublicServiceRenameNamespaceModelResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ModelPublicServiceTriggerAsyncNamespaceLatestModelResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceTriggerAsyncNamespaceLatestModelResponse.g.cs index dc9e09d..c5b8b8f 100644 --- a/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceTriggerAsyncNamespaceLatestModelResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceTriggerAsyncNamespaceLatestModelResponse.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::Instill.ModelPublicServiceTriggerAsyncNamespaceLatestModelResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ModelPublicServiceTriggerAsyncNamespaceLatestModelResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ModelPublicServiceTriggerAsyncNamespaceModelResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceTriggerAsyncNamespaceModelResponse.g.cs index 4a38534..4bba970 100644 --- a/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceTriggerAsyncNamespaceModelResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceTriggerAsyncNamespaceModelResponse.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::Instill.ModelPublicServiceTriggerAsyncNamespaceModelResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ModelPublicServiceTriggerAsyncNamespaceModelResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ModelPublicServiceTriggerNamespaceLatestModelResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceTriggerNamespaceLatestModelResponse.g.cs index daffa92..19bfcf4 100644 --- a/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceTriggerNamespaceLatestModelResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceTriggerNamespaceLatestModelResponse.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::Instill.ModelPublicServiceTriggerNamespaceLatestModelResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ModelPublicServiceTriggerNamespaceLatestModelResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ModelPublicServiceTriggerNamespaceModelResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceTriggerNamespaceModelResponse.g.cs index 1cbd57c..eb0359b 100644 --- a/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceTriggerNamespaceModelResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceTriggerNamespaceModelResponse.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::Instill.ModelPublicServiceTriggerNamespaceModelResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ModelPublicServiceTriggerNamespaceModelResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ModelPublicServiceUpdateNamespaceModelResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceUpdateNamespaceModelResponse.g.cs index b98be51..244646e 100644 --- a/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceUpdateNamespaceModelResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceUpdateNamespaceModelResponse.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::Instill.ModelPublicServiceUpdateNamespaceModelResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ModelPublicServiceUpdateNamespaceModelResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ModelPublicServiceWatchNamespaceLatestModelResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceWatchNamespaceLatestModelResponse.g.cs index 0032e59..483ef3c 100644 --- a/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceWatchNamespaceLatestModelResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceWatchNamespaceLatestModelResponse.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::Instill.ModelPublicServiceWatchNamespaceLatestModelResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ModelPublicServiceWatchNamespaceLatestModelResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ModelPublicServiceWatchNamespaceModelResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceWatchNamespaceModelResponse.g.cs index 0e2499c..de1d479 100644 --- a/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceWatchNamespaceModelResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ModelPublicServiceWatchNamespaceModelResponse.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::Instill.ModelPublicServiceWatchNamespaceModelResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ModelPublicServiceWatchNamespaceModelResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ModelRun.g.cs b/src/libs/Instill/Generated/Instill.Models.ModelRun.g.cs index 781fc49..b8a5ae3 100644 --- a/src/libs/Instill/Generated/Instill.Models.ModelRun.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ModelRun.g.cs @@ -193,5 +193,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::Instill.ModelRun), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ModelRun; + } + + /// + /// 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/Instill/Generated/Instill.Models.ModelRunTaskInput.g.cs b/src/libs/Instill/Generated/Instill.Models.ModelRunTaskInput.g.cs index 5b39533..882e69d 100644 --- a/src/libs/Instill/Generated/Instill.Models.ModelRunTaskInput.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ModelRunTaskInput.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::Instill.ModelRunTaskInput), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ModelRunTaskInput; + } + + /// + /// 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/Instill/Generated/Instill.Models.ModelRunTaskOutput.g.cs b/src/libs/Instill/Generated/Instill.Models.ModelRunTaskOutput.g.cs index 4ad9aa2..71a6a33 100644 --- a/src/libs/Instill/Generated/Instill.Models.ModelRunTaskOutput.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ModelRunTaskOutput.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::Instill.ModelRunTaskOutput), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ModelRunTaskOutput; + } + + /// + /// 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/Instill/Generated/Instill.Models.ModelStats.g.cs b/src/libs/Instill/Generated/Instill.Models.ModelStats.g.cs index 9ed26ee..5bc65e7 100644 --- a/src/libs/Instill/Generated/Instill.Models.ModelStats.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ModelStats.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::Instill.ModelStats), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ModelStats; + } + + /// + /// 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/Instill/Generated/Instill.Models.ModelTriggerChartRecord.g.cs b/src/libs/Instill/Generated/Instill.Models.ModelTriggerChartRecord.g.cs index bf1c05b..cca934a 100644 --- a/src/libs/Instill/Generated/Instill.Models.ModelTriggerChartRecord.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ModelTriggerChartRecord.g.cs @@ -101,5 +101,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::Instill.ModelTriggerChartRecord), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ModelTriggerChartRecord; + } + + /// + /// 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/Instill/Generated/Instill.Models.ModelVersion.g.cs b/src/libs/Instill/Generated/Instill.Models.ModelVersion.g.cs index c581586..ada2a57 100644 --- a/src/libs/Instill/Generated/Instill.Models.ModelVersion.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ModelVersion.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::Instill.ModelVersion), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ModelVersion; + } + + /// + /// 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/Instill/Generated/Instill.Models.OAuthConfig.g.cs b/src/libs/Instill/Generated/Instill.Models.OAuthConfig.g.cs index 77b98f6..aaec019 100644 --- a/src/libs/Instill/Generated/Instill.Models.OAuthConfig.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.OAuthConfig.g.cs @@ -96,5 +96,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::Instill.OAuthConfig), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.OAuthConfig; + } + + /// + /// 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/Instill/Generated/Instill.Models.ObjectURL.g.cs b/src/libs/Instill/Generated/Instill.Models.ObjectURL.g.cs index f31a8ca..cc6e4aa 100644 --- a/src/libs/Instill/Generated/Instill.Models.ObjectURL.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ObjectURL.g.cs @@ -131,5 +131,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::Instill.ObjectURL), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ObjectURL; + } + + /// + /// 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/Instill/Generated/Instill.Models.Organization.g.cs b/src/libs/Instill/Generated/Instill.Models.Organization.g.cs index d3a12fa..838487b 100644 --- a/src/libs/Instill/Generated/Instill.Models.Organization.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.Organization.g.cs @@ -131,5 +131,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::Instill.Organization), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.Organization; + } + + /// + /// 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/Instill/Generated/Instill.Models.OrganizationMembership.g.cs b/src/libs/Instill/Generated/Instill.Models.OrganizationMembership.g.cs index 9f9b0ec..da4ada1 100644 --- a/src/libs/Instill/Generated/Instill.Models.OrganizationMembership.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.OrganizationMembership.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::Instill.OrganizationMembership), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.OrganizationMembership; + } + + /// + /// 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/Instill/Generated/Instill.Models.OrganizationProfile.g.cs b/src/libs/Instill/Generated/Instill.Models.OrganizationProfile.g.cs index cbd04ac..6345650 100644 --- a/src/libs/Instill/Generated/Instill.Models.OrganizationProfile.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.OrganizationProfile.g.cs @@ -102,5 +102,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::Instill.OrganizationProfile), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.OrganizationProfile; + } + + /// + /// 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/Instill/Generated/Instill.Models.OrganizationProfileSocialProfileLinks.g.cs b/src/libs/Instill/Generated/Instill.Models.OrganizationProfileSocialProfileLinks.g.cs index 57a2259..871b4f6 100644 --- a/src/libs/Instill/Generated/Instill.Models.OrganizationProfileSocialProfileLinks.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.OrganizationProfileSocialProfileLinks.g.cs @@ -73,5 +73,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::Instill.OrganizationProfileSocialProfileLinks), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.OrganizationProfileSocialProfileLinks; + } + + /// + /// 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/Instill/Generated/Instill.Models.OrganizationSubscription.g.cs b/src/libs/Instill/Generated/Instill.Models.OrganizationSubscription.g.cs index f379563..d989ba5 100644 --- a/src/libs/Instill/Generated/Instill.Models.OrganizationSubscription.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.OrganizationSubscription.g.cs @@ -93,5 +93,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::Instill.OrganizationSubscription), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.OrganizationSubscription; + } + + /// + /// 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/Instill/Generated/Instill.Models.Owner.g.cs b/src/libs/Instill/Generated/Instill.Models.Owner.g.cs index 3a92dec..f7c9252 100644 --- a/src/libs/Instill/Generated/Instill.Models.Owner.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.Owner.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::Instill.Owner), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.Owner; + } + + /// + /// 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/Instill/Generated/Instill.Models.PatchAuthenticatedUserResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.PatchAuthenticatedUserResponse.g.cs index 9713f61..41cf4a4 100644 --- a/src/libs/Instill/Generated/Instill.Models.PatchAuthenticatedUserResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.PatchAuthenticatedUserResponse.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::Instill.PatchAuthenticatedUserResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.PatchAuthenticatedUserResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.PatchAuthenticatedUserResponse2.g.cs b/src/libs/Instill/Generated/Instill.Models.PatchAuthenticatedUserResponse2.g.cs index 6e0070d..a481c10 100644 --- a/src/libs/Instill/Generated/Instill.Models.PatchAuthenticatedUserResponse2.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.PatchAuthenticatedUserResponse2.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::Instill.PatchAuthenticatedUserResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.PatchAuthenticatedUserResponse2; + } + + /// + /// 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/Instill/Generated/Instill.Models.Permission.g.cs b/src/libs/Instill/Generated/Instill.Models.Permission.g.cs index a8479ff..544f756 100644 --- a/src/libs/Instill/Generated/Instill.Models.Permission.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.Permission.g.cs @@ -83,5 +83,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::Instill.Permission), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.Permission; + } + + /// + /// 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/Instill/Generated/Instill.Models.Pipeline.g.cs b/src/libs/Instill/Generated/Instill.Models.Pipeline.g.cs index 2cb0320..efdb594 100644 --- a/src/libs/Instill/Generated/Instill.Models.Pipeline.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.Pipeline.g.cs @@ -244,5 +244,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::Instill.Pipeline), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.Pipeline; + } + + /// + /// 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/Instill/Generated/Instill.Models.PipelineMetadata.g.cs b/src/libs/Instill/Generated/Instill.Models.PipelineMetadata.g.cs index 3a4c560..8bbd047 100644 --- a/src/libs/Instill/Generated/Instill.Models.PipelineMetadata.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.PipelineMetadata.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::Instill.PipelineMetadata), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.PipelineMetadata; + } + + /// + /// 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/Instill/Generated/Instill.Models.PipelinePublicServiceCloneNamespacePipelineReleaseResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceCloneNamespacePipelineReleaseResponse.g.cs index a7d626d..5684da6 100644 --- a/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceCloneNamespacePipelineReleaseResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceCloneNamespacePipelineReleaseResponse.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::Instill.PipelinePublicServiceCloneNamespacePipelineReleaseResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.PipelinePublicServiceCloneNamespacePipelineReleaseResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.PipelinePublicServiceCloneNamespacePipelineResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceCloneNamespacePipelineResponse.g.cs index 72111ea..9454ffd 100644 --- a/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceCloneNamespacePipelineResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceCloneNamespacePipelineResponse.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::Instill.PipelinePublicServiceCloneNamespacePipelineResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.PipelinePublicServiceCloneNamespacePipelineResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.PipelinePublicServiceCreateNamespaceConnectionResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceCreateNamespaceConnectionResponse.g.cs index 5fcf60b..d7ae972 100644 --- a/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceCreateNamespaceConnectionResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceCreateNamespaceConnectionResponse.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::Instill.PipelinePublicServiceCreateNamespaceConnectionResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.PipelinePublicServiceCreateNamespaceConnectionResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.PipelinePublicServiceCreateNamespacePipelineReleaseResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceCreateNamespacePipelineReleaseResponse.g.cs index 4cca7b5..8a044ac 100644 --- a/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceCreateNamespacePipelineReleaseResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceCreateNamespacePipelineReleaseResponse.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::Instill.PipelinePublicServiceCreateNamespacePipelineReleaseResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.PipelinePublicServiceCreateNamespacePipelineReleaseResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.PipelinePublicServiceCreateNamespacePipelineResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceCreateNamespacePipelineResponse.g.cs index 2098742..3f4164c 100644 --- a/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceCreateNamespacePipelineResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceCreateNamespacePipelineResponse.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::Instill.PipelinePublicServiceCreateNamespacePipelineResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.PipelinePublicServiceCreateNamespacePipelineResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.PipelinePublicServiceCreateNamespaceSecretResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceCreateNamespaceSecretResponse.g.cs index 3e472d8..93d70c9 100644 --- a/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceCreateNamespaceSecretResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceCreateNamespaceSecretResponse.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::Instill.PipelinePublicServiceCreateNamespaceSecretResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.PipelinePublicServiceCreateNamespaceSecretResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.PipelinePublicServiceDeleteNamespaceConnectionResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceDeleteNamespaceConnectionResponse.g.cs index 1cfcd67..5fe0a0e 100644 --- a/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceDeleteNamespaceConnectionResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceDeleteNamespaceConnectionResponse.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::Instill.PipelinePublicServiceDeleteNamespaceConnectionResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.PipelinePublicServiceDeleteNamespaceConnectionResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.PipelinePublicServiceDeleteNamespacePipelineReleaseResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceDeleteNamespacePipelineReleaseResponse.g.cs index a88c919..16019b5 100644 --- a/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceDeleteNamespacePipelineReleaseResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceDeleteNamespacePipelineReleaseResponse.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::Instill.PipelinePublicServiceDeleteNamespacePipelineReleaseResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.PipelinePublicServiceDeleteNamespacePipelineReleaseResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.PipelinePublicServiceDeleteNamespacePipelineResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceDeleteNamespacePipelineResponse.g.cs index d6a73f6..5ccc7e5 100644 --- a/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceDeleteNamespacePipelineResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceDeleteNamespacePipelineResponse.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::Instill.PipelinePublicServiceDeleteNamespacePipelineResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.PipelinePublicServiceDeleteNamespacePipelineResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.PipelinePublicServiceDeleteNamespaceSecretResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceDeleteNamespaceSecretResponse.g.cs index 07fe08a..4ada783 100644 --- a/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceDeleteNamespaceSecretResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceDeleteNamespaceSecretResponse.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::Instill.PipelinePublicServiceDeleteNamespaceSecretResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.PipelinePublicServiceDeleteNamespaceSecretResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.PipelinePublicServiceGetIntegrationResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceGetIntegrationResponse.g.cs index 6ce9866..b098114 100644 --- a/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceGetIntegrationResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceGetIntegrationResponse.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::Instill.PipelinePublicServiceGetIntegrationResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.PipelinePublicServiceGetIntegrationResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.PipelinePublicServiceGetNamespaceConnectionResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceGetNamespaceConnectionResponse.g.cs index 3408fcf..58e1fdb 100644 --- a/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceGetNamespaceConnectionResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceGetNamespaceConnectionResponse.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::Instill.PipelinePublicServiceGetNamespaceConnectionResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.PipelinePublicServiceGetNamespaceConnectionResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.PipelinePublicServiceGetNamespacePipelineReleaseResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceGetNamespacePipelineReleaseResponse.g.cs index 6297a6e..3548f19 100644 --- a/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceGetNamespacePipelineReleaseResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceGetNamespacePipelineReleaseResponse.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::Instill.PipelinePublicServiceGetNamespacePipelineReleaseResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.PipelinePublicServiceGetNamespacePipelineReleaseResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.PipelinePublicServiceGetNamespacePipelineResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceGetNamespacePipelineResponse.g.cs index e6f6fd3..1c67d60 100644 --- a/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceGetNamespacePipelineResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceGetNamespacePipelineResponse.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::Instill.PipelinePublicServiceGetNamespacePipelineResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.PipelinePublicServiceGetNamespacePipelineResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.PipelinePublicServiceGetNamespaceSecretResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceGetNamespaceSecretResponse.g.cs index f2a929a..411dace 100644 --- a/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceGetNamespaceSecretResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceGetNamespaceSecretResponse.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::Instill.PipelinePublicServiceGetNamespaceSecretResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.PipelinePublicServiceGetNamespaceSecretResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.PipelinePublicServiceGetOperationResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceGetOperationResponse.g.cs index 37ef9c9..7ede254 100644 --- a/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceGetOperationResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceGetOperationResponse.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::Instill.PipelinePublicServiceGetOperationResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.PipelinePublicServiceGetOperationResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.PipelinePublicServiceListComponentDefinitionsResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceListComponentDefinitionsResponse.g.cs index bc0c683..08d658b 100644 --- a/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceListComponentDefinitionsResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceListComponentDefinitionsResponse.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::Instill.PipelinePublicServiceListComponentDefinitionsResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.PipelinePublicServiceListComponentDefinitionsResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.PipelinePublicServiceListComponentRunsResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceListComponentRunsResponse.g.cs index 2ef9b62..f1387d4 100644 --- a/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceListComponentRunsResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceListComponentRunsResponse.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::Instill.PipelinePublicServiceListComponentRunsResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.PipelinePublicServiceListComponentRunsResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.PipelinePublicServiceListIntegrationsResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceListIntegrationsResponse.g.cs index cd7db22..aff6e8e 100644 --- a/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceListIntegrationsResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceListIntegrationsResponse.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::Instill.PipelinePublicServiceListIntegrationsResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.PipelinePublicServiceListIntegrationsResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.PipelinePublicServiceListNamespaceConnectionsResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceListNamespaceConnectionsResponse.g.cs index 02b3a0d..85a8d43 100644 --- a/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceListNamespaceConnectionsResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceListNamespaceConnectionsResponse.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::Instill.PipelinePublicServiceListNamespaceConnectionsResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.PipelinePublicServiceListNamespaceConnectionsResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.PipelinePublicServiceListNamespacePipelineReleasesResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceListNamespacePipelineReleasesResponse.g.cs index 835b107..771c77a 100644 --- a/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceListNamespacePipelineReleasesResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceListNamespacePipelineReleasesResponse.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::Instill.PipelinePublicServiceListNamespacePipelineReleasesResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.PipelinePublicServiceListNamespacePipelineReleasesResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.PipelinePublicServiceListNamespacePipelinesResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceListNamespacePipelinesResponse.g.cs index 3879519..5274f63 100644 --- a/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceListNamespacePipelinesResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceListNamespacePipelinesResponse.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::Instill.PipelinePublicServiceListNamespacePipelinesResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.PipelinePublicServiceListNamespacePipelinesResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.PipelinePublicServiceListNamespaceSecretsResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceListNamespaceSecretsResponse.g.cs index b343f41..71c8c75 100644 --- a/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceListNamespaceSecretsResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceListNamespaceSecretsResponse.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::Instill.PipelinePublicServiceListNamespaceSecretsResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.PipelinePublicServiceListNamespaceSecretsResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.PipelinePublicServiceListPipelineIDsByConnectionIDResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceListPipelineIDsByConnectionIDResponse.g.cs index eedd230..afcd958 100644 --- a/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceListPipelineIDsByConnectionIDResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceListPipelineIDsByConnectionIDResponse.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::Instill.PipelinePublicServiceListPipelineIDsByConnectionIDResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.PipelinePublicServiceListPipelineIDsByConnectionIDResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.PipelinePublicServiceListPipelineRunsByRequesterResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceListPipelineRunsByRequesterResponse.g.cs index d9979e2..9565856 100644 --- a/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceListPipelineRunsByRequesterResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceListPipelineRunsByRequesterResponse.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::Instill.PipelinePublicServiceListPipelineRunsByRequesterResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.PipelinePublicServiceListPipelineRunsByRequesterResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.PipelinePublicServiceListPipelineRunsResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceListPipelineRunsResponse.g.cs index ca6ee0c..778f2c8 100644 --- a/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceListPipelineRunsResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceListPipelineRunsResponse.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::Instill.PipelinePublicServiceListPipelineRunsResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.PipelinePublicServiceListPipelineRunsResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.PipelinePublicServiceListPipelinesResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceListPipelinesResponse.g.cs index c797d94..08f2e7b 100644 --- a/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceListPipelinesResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceListPipelinesResponse.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::Instill.PipelinePublicServiceListPipelinesResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.PipelinePublicServiceListPipelinesResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.PipelinePublicServiceRenameNamespacePipelineResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceRenameNamespacePipelineResponse.g.cs index 6606033..426237e 100644 --- a/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceRenameNamespacePipelineResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceRenameNamespacePipelineResponse.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::Instill.PipelinePublicServiceRenameNamespacePipelineResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.PipelinePublicServiceRenameNamespacePipelineResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.PipelinePublicServiceTestNamespaceConnectionResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceTestNamespaceConnectionResponse.g.cs index 8102adc..fc69c2d 100644 --- a/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceTestNamespaceConnectionResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceTestNamespaceConnectionResponse.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::Instill.PipelinePublicServiceTestNamespaceConnectionResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.PipelinePublicServiceTestNamespaceConnectionResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.PipelinePublicServiceTriggerAsyncNamespacePipelineReleaseResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceTriggerAsyncNamespacePipelineReleaseResponse.g.cs index 7314ce0..b4ffe17 100644 --- a/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceTriggerAsyncNamespacePipelineReleaseResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceTriggerAsyncNamespacePipelineReleaseResponse.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::Instill.PipelinePublicServiceTriggerAsyncNamespacePipelineReleaseResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.PipelinePublicServiceTriggerAsyncNamespacePipelineReleaseResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.PipelinePublicServiceTriggerAsyncNamespacePipelineResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceTriggerAsyncNamespacePipelineResponse.g.cs index 5c6b155..40a5638 100644 --- a/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceTriggerAsyncNamespacePipelineResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceTriggerAsyncNamespacePipelineResponse.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::Instill.PipelinePublicServiceTriggerAsyncNamespacePipelineResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.PipelinePublicServiceTriggerAsyncNamespacePipelineResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.PipelinePublicServiceTriggerNamespacePipelineReleaseResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceTriggerNamespacePipelineReleaseResponse.g.cs index 17904db..0f1ca79 100644 --- a/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceTriggerNamespacePipelineReleaseResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceTriggerNamespacePipelineReleaseResponse.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::Instill.PipelinePublicServiceTriggerNamespacePipelineReleaseResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.PipelinePublicServiceTriggerNamespacePipelineReleaseResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.PipelinePublicServiceTriggerNamespacePipelineResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceTriggerNamespacePipelineResponse.g.cs index 8d99b52..ecc7ede 100644 --- a/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceTriggerNamespacePipelineResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceTriggerNamespacePipelineResponse.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::Instill.PipelinePublicServiceTriggerNamespacePipelineResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.PipelinePublicServiceTriggerNamespacePipelineResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.PipelinePublicServiceTriggerNamespacePipelineWithStreamResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceTriggerNamespacePipelineWithStreamResponse.g.cs index 5e929c1..d77ed11 100644 --- a/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceTriggerNamespacePipelineWithStreamResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceTriggerNamespacePipelineWithStreamResponse.g.cs @@ -89,5 +89,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::Instill.PipelinePublicServiceTriggerNamespacePipelineWithStreamResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.PipelinePublicServiceTriggerNamespacePipelineWithStreamResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.PipelinePublicServiceTriggerNamespacePipelineWithStreamResponse2.g.cs b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceTriggerNamespacePipelineWithStreamResponse2.g.cs index c9a3bfc..b5745e5 100644 --- a/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceTriggerNamespacePipelineWithStreamResponse2.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceTriggerNamespacePipelineWithStreamResponse2.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::Instill.PipelinePublicServiceTriggerNamespacePipelineWithStreamResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.PipelinePublicServiceTriggerNamespacePipelineWithStreamResponse2; + } + + /// + /// 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/Instill/Generated/Instill.Models.PipelinePublicServiceUpdateNamespaceConnectionResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceUpdateNamespaceConnectionResponse.g.cs index e72ed62..cb7fabf 100644 --- a/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceUpdateNamespaceConnectionResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceUpdateNamespaceConnectionResponse.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::Instill.PipelinePublicServiceUpdateNamespaceConnectionResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.PipelinePublicServiceUpdateNamespaceConnectionResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.PipelinePublicServiceUpdateNamespacePipelineReleaseResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceUpdateNamespacePipelineReleaseResponse.g.cs index 40fa429..2440935 100644 --- a/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceUpdateNamespacePipelineReleaseResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceUpdateNamespacePipelineReleaseResponse.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::Instill.PipelinePublicServiceUpdateNamespacePipelineReleaseResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.PipelinePublicServiceUpdateNamespacePipelineReleaseResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.PipelinePublicServiceUpdateNamespacePipelineResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceUpdateNamespacePipelineResponse.g.cs index 62ddaeb..5861440 100644 --- a/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceUpdateNamespacePipelineResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceUpdateNamespacePipelineResponse.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::Instill.PipelinePublicServiceUpdateNamespacePipelineResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.PipelinePublicServiceUpdateNamespacePipelineResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.PipelinePublicServiceUpdateNamespaceSecretResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceUpdateNamespaceSecretResponse.g.cs index 8cff5c6..ac5840f 100644 --- a/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceUpdateNamespaceSecretResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceUpdateNamespaceSecretResponse.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::Instill.PipelinePublicServiceUpdateNamespaceSecretResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.PipelinePublicServiceUpdateNamespaceSecretResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.PipelinePublicServiceValidateNamespacePipelineResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceValidateNamespacePipelineResponse.g.cs index a50c16c..f5c2f1e 100644 --- a/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceValidateNamespacePipelineResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.PipelinePublicServiceValidateNamespacePipelineResponse.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::Instill.PipelinePublicServiceValidateNamespacePipelineResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.PipelinePublicServiceValidateNamespacePipelineResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.PipelineRecipe.g.cs b/src/libs/Instill/Generated/Instill.Models.PipelineRecipe.g.cs index db0a7e4..fdc5891 100644 --- a/src/libs/Instill/Generated/Instill.Models.PipelineRecipe.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.PipelineRecipe.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::Instill.PipelineRecipe), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.PipelineRecipe; + } + + /// + /// 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/Instill/Generated/Instill.Models.PipelineRelease.g.cs b/src/libs/Instill/Generated/Instill.Models.PipelineRelease.g.cs index 614805a..e1c25ab 100644 --- a/src/libs/Instill/Generated/Instill.Models.PipelineRelease.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.PipelineRelease.g.cs @@ -169,5 +169,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::Instill.PipelineRelease), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.PipelineRelease; + } + + /// + /// 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/Instill/Generated/Instill.Models.PipelineReleaseMetadata.g.cs b/src/libs/Instill/Generated/Instill.Models.PipelineReleaseMetadata.g.cs index f07e735..996b7c4 100644 --- a/src/libs/Instill/Generated/Instill.Models.PipelineReleaseMetadata.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.PipelineReleaseMetadata.g.cs @@ -73,5 +73,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::Instill.PipelineReleaseMetadata), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.PipelineReleaseMetadata; + } + + /// + /// 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/Instill/Generated/Instill.Models.PipelineReleaseRecipe.g.cs b/src/libs/Instill/Generated/Instill.Models.PipelineReleaseRecipe.g.cs index c2814d7..c1efc2f 100644 --- a/src/libs/Instill/Generated/Instill.Models.PipelineReleaseRecipe.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.PipelineReleaseRecipe.g.cs @@ -73,5 +73,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::Instill.PipelineReleaseRecipe), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.PipelineReleaseRecipe; + } + + /// + /// 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/Instill/Generated/Instill.Models.PipelineRun.g.cs b/src/libs/Instill/Generated/Instill.Models.PipelineRun.g.cs index f7446c1..ced2fcb 100644 --- a/src/libs/Instill/Generated/Instill.Models.PipelineRun.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.PipelineRun.g.cs @@ -198,5 +198,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::Instill.PipelineRun), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.PipelineRun; + } + + /// + /// 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/Instill/Generated/Instill.Models.PipelineRunInput.g.cs b/src/libs/Instill/Generated/Instill.Models.PipelineRunInput.g.cs index dd8fca6..43e8d5a 100644 --- a/src/libs/Instill/Generated/Instill.Models.PipelineRunInput.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.PipelineRunInput.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::Instill.PipelineRunInput), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.PipelineRunInput; + } + + /// + /// 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/Instill/Generated/Instill.Models.PipelineRunOutput.g.cs b/src/libs/Instill/Generated/Instill.Models.PipelineRunOutput.g.cs index f36d464..ba3a5ad 100644 --- a/src/libs/Instill/Generated/Instill.Models.PipelineRunOutput.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.PipelineRunOutput.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::Instill.PipelineRunOutput), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.PipelineRunOutput; + } + + /// + /// 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/Instill/Generated/Instill.Models.PipelineRunRecipeSnapshot.g.cs b/src/libs/Instill/Generated/Instill.Models.PipelineRunRecipeSnapshot.g.cs index 26f3414..89e3391 100644 --- a/src/libs/Instill/Generated/Instill.Models.PipelineRunRecipeSnapshot.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.PipelineRunRecipeSnapshot.g.cs @@ -73,5 +73,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::Instill.PipelineRunRecipeSnapshot), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.PipelineRunRecipeSnapshot; + } + + /// + /// 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/Instill/Generated/Instill.Models.PipelineStats.g.cs b/src/libs/Instill/Generated/Instill.Models.PipelineStats.g.cs index 53e9634..09da1a8 100644 --- a/src/libs/Instill/Generated/Instill.Models.PipelineStats.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.PipelineStats.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::Instill.PipelineStats), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.PipelineStats; + } + + /// + /// 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/Instill/Generated/Instill.Models.PipelineTriggerChartRecord.g.cs b/src/libs/Instill/Generated/Instill.Models.PipelineTriggerChartRecord.g.cs index 01ee1fd..f225aff 100644 --- a/src/libs/Instill/Generated/Instill.Models.PipelineTriggerChartRecord.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.PipelineTriggerChartRecord.g.cs @@ -134,5 +134,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::Instill.PipelineTriggerChartRecord), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.PipelineTriggerChartRecord; + } + + /// + /// 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/Instill/Generated/Instill.Models.PipelineTriggerRecord.g.cs b/src/libs/Instill/Generated/Instill.Models.PipelineTriggerRecord.g.cs index f5bafa0..7d55eac 100644 --- a/src/libs/Instill/Generated/Instill.Models.PipelineTriggerRecord.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.PipelineTriggerRecord.g.cs @@ -131,5 +131,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::Instill.PipelineTriggerRecord), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.PipelineTriggerRecord; + } + + /// + /// 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/Instill/Generated/Instill.Models.PipelineV1betaPermission.g.cs b/src/libs/Instill/Generated/Instill.Models.PipelineV1betaPermission.g.cs index 1eebf40..c2f6541 100644 --- a/src/libs/Instill/Generated/Instill.Models.PipelineV1betaPermission.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.PipelineV1betaPermission.g.cs @@ -89,5 +89,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::Instill.PipelineV1betaPermission), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.PipelineV1betaPermission; + } + + /// + /// 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/Instill/Generated/Instill.Models.ProcessCatalogFilesRequest.g.cs b/src/libs/Instill/Generated/Instill.Models.ProcessCatalogFilesRequest.g.cs index 3f98deb..6bc598e 100644 --- a/src/libs/Instill/Generated/Instill.Models.ProcessCatalogFilesRequest.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ProcessCatalogFilesRequest.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::Instill.ProcessCatalogFilesRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ProcessCatalogFilesRequest; + } + + /// + /// 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/Instill/Generated/Instill.Models.ProcessCatalogFilesResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ProcessCatalogFilesResponse.g.cs index 4e6a7d3..ed02715 100644 --- a/src/libs/Instill/Generated/Instill.Models.ProcessCatalogFilesResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ProcessCatalogFilesResponse.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::Instill.ProcessCatalogFilesResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ProcessCatalogFilesResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ProcessCatalogFilesResponse2.g.cs b/src/libs/Instill/Generated/Instill.Models.ProcessCatalogFilesResponse2.g.cs index 38db8e6..0f6f040 100644 --- a/src/libs/Instill/Generated/Instill.Models.ProcessCatalogFilesResponse2.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ProcessCatalogFilesResponse2.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::Instill.ProcessCatalogFilesResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ProcessCatalogFilesResponse2; + } + + /// + /// 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/Instill/Generated/Instill.Models.QuestionAnsweringBody.g.cs b/src/libs/Instill/Generated/Instill.Models.QuestionAnsweringBody.g.cs index 356b746..3d60231 100644 --- a/src/libs/Instill/Generated/Instill.Models.QuestionAnsweringBody.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.QuestionAnsweringBody.g.cs @@ -83,5 +83,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::Instill.QuestionAnsweringBody), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.QuestionAnsweringBody; + } + + /// + /// 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/Instill/Generated/Instill.Models.QuestionAnsweringResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.QuestionAnsweringResponse.g.cs index 0ad2cd2..d3640c4 100644 --- a/src/libs/Instill/Generated/Instill.Models.QuestionAnsweringResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.QuestionAnsweringResponse.g.cs @@ -83,5 +83,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::Instill.QuestionAnsweringResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.QuestionAnsweringResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.QuestionAnsweringResponse2.g.cs b/src/libs/Instill/Generated/Instill.Models.QuestionAnsweringResponse2.g.cs index 6d4bf5e..b89c567 100644 --- a/src/libs/Instill/Generated/Instill.Models.QuestionAnsweringResponse2.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.QuestionAnsweringResponse2.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::Instill.QuestionAnsweringResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.QuestionAnsweringResponse2; + } + + /// + /// 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/Instill/Generated/Instill.Models.Region.g.cs b/src/libs/Instill/Generated/Instill.Models.Region.g.cs index 96ccfff..03d038a 100644 --- a/src/libs/Instill/Generated/Instill.Models.Region.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.Region.g.cs @@ -84,5 +84,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::Instill.Region), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.Region; + } + + /// + /// 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/Instill/Generated/Instill.Models.RenameNamespaceModelBody.g.cs b/src/libs/Instill/Generated/Instill.Models.RenameNamespaceModelBody.g.cs index 3bbb89f..d8de2f6 100644 --- a/src/libs/Instill/Generated/Instill.Models.RenameNamespaceModelBody.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.RenameNamespaceModelBody.g.cs @@ -79,5 +79,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::Instill.RenameNamespaceModelBody), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.RenameNamespaceModelBody; + } + + /// + /// 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/Instill/Generated/Instill.Models.RenameNamespaceModelResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.RenameNamespaceModelResponse.g.cs index 9f7663d..0e7852b 100644 --- a/src/libs/Instill/Generated/Instill.Models.RenameNamespaceModelResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.RenameNamespaceModelResponse.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::Instill.RenameNamespaceModelResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.RenameNamespaceModelResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.RenameNamespacePipelineBody.g.cs b/src/libs/Instill/Generated/Instill.Models.RenameNamespacePipelineBody.g.cs index d2e2bb0..066095a 100644 --- a/src/libs/Instill/Generated/Instill.Models.RenameNamespacePipelineBody.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.RenameNamespacePipelineBody.g.cs @@ -80,5 +80,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::Instill.RenameNamespacePipelineBody), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.RenameNamespacePipelineBody; + } + + /// + /// 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/Instill/Generated/Instill.Models.RenameNamespacePipelineResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.RenameNamespacePipelineResponse.g.cs index 53e2506..6e0440e 100644 --- a/src/libs/Instill/Generated/Instill.Models.RenameNamespacePipelineResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.RenameNamespacePipelineResponse.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::Instill.RenameNamespacePipelineResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.RenameNamespacePipelineResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.RepositoryTag.g.cs b/src/libs/Instill/Generated/Instill.Models.RepositoryTag.g.cs index 7c2243e..1d2f0ac 100644 --- a/src/libs/Instill/Generated/Instill.Models.RepositoryTag.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.RepositoryTag.g.cs @@ -98,5 +98,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::Instill.RepositoryTag), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.RepositoryTag; + } + + /// + /// 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/Instill/Generated/Instill.Models.RestartPlaygroundConversationResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.RestartPlaygroundConversationResponse.g.cs index 4245b9d..589ef4c 100644 --- a/src/libs/Instill/Generated/Instill.Models.RestartPlaygroundConversationResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.RestartPlaygroundConversationResponse.g.cs @@ -77,5 +77,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::Instill.RestartPlaygroundConversationResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.RestartPlaygroundConversationResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.RpcStatus.g.cs b/src/libs/Instill/Generated/Instill.Models.RpcStatus.g.cs index 1b56a5e..f98c37e 100644 --- a/src/libs/Instill/Generated/Instill.Models.RpcStatus.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.RpcStatus.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::Instill.RpcStatus), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.RpcStatus; + } + + /// + /// 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/Instill/Generated/Instill.Models.Secret.g.cs b/src/libs/Instill/Generated/Instill.Models.Secret.g.cs index 4d47504..d7531eb 100644 --- a/src/libs/Instill/Generated/Instill.Models.Secret.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.Secret.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::Instill.Secret), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.Secret; + } + + /// + /// 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/Instill/Generated/Instill.Models.SetupSchema.g.cs b/src/libs/Instill/Generated/Instill.Models.SetupSchema.g.cs index f4919fc..62b5249 100644 --- a/src/libs/Instill/Generated/Instill.Models.SetupSchema.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.SetupSchema.g.cs @@ -88,5 +88,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::Instill.SetupSchema), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.SetupSchema; + } + + /// + /// 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/Instill/Generated/Instill.Models.SetupSchemaSchema.g.cs b/src/libs/Instill/Generated/Instill.Models.SetupSchemaSchema.g.cs index b21dfcd..db1d13d 100644 --- a/src/libs/Instill/Generated/Instill.Models.SetupSchemaSchema.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.SetupSchemaSchema.g.cs @@ -74,5 +74,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::Instill.SetupSchemaSchema), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.SetupSchemaSchema; + } + + /// + /// 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/Instill/Generated/Instill.Models.ShareCode.g.cs b/src/libs/Instill/Generated/Instill.Models.ShareCode.g.cs index 204598c..4fe943e 100644 --- a/src/libs/Instill/Generated/Instill.Models.ShareCode.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ShareCode.g.cs @@ -98,5 +98,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::Instill.ShareCode), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ShareCode; + } + + /// + /// 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/Instill/Generated/Instill.Models.Sharing.g.cs b/src/libs/Instill/Generated/Instill.Models.Sharing.g.cs index 4369ca7..4f34fc0 100644 --- a/src/libs/Instill/Generated/Instill.Models.Sharing.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.Sharing.g.cs @@ -88,5 +88,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::Instill.Sharing), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.Sharing; + } + + /// + /// 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/Instill/Generated/Instill.Models.SharingUser.g.cs b/src/libs/Instill/Generated/Instill.Models.SharingUser.g.cs index 919e4f0..139be80 100644 --- a/src/libs/Instill/Generated/Instill.Models.SharingUser.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.SharingUser.g.cs @@ -84,5 +84,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::Instill.SharingUser), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.SharingUser; + } + + /// + /// 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/Instill/Generated/Instill.Models.SharingUsers.g.cs b/src/libs/Instill/Generated/Instill.Models.SharingUsers.g.cs index c76b4d9..9405b49 100644 --- a/src/libs/Instill/Generated/Instill.Models.SharingUsers.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.SharingUsers.g.cs @@ -76,5 +76,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::Instill.SharingUsers), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.SharingUsers; + } + + /// + /// 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/Instill/Generated/Instill.Models.SimilarityChunk.g.cs b/src/libs/Instill/Generated/Instill.Models.SimilarityChunk.g.cs index 19f3ea7..6dde210 100644 --- a/src/libs/Instill/Generated/Instill.Models.SimilarityChunk.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.SimilarityChunk.g.cs @@ -101,5 +101,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::Instill.SimilarityChunk), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.SimilarityChunk; + } + + /// + /// 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/Instill/Generated/Instill.Models.SimilarityChunksSearchBody.g.cs b/src/libs/Instill/Generated/Instill.Models.SimilarityChunksSearchBody.g.cs index c88d269..5b687ca 100644 --- a/src/libs/Instill/Generated/Instill.Models.SimilarityChunksSearchBody.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.SimilarityChunksSearchBody.g.cs @@ -83,5 +83,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::Instill.SimilarityChunksSearchBody), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.SimilarityChunksSearchBody; + } + + /// + /// 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/Instill/Generated/Instill.Models.SimilarityChunksSearchResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.SimilarityChunksSearchResponse.g.cs index 456174a..fcf7597 100644 --- a/src/libs/Instill/Generated/Instill.Models.SimilarityChunksSearchResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.SimilarityChunksSearchResponse.g.cs @@ -77,5 +77,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::Instill.SimilarityChunksSearchResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.SimilarityChunksSearchResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.SimilarityChunksSearchResponse2.g.cs b/src/libs/Instill/Generated/Instill.Models.SimilarityChunksSearchResponse2.g.cs index e167e9f..d4811c3 100644 --- a/src/libs/Instill/Generated/Instill.Models.SimilarityChunksSearchResponse2.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.SimilarityChunksSearchResponse2.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::Instill.SimilarityChunksSearchResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.SimilarityChunksSearchResponse2; + } + + /// + /// 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/Instill/Generated/Instill.Models.SourceFile.g.cs b/src/libs/Instill/Generated/Instill.Models.SourceFile.g.cs index eaea147..d32d862 100644 --- a/src/libs/Instill/Generated/Instill.Models.SourceFile.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.SourceFile.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::Instill.SourceFile), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.SourceFile; + } + + /// + /// 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/Instill/Generated/Instill.Models.Spec.g.cs b/src/libs/Instill/Generated/Instill.Models.Spec.g.cs index 7886af4..adfa1cf 100644 --- a/src/libs/Instill/Generated/Instill.Models.Spec.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.Spec.g.cs @@ -86,5 +86,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::Instill.Spec), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.Spec; + } + + /// + /// 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/Instill/Generated/Instill.Models.SpecComponentSpecification.g.cs b/src/libs/Instill/Generated/Instill.Models.SpecComponentSpecification.g.cs index a0376ee..06bd25f 100644 --- a/src/libs/Instill/Generated/Instill.Models.SpecComponentSpecification.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.SpecComponentSpecification.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::Instill.SpecComponentSpecification), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.SpecComponentSpecification; + } + + /// + /// 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/Instill/Generated/Instill.Models.SpecDataSpecifications.g.cs b/src/libs/Instill/Generated/Instill.Models.SpecDataSpecifications.g.cs index 429d52d..cc4e7a1 100644 --- a/src/libs/Instill/Generated/Instill.Models.SpecDataSpecifications.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.SpecDataSpecifications.g.cs @@ -73,5 +73,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::Instill.SpecDataSpecifications), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.SpecDataSpecifications; + } + + /// + /// 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/Instill/Generated/Instill.Models.StripeSubscriptionDetail.g.cs b/src/libs/Instill/Generated/Instill.Models.StripeSubscriptionDetail.g.cs index 43f7a65..8b78bb5 100644 --- a/src/libs/Instill/Generated/Instill.Models.StripeSubscriptionDetail.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.StripeSubscriptionDetail.g.cs @@ -128,5 +128,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::Instill.StripeSubscriptionDetail), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.StripeSubscriptionDetail; + } + + /// + /// 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/Instill/Generated/Instill.Models.SubtractCreditAdminResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.SubtractCreditAdminResponse.g.cs index c7b62c0..fcf44a0 100644 --- a/src/libs/Instill/Generated/Instill.Models.SubtractCreditAdminResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.SubtractCreditAdminResponse.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::Instill.SubtractCreditAdminResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.SubtractCreditAdminResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.TestNamespaceConnectionResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.TestNamespaceConnectionResponse.g.cs index 13918c7..f9ab4a1 100644 --- a/src/libs/Instill/Generated/Instill.Models.TestNamespaceConnectionResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.TestNamespaceConnectionResponse.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::Instill.TestNamespaceConnectionResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.TestNamespaceConnectionResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.Text.g.cs b/src/libs/Instill/Generated/Instill.Models.Text.g.cs index c312962..7476de8 100644 --- a/src/libs/Instill/Generated/Instill.Models.Text.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.Text.g.cs @@ -101,5 +101,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::Instill.Text), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.Text; + } + + /// + /// 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/Instill/Generated/Instill.Models.Trace.g.cs b/src/libs/Instill/Generated/Instill.Models.Trace.g.cs index 6711a18..5f1edf3 100644 --- a/src/libs/Instill/Generated/Instill.Models.Trace.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.Trace.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::Instill.Trace), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.Trace; + } + + /// + /// 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/Instill/Generated/Instill.Models.TraceError.g.cs b/src/libs/Instill/Generated/Instill.Models.TraceError.g.cs index 64aeb37..ae8f4b2 100644 --- a/src/libs/Instill/Generated/Instill.Models.TraceError.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.TraceError.g.cs @@ -73,5 +73,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::Instill.TraceError), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.TraceError; + } + + /// + /// 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/Instill/Generated/Instill.Models.TraceInput.g.cs b/src/libs/Instill/Generated/Instill.Models.TraceInput.g.cs index de87924..fe642b0 100644 --- a/src/libs/Instill/Generated/Instill.Models.TraceInput.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.TraceInput.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::Instill.TraceInput), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.TraceInput; + } + + /// + /// 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/Instill/Generated/Instill.Models.TraceOutput.g.cs b/src/libs/Instill/Generated/Instill.Models.TraceOutput.g.cs index f7ac099..9c80503 100644 --- a/src/libs/Instill/Generated/Instill.Models.TraceOutput.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.TraceOutput.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::Instill.TraceOutput), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.TraceOutput; + } + + /// + /// 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/Instill/Generated/Instill.Models.TriggerAsyncNamespaceLatestModelBody.g.cs b/src/libs/Instill/Generated/Instill.Models.TriggerAsyncNamespaceLatestModelBody.g.cs index d7d4187..92a672c 100644 --- a/src/libs/Instill/Generated/Instill.Models.TriggerAsyncNamespaceLatestModelBody.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.TriggerAsyncNamespaceLatestModelBody.g.cs @@ -79,5 +79,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::Instill.TriggerAsyncNamespaceLatestModelBody), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.TriggerAsyncNamespaceLatestModelBody; + } + + /// + /// 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/Instill/Generated/Instill.Models.TriggerAsyncNamespaceLatestModelBodyTaskInput.g.cs b/src/libs/Instill/Generated/Instill.Models.TriggerAsyncNamespaceLatestModelBodyTaskInput.g.cs index 13902db..421f88c 100644 --- a/src/libs/Instill/Generated/Instill.Models.TriggerAsyncNamespaceLatestModelBodyTaskInput.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.TriggerAsyncNamespaceLatestModelBodyTaskInput.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::Instill.TriggerAsyncNamespaceLatestModelBodyTaskInput), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.TriggerAsyncNamespaceLatestModelBodyTaskInput; + } + + /// + /// 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/Instill/Generated/Instill.Models.TriggerAsyncNamespaceLatestModelResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.TriggerAsyncNamespaceLatestModelResponse.g.cs index eb028f4..fdaafbf 100644 --- a/src/libs/Instill/Generated/Instill.Models.TriggerAsyncNamespaceLatestModelResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.TriggerAsyncNamespaceLatestModelResponse.g.cs @@ -79,5 +79,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::Instill.TriggerAsyncNamespaceLatestModelResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.TriggerAsyncNamespaceLatestModelResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.TriggerAsyncNamespaceModelBody.g.cs b/src/libs/Instill/Generated/Instill.Models.TriggerAsyncNamespaceModelBody.g.cs index cf90b29..f74df6b 100644 --- a/src/libs/Instill/Generated/Instill.Models.TriggerAsyncNamespaceModelBody.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.TriggerAsyncNamespaceModelBody.g.cs @@ -79,5 +79,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::Instill.TriggerAsyncNamespaceModelBody), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.TriggerAsyncNamespaceModelBody; + } + + /// + /// 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/Instill/Generated/Instill.Models.TriggerAsyncNamespaceModelBodyTaskInput.g.cs b/src/libs/Instill/Generated/Instill.Models.TriggerAsyncNamespaceModelBodyTaskInput.g.cs index 51c9ab5..206734c 100644 --- a/src/libs/Instill/Generated/Instill.Models.TriggerAsyncNamespaceModelBodyTaskInput.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.TriggerAsyncNamespaceModelBodyTaskInput.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::Instill.TriggerAsyncNamespaceModelBodyTaskInput), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.TriggerAsyncNamespaceModelBodyTaskInput; + } + + /// + /// 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/Instill/Generated/Instill.Models.TriggerAsyncNamespaceModelResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.TriggerAsyncNamespaceModelResponse.g.cs index 0189f73..18bd586 100644 --- a/src/libs/Instill/Generated/Instill.Models.TriggerAsyncNamespaceModelResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.TriggerAsyncNamespaceModelResponse.g.cs @@ -79,5 +79,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::Instill.TriggerAsyncNamespaceModelResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.TriggerAsyncNamespaceModelResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.TriggerAsyncNamespacePipelineBody.g.cs b/src/libs/Instill/Generated/Instill.Models.TriggerAsyncNamespacePipelineBody.g.cs index 3547849..818cbed 100644 --- a/src/libs/Instill/Generated/Instill.Models.TriggerAsyncNamespacePipelineBody.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.TriggerAsyncNamespacePipelineBody.g.cs @@ -84,5 +84,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::Instill.TriggerAsyncNamespacePipelineBody), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.TriggerAsyncNamespacePipelineBody; + } + + /// + /// 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/Instill/Generated/Instill.Models.TriggerAsyncNamespacePipelineBodyInput.g.cs b/src/libs/Instill/Generated/Instill.Models.TriggerAsyncNamespacePipelineBodyInput.g.cs index a894e10..3c02ecd 100644 --- a/src/libs/Instill/Generated/Instill.Models.TriggerAsyncNamespacePipelineBodyInput.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.TriggerAsyncNamespacePipelineBodyInput.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::Instill.TriggerAsyncNamespacePipelineBodyInput), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.TriggerAsyncNamespacePipelineBodyInput; + } + + /// + /// 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/Instill/Generated/Instill.Models.TriggerAsyncNamespacePipelineReleaseBody.g.cs b/src/libs/Instill/Generated/Instill.Models.TriggerAsyncNamespacePipelineReleaseBody.g.cs index 94b9eaf..7bec752 100644 --- a/src/libs/Instill/Generated/Instill.Models.TriggerAsyncNamespacePipelineReleaseBody.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.TriggerAsyncNamespacePipelineReleaseBody.g.cs @@ -84,5 +84,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::Instill.TriggerAsyncNamespacePipelineReleaseBody), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.TriggerAsyncNamespacePipelineReleaseBody; + } + + /// + /// 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/Instill/Generated/Instill.Models.TriggerAsyncNamespacePipelineReleaseBodyInput.g.cs b/src/libs/Instill/Generated/Instill.Models.TriggerAsyncNamespacePipelineReleaseBodyInput.g.cs index 4d145c2..af5d90e 100644 --- a/src/libs/Instill/Generated/Instill.Models.TriggerAsyncNamespacePipelineReleaseBodyInput.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.TriggerAsyncNamespacePipelineReleaseBodyInput.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::Instill.TriggerAsyncNamespacePipelineReleaseBodyInput), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.TriggerAsyncNamespacePipelineReleaseBodyInput; + } + + /// + /// 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/Instill/Generated/Instill.Models.TriggerAsyncNamespacePipelineReleaseResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.TriggerAsyncNamespacePipelineReleaseResponse.g.cs index 49cd971..e93c0d0 100644 --- a/src/libs/Instill/Generated/Instill.Models.TriggerAsyncNamespacePipelineReleaseResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.TriggerAsyncNamespacePipelineReleaseResponse.g.cs @@ -79,5 +79,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::Instill.TriggerAsyncNamespacePipelineReleaseResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.TriggerAsyncNamespacePipelineReleaseResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.TriggerAsyncNamespacePipelineResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.TriggerAsyncNamespacePipelineResponse.g.cs index 0a11b29..5df2480 100644 --- a/src/libs/Instill/Generated/Instill.Models.TriggerAsyncNamespacePipelineResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.TriggerAsyncNamespacePipelineResponse.g.cs @@ -79,5 +79,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::Instill.TriggerAsyncNamespacePipelineResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.TriggerAsyncNamespacePipelineResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.TriggerData.g.cs b/src/libs/Instill/Generated/Instill.Models.TriggerData.g.cs index 5148138..142cd97 100644 --- a/src/libs/Instill/Generated/Instill.Models.TriggerData.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.TriggerData.g.cs @@ -83,5 +83,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::Instill.TriggerData), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.TriggerData; + } + + /// + /// 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/Instill/Generated/Instill.Models.TriggerDataSecret.g.cs b/src/libs/Instill/Generated/Instill.Models.TriggerDataSecret.g.cs index e2d52ab..d2903e1 100644 --- a/src/libs/Instill/Generated/Instill.Models.TriggerDataSecret.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.TriggerDataSecret.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::Instill.TriggerDataSecret), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.TriggerDataSecret; + } + + /// + /// 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/Instill/Generated/Instill.Models.TriggerDataVariable.g.cs b/src/libs/Instill/Generated/Instill.Models.TriggerDataVariable.g.cs index 9cd7904..fc6505e 100644 --- a/src/libs/Instill/Generated/Instill.Models.TriggerDataVariable.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.TriggerDataVariable.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::Instill.TriggerDataVariable), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.TriggerDataVariable; + } + + /// + /// 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/Instill/Generated/Instill.Models.TriggerMetadata.g.cs b/src/libs/Instill/Generated/Instill.Models.TriggerMetadata.g.cs index af24200..7f43e10 100644 --- a/src/libs/Instill/Generated/Instill.Models.TriggerMetadata.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.TriggerMetadata.g.cs @@ -79,5 +79,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::Instill.TriggerMetadata), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.TriggerMetadata; + } + + /// + /// 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/Instill/Generated/Instill.Models.TriggerMetadataTraces.g.cs b/src/libs/Instill/Generated/Instill.Models.TriggerMetadataTraces.g.cs index a9e014e..e27c2eb 100644 --- a/src/libs/Instill/Generated/Instill.Models.TriggerMetadataTraces.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.TriggerMetadataTraces.g.cs @@ -74,5 +74,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::Instill.TriggerMetadataTraces), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.TriggerMetadataTraces; + } + + /// + /// 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/Instill/Generated/Instill.Models.TriggerNamespaceLatestModelBinaryFileUploadResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.TriggerNamespaceLatestModelBinaryFileUploadResponse.g.cs index a6a7955..a98f5c9 100644 --- a/src/libs/Instill/Generated/Instill.Models.TriggerNamespaceLatestModelBinaryFileUploadResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.TriggerNamespaceLatestModelBinaryFileUploadResponse.g.cs @@ -87,5 +87,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::Instill.TriggerNamespaceLatestModelBinaryFileUploadResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.TriggerNamespaceLatestModelBinaryFileUploadResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.TriggerNamespaceLatestModelBinaryFileUploadResponseTaskOutput.g.cs b/src/libs/Instill/Generated/Instill.Models.TriggerNamespaceLatestModelBinaryFileUploadResponseTaskOutput.g.cs index 0414855..a0a7e5c 100644 --- a/src/libs/Instill/Generated/Instill.Models.TriggerNamespaceLatestModelBinaryFileUploadResponseTaskOutput.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.TriggerNamespaceLatestModelBinaryFileUploadResponseTaskOutput.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::Instill.TriggerNamespaceLatestModelBinaryFileUploadResponseTaskOutput), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.TriggerNamespaceLatestModelBinaryFileUploadResponseTaskOutput; + } + + /// + /// 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/Instill/Generated/Instill.Models.TriggerNamespaceLatestModelBody.g.cs b/src/libs/Instill/Generated/Instill.Models.TriggerNamespaceLatestModelBody.g.cs index c52fd5c..f9207e3 100644 --- a/src/libs/Instill/Generated/Instill.Models.TriggerNamespaceLatestModelBody.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.TriggerNamespaceLatestModelBody.g.cs @@ -79,5 +79,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::Instill.TriggerNamespaceLatestModelBody), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.TriggerNamespaceLatestModelBody; + } + + /// + /// 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/Instill/Generated/Instill.Models.TriggerNamespaceLatestModelBodyTaskInput.g.cs b/src/libs/Instill/Generated/Instill.Models.TriggerNamespaceLatestModelBodyTaskInput.g.cs index acff7e9..cec8c9a 100644 --- a/src/libs/Instill/Generated/Instill.Models.TriggerNamespaceLatestModelBodyTaskInput.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.TriggerNamespaceLatestModelBodyTaskInput.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::Instill.TriggerNamespaceLatestModelBodyTaskInput), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.TriggerNamespaceLatestModelBodyTaskInput; + } + + /// + /// 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/Instill/Generated/Instill.Models.TriggerNamespaceLatestModelResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.TriggerNamespaceLatestModelResponse.g.cs index 1023a2d..a276358 100644 --- a/src/libs/Instill/Generated/Instill.Models.TriggerNamespaceLatestModelResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.TriggerNamespaceLatestModelResponse.g.cs @@ -86,5 +86,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::Instill.TriggerNamespaceLatestModelResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.TriggerNamespaceLatestModelResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.TriggerNamespaceLatestModelResponseTaskOutput.g.cs b/src/libs/Instill/Generated/Instill.Models.TriggerNamespaceLatestModelResponseTaskOutput.g.cs index bef56a3..34707ec 100644 --- a/src/libs/Instill/Generated/Instill.Models.TriggerNamespaceLatestModelResponseTaskOutput.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.TriggerNamespaceLatestModelResponseTaskOutput.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::Instill.TriggerNamespaceLatestModelResponseTaskOutput), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.TriggerNamespaceLatestModelResponseTaskOutput; + } + + /// + /// 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/Instill/Generated/Instill.Models.TriggerNamespaceModelBinaryFileUploadResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.TriggerNamespaceModelBinaryFileUploadResponse.g.cs index fddb523..dcd6f85 100644 --- a/src/libs/Instill/Generated/Instill.Models.TriggerNamespaceModelBinaryFileUploadResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.TriggerNamespaceModelBinaryFileUploadResponse.g.cs @@ -86,5 +86,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::Instill.TriggerNamespaceModelBinaryFileUploadResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.TriggerNamespaceModelBinaryFileUploadResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.TriggerNamespaceModelBinaryFileUploadResponseTaskOutput.g.cs b/src/libs/Instill/Generated/Instill.Models.TriggerNamespaceModelBinaryFileUploadResponseTaskOutput.g.cs index 79c381e..eace48e 100644 --- a/src/libs/Instill/Generated/Instill.Models.TriggerNamespaceModelBinaryFileUploadResponseTaskOutput.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.TriggerNamespaceModelBinaryFileUploadResponseTaskOutput.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::Instill.TriggerNamespaceModelBinaryFileUploadResponseTaskOutput), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.TriggerNamespaceModelBinaryFileUploadResponseTaskOutput; + } + + /// + /// 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/Instill/Generated/Instill.Models.TriggerNamespaceModelBody.g.cs b/src/libs/Instill/Generated/Instill.Models.TriggerNamespaceModelBody.g.cs index c5c53cc..bc482bf 100644 --- a/src/libs/Instill/Generated/Instill.Models.TriggerNamespaceModelBody.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.TriggerNamespaceModelBody.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::Instill.TriggerNamespaceModelBody), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.TriggerNamespaceModelBody; + } + + /// + /// 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/Instill/Generated/Instill.Models.TriggerNamespaceModelBodyTaskInput.g.cs b/src/libs/Instill/Generated/Instill.Models.TriggerNamespaceModelBodyTaskInput.g.cs index 40e862d..dcf7687 100644 --- a/src/libs/Instill/Generated/Instill.Models.TriggerNamespaceModelBodyTaskInput.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.TriggerNamespaceModelBodyTaskInput.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::Instill.TriggerNamespaceModelBodyTaskInput), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.TriggerNamespaceModelBodyTaskInput; + } + + /// + /// 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/Instill/Generated/Instill.Models.TriggerNamespaceModelResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.TriggerNamespaceModelResponse.g.cs index eede483..f70a36c 100644 --- a/src/libs/Instill/Generated/Instill.Models.TriggerNamespaceModelResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.TriggerNamespaceModelResponse.g.cs @@ -86,5 +86,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::Instill.TriggerNamespaceModelResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.TriggerNamespaceModelResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.TriggerNamespaceModelResponseTaskOutput.g.cs b/src/libs/Instill/Generated/Instill.Models.TriggerNamespaceModelResponseTaskOutput.g.cs index 83a6f10..98b327d 100644 --- a/src/libs/Instill/Generated/Instill.Models.TriggerNamespaceModelResponseTaskOutput.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.TriggerNamespaceModelResponseTaskOutput.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::Instill.TriggerNamespaceModelResponseTaskOutput), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.TriggerNamespaceModelResponseTaskOutput; + } + + /// + /// 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/Instill/Generated/Instill.Models.TriggerNamespacePipelineBody.g.cs b/src/libs/Instill/Generated/Instill.Models.TriggerNamespacePipelineBody.g.cs index 43c93ff..95c1a7c 100644 --- a/src/libs/Instill/Generated/Instill.Models.TriggerNamespacePipelineBody.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.TriggerNamespacePipelineBody.g.cs @@ -86,5 +86,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::Instill.TriggerNamespacePipelineBody), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.TriggerNamespacePipelineBody; + } + + /// + /// 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/Instill/Generated/Instill.Models.TriggerNamespacePipelineBodyInput.g.cs b/src/libs/Instill/Generated/Instill.Models.TriggerNamespacePipelineBodyInput.g.cs index e06a091..26257ad 100644 --- a/src/libs/Instill/Generated/Instill.Models.TriggerNamespacePipelineBodyInput.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.TriggerNamespacePipelineBodyInput.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::Instill.TriggerNamespacePipelineBodyInput), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.TriggerNamespacePipelineBodyInput; + } + + /// + /// 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/Instill/Generated/Instill.Models.TriggerNamespacePipelineReleaseBody.g.cs b/src/libs/Instill/Generated/Instill.Models.TriggerNamespacePipelineReleaseBody.g.cs index 7afed2c..ad54971 100644 --- a/src/libs/Instill/Generated/Instill.Models.TriggerNamespacePipelineReleaseBody.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.TriggerNamespacePipelineReleaseBody.g.cs @@ -84,5 +84,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::Instill.TriggerNamespacePipelineReleaseBody), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.TriggerNamespacePipelineReleaseBody; + } + + /// + /// 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/Instill/Generated/Instill.Models.TriggerNamespacePipelineReleaseBodyInput.g.cs b/src/libs/Instill/Generated/Instill.Models.TriggerNamespacePipelineReleaseBodyInput.g.cs index 1471e9c..7922fd2 100644 --- a/src/libs/Instill/Generated/Instill.Models.TriggerNamespacePipelineReleaseBodyInput.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.TriggerNamespacePipelineReleaseBodyInput.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::Instill.TriggerNamespacePipelineReleaseBodyInput), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.TriggerNamespacePipelineReleaseBodyInput; + } + + /// + /// 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/Instill/Generated/Instill.Models.TriggerNamespacePipelineReleaseResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.TriggerNamespacePipelineReleaseResponse.g.cs index f9a1332..f23585c 100644 --- a/src/libs/Instill/Generated/Instill.Models.TriggerNamespacePipelineReleaseResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.TriggerNamespacePipelineReleaseResponse.g.cs @@ -86,5 +86,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::Instill.TriggerNamespacePipelineReleaseResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.TriggerNamespacePipelineReleaseResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.TriggerNamespacePipelineReleaseResponseOutput.g.cs b/src/libs/Instill/Generated/Instill.Models.TriggerNamespacePipelineReleaseResponseOutput.g.cs index d6e2488..3270e44 100644 --- a/src/libs/Instill/Generated/Instill.Models.TriggerNamespacePipelineReleaseResponseOutput.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.TriggerNamespacePipelineReleaseResponseOutput.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::Instill.TriggerNamespacePipelineReleaseResponseOutput), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.TriggerNamespacePipelineReleaseResponseOutput; + } + + /// + /// 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/Instill/Generated/Instill.Models.TriggerNamespacePipelineResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.TriggerNamespacePipelineResponse.g.cs index e741c3b..e63fa64 100644 --- a/src/libs/Instill/Generated/Instill.Models.TriggerNamespacePipelineResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.TriggerNamespacePipelineResponse.g.cs @@ -86,5 +86,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::Instill.TriggerNamespacePipelineResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.TriggerNamespacePipelineResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.TriggerNamespacePipelineResponseOutput.g.cs b/src/libs/Instill/Generated/Instill.Models.TriggerNamespacePipelineResponseOutput.g.cs index 6b99c14..e13ff3d 100644 --- a/src/libs/Instill/Generated/Instill.Models.TriggerNamespacePipelineResponseOutput.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.TriggerNamespacePipelineResponseOutput.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::Instill.TriggerNamespacePipelineResponseOutput), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.TriggerNamespacePipelineResponseOutput; + } + + /// + /// 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/Instill/Generated/Instill.Models.TriggerNamespacePipelineWithStreamBody.g.cs b/src/libs/Instill/Generated/Instill.Models.TriggerNamespacePipelineWithStreamBody.g.cs index a7980f6..b41bf8a 100644 --- a/src/libs/Instill/Generated/Instill.Models.TriggerNamespacePipelineWithStreamBody.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.TriggerNamespacePipelineWithStreamBody.g.cs @@ -84,5 +84,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::Instill.TriggerNamespacePipelineWithStreamBody), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.TriggerNamespacePipelineWithStreamBody; + } + + /// + /// 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/Instill/Generated/Instill.Models.TriggerNamespacePipelineWithStreamBodyInput.g.cs b/src/libs/Instill/Generated/Instill.Models.TriggerNamespacePipelineWithStreamBodyInput.g.cs index e01bd91..f88254e 100644 --- a/src/libs/Instill/Generated/Instill.Models.TriggerNamespacePipelineWithStreamBodyInput.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.TriggerNamespacePipelineWithStreamBodyInput.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::Instill.TriggerNamespacePipelineWithStreamBodyInput), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.TriggerNamespacePipelineWithStreamBodyInput; + } + + /// + /// 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/Instill/Generated/Instill.Models.TriggerNamespacePipelineWithStreamResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.TriggerNamespacePipelineWithStreamResponse.g.cs index 129f5e7..7044dd1 100644 --- a/src/libs/Instill/Generated/Instill.Models.TriggerNamespacePipelineWithStreamResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.TriggerNamespacePipelineWithStreamResponse.g.cs @@ -86,5 +86,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::Instill.TriggerNamespacePipelineWithStreamResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.TriggerNamespacePipelineWithStreamResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.TriggerNamespacePipelineWithStreamResponseOutput.g.cs b/src/libs/Instill/Generated/Instill.Models.TriggerNamespacePipelineWithStreamResponseOutput.g.cs index 4c10e7a..a769933 100644 --- a/src/libs/Instill/Generated/Instill.Models.TriggerNamespacePipelineWithStreamResponseOutput.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.TriggerNamespacePipelineWithStreamResponseOutput.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::Instill.TriggerNamespacePipelineWithStreamResponseOutput), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.TriggerNamespacePipelineWithStreamResponseOutput; + } + + /// + /// 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/Instill/Generated/Instill.Models.UndeployNamespaceModelAdminResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.UndeployNamespaceModelAdminResponse.g.cs index aaa2134..b58838c 100644 --- a/src/libs/Instill/Generated/Instill.Models.UndeployNamespaceModelAdminResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.UndeployNamespaceModelAdminResponse.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::Instill.UndeployNamespaceModelAdminResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.UndeployNamespaceModelAdminResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.UndeployOrganizationModelAdminResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.UndeployOrganizationModelAdminResponse.g.cs index 9122dfd..b0a4716 100644 --- a/src/libs/Instill/Generated/Instill.Models.UndeployOrganizationModelAdminResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.UndeployOrganizationModelAdminResponse.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::Instill.UndeployOrganizationModelAdminResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.UndeployOrganizationModelAdminResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.UndeployUserModelAdminResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.UndeployUserModelAdminResponse.g.cs index 1166810..7e3d9af 100644 --- a/src/libs/Instill/Generated/Instill.Models.UndeployUserModelAdminResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.UndeployUserModelAdminResponse.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::Instill.UndeployUserModelAdminResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.UndeployUserModelAdminResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.UpdateAppBody.g.cs b/src/libs/Instill/Generated/Instill.Models.UpdateAppBody.g.cs index 45ca09c..aaba9e7 100644 --- a/src/libs/Instill/Generated/Instill.Models.UpdateAppBody.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.UpdateAppBody.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::Instill.UpdateAppBody), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.UpdateAppBody; + } + + /// + /// 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/Instill/Generated/Instill.Models.UpdateAppResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.UpdateAppResponse.g.cs index 3ad6a8b..cc83f6f 100644 --- a/src/libs/Instill/Generated/Instill.Models.UpdateAppResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.UpdateAppResponse.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::Instill.UpdateAppResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.UpdateAppResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.UpdateCatalogBody.g.cs b/src/libs/Instill/Generated/Instill.Models.UpdateCatalogBody.g.cs index d11f5c8..3b450c9 100644 --- a/src/libs/Instill/Generated/Instill.Models.UpdateCatalogBody.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.UpdateCatalogBody.g.cs @@ -83,5 +83,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::Instill.UpdateCatalogBody), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.UpdateCatalogBody; + } + + /// + /// 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/Instill/Generated/Instill.Models.UpdateCatalogResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.UpdateCatalogResponse.g.cs index ec8ca2f..ac59242 100644 --- a/src/libs/Instill/Generated/Instill.Models.UpdateCatalogResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.UpdateCatalogResponse.g.cs @@ -77,5 +77,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::Instill.UpdateCatalogResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.UpdateCatalogResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.UpdateCatalogResponse2.g.cs b/src/libs/Instill/Generated/Instill.Models.UpdateCatalogResponse2.g.cs index c349090..0e059cf 100644 --- a/src/libs/Instill/Generated/Instill.Models.UpdateCatalogResponse2.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.UpdateCatalogResponse2.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::Instill.UpdateCatalogResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.UpdateCatalogResponse2; + } + + /// + /// 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/Instill/Generated/Instill.Models.UpdateChunkBody.g.cs b/src/libs/Instill/Generated/Instill.Models.UpdateChunkBody.g.cs index f5cc5df..f38e1a9 100644 --- a/src/libs/Instill/Generated/Instill.Models.UpdateChunkBody.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.UpdateChunkBody.g.cs @@ -77,5 +77,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::Instill.UpdateChunkBody), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.UpdateChunkBody; + } + + /// + /// 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/Instill/Generated/Instill.Models.UpdateChunkResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.UpdateChunkResponse.g.cs index e72f7cc..8fe3e1e 100644 --- a/src/libs/Instill/Generated/Instill.Models.UpdateChunkResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.UpdateChunkResponse.g.cs @@ -77,5 +77,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::Instill.UpdateChunkResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.UpdateChunkResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.UpdateChunkResponse2.g.cs b/src/libs/Instill/Generated/Instill.Models.UpdateChunkResponse2.g.cs index ae33f8e..3a97f23 100644 --- a/src/libs/Instill/Generated/Instill.Models.UpdateChunkResponse2.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.UpdateChunkResponse2.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::Instill.UpdateChunkResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.UpdateChunkResponse2; + } + + /// + /// 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/Instill/Generated/Instill.Models.UpdateConversationBody.g.cs b/src/libs/Instill/Generated/Instill.Models.UpdateConversationBody.g.cs index 70573e6..f1e81a5 100644 --- a/src/libs/Instill/Generated/Instill.Models.UpdateConversationBody.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.UpdateConversationBody.g.cs @@ -89,5 +89,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::Instill.UpdateConversationBody), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.UpdateConversationBody; + } + + /// + /// 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/Instill/Generated/Instill.Models.UpdateConversationResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.UpdateConversationResponse.g.cs index 0aafb52..ccd9dfe 100644 --- a/src/libs/Instill/Generated/Instill.Models.UpdateConversationResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.UpdateConversationResponse.g.cs @@ -77,5 +77,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::Instill.UpdateConversationResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.UpdateConversationResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.UpdateMessageBody.g.cs b/src/libs/Instill/Generated/Instill.Models.UpdateMessageBody.g.cs index 87bb294..6d9cea4 100644 --- a/src/libs/Instill/Generated/Instill.Models.UpdateMessageBody.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.UpdateMessageBody.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::Instill.UpdateMessageBody), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.UpdateMessageBody; + } + + /// + /// 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/Instill/Generated/Instill.Models.UpdateMessageResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.UpdateMessageResponse.g.cs index 517bece..3ec0260 100644 --- a/src/libs/Instill/Generated/Instill.Models.UpdateMessageResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.UpdateMessageResponse.g.cs @@ -77,5 +77,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::Instill.UpdateMessageResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.UpdateMessageResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.UpdateNamespaceConnectionResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.UpdateNamespaceConnectionResponse.g.cs index 83b8cfd..ff7a6da 100644 --- a/src/libs/Instill/Generated/Instill.Models.UpdateNamespaceConnectionResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.UpdateNamespaceConnectionResponse.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::Instill.UpdateNamespaceConnectionResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.UpdateNamespaceConnectionResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.UpdateNamespaceModelResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.UpdateNamespaceModelResponse.g.cs index 01f8a27..8241217 100644 --- a/src/libs/Instill/Generated/Instill.Models.UpdateNamespaceModelResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.UpdateNamespaceModelResponse.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::Instill.UpdateNamespaceModelResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.UpdateNamespaceModelResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.UpdateNamespacePipelineReleaseResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.UpdateNamespacePipelineReleaseResponse.g.cs index 5ee13fa..a055ed1 100644 --- a/src/libs/Instill/Generated/Instill.Models.UpdateNamespacePipelineReleaseResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.UpdateNamespacePipelineReleaseResponse.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::Instill.UpdateNamespacePipelineReleaseResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.UpdateNamespacePipelineReleaseResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.UpdateNamespacePipelineResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.UpdateNamespacePipelineResponse.g.cs index c365fca..b755757 100644 --- a/src/libs/Instill/Generated/Instill.Models.UpdateNamespacePipelineResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.UpdateNamespacePipelineResponse.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::Instill.UpdateNamespacePipelineResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.UpdateNamespacePipelineResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.UpdateNamespaceSecretResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.UpdateNamespaceSecretResponse.g.cs index 86eca3b..f6f6888 100644 --- a/src/libs/Instill/Generated/Instill.Models.UpdateNamespaceSecretResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.UpdateNamespaceSecretResponse.g.cs @@ -77,5 +77,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::Instill.UpdateNamespaceSecretResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.UpdateNamespaceSecretResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.UpdateObjectResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.UpdateObjectResponse.g.cs index d0bdf80..b97da30 100644 --- a/src/libs/Instill/Generated/Instill.Models.UpdateObjectResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.UpdateObjectResponse.g.cs @@ -77,5 +77,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::Instill.UpdateObjectResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.UpdateObjectResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.UpdateOrganizationMembershipResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.UpdateOrganizationMembershipResponse.g.cs index 5ae936b..f9b3bf4 100644 --- a/src/libs/Instill/Generated/Instill.Models.UpdateOrganizationMembershipResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.UpdateOrganizationMembershipResponse.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::Instill.UpdateOrganizationMembershipResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.UpdateOrganizationMembershipResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.UpdateOrganizationMembershipResponse2.g.cs b/src/libs/Instill/Generated/Instill.Models.UpdateOrganizationMembershipResponse2.g.cs index c90996b..ec68df7 100644 --- a/src/libs/Instill/Generated/Instill.Models.UpdateOrganizationMembershipResponse2.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.UpdateOrganizationMembershipResponse2.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::Instill.UpdateOrganizationMembershipResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.UpdateOrganizationMembershipResponse2; + } + + /// + /// 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/Instill/Generated/Instill.Models.UpdateOrganizationResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.UpdateOrganizationResponse.g.cs index 2748977..6fc66f2 100644 --- a/src/libs/Instill/Generated/Instill.Models.UpdateOrganizationResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.UpdateOrganizationResponse.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::Instill.UpdateOrganizationResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.UpdateOrganizationResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.UpdateOrganizationResponse2.g.cs b/src/libs/Instill/Generated/Instill.Models.UpdateOrganizationResponse2.g.cs index 074ec32..405e835 100644 --- a/src/libs/Instill/Generated/Instill.Models.UpdateOrganizationResponse2.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.UpdateOrganizationResponse2.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::Instill.UpdateOrganizationResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.UpdateOrganizationResponse2; + } + + /// + /// 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/Instill/Generated/Instill.Models.UpdateUserMembershipResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.UpdateUserMembershipResponse.g.cs index 0a99bbb..f9e7fc3 100644 --- a/src/libs/Instill/Generated/Instill.Models.UpdateUserMembershipResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.UpdateUserMembershipResponse.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::Instill.UpdateUserMembershipResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.UpdateUserMembershipResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.UpdateUserMembershipResponse2.g.cs b/src/libs/Instill/Generated/Instill.Models.UpdateUserMembershipResponse2.g.cs index ca39472..a85c3dc 100644 --- a/src/libs/Instill/Generated/Instill.Models.UpdateUserMembershipResponse2.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.UpdateUserMembershipResponse2.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::Instill.UpdateUserMembershipResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.UpdateUserMembershipResponse2; + } + + /// + /// 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/Instill/Generated/Instill.Models.UploadCatalogFileResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.UploadCatalogFileResponse.g.cs index 4ace83c..91fa021 100644 --- a/src/libs/Instill/Generated/Instill.Models.UploadCatalogFileResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.UploadCatalogFileResponse.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::Instill.UploadCatalogFileResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.UploadCatalogFileResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.UploadCatalogFileResponse2.g.cs b/src/libs/Instill/Generated/Instill.Models.UploadCatalogFileResponse2.g.cs index e05aae9..d852232 100644 --- a/src/libs/Instill/Generated/Instill.Models.UploadCatalogFileResponse2.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.UploadCatalogFileResponse2.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::Instill.UploadCatalogFileResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.UploadCatalogFileResponse2; + } + + /// + /// 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/Instill/Generated/Instill.Models.User.g.cs b/src/libs/Instill/Generated/Instill.Models.User.g.cs index 6e47734..aa2d10e 100644 --- a/src/libs/Instill/Generated/Instill.Models.User.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.User.g.cs @@ -118,5 +118,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::Instill.User), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.User; + } + + /// + /// 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/Instill/Generated/Instill.Models.UserMembership.g.cs b/src/libs/Instill/Generated/Instill.Models.UserMembership.g.cs index a635ad8..fa8fa5c 100644 --- a/src/libs/Instill/Generated/Instill.Models.UserMembership.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.UserMembership.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::Instill.UserMembership), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.UserMembership; + } + + /// + /// 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/Instill/Generated/Instill.Models.UserProfile.g.cs b/src/libs/Instill/Generated/Instill.Models.UserProfile.g.cs index 26090e0..d3c5b8b 100644 --- a/src/libs/Instill/Generated/Instill.Models.UserProfile.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.UserProfile.g.cs @@ -108,5 +108,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::Instill.UserProfile), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.UserProfile; + } + + /// + /// 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/Instill/Generated/Instill.Models.UserProfileSocialProfileLinks.g.cs b/src/libs/Instill/Generated/Instill.Models.UserProfileSocialProfileLinks.g.cs index e5a829b..4f95529 100644 --- a/src/libs/Instill/Generated/Instill.Models.UserProfileSocialProfileLinks.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.UserProfileSocialProfileLinks.g.cs @@ -73,5 +73,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::Instill.UserProfileSocialProfileLinks), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.UserProfileSocialProfileLinks; + } + + /// + /// 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/Instill/Generated/Instill.Models.UserSubscription.g.cs b/src/libs/Instill/Generated/Instill.Models.UserSubscription.g.cs index 03de5c8..e2c15af 100644 --- a/src/libs/Instill/Generated/Instill.Models.UserSubscription.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.UserSubscription.g.cs @@ -86,5 +86,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::Instill.UserSubscription), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.UserSubscription; + } + + /// + /// 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/Instill/Generated/Instill.Models.ValidateNamespacePipelineBody.g.cs b/src/libs/Instill/Generated/Instill.Models.ValidateNamespacePipelineBody.g.cs index 372713d..bb1e0ee 100644 --- a/src/libs/Instill/Generated/Instill.Models.ValidateNamespacePipelineBody.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ValidateNamespacePipelineBody.g.cs @@ -73,5 +73,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::Instill.ValidateNamespacePipelineBody), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ValidateNamespacePipelineBody; + } + + /// + /// 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/Instill/Generated/Instill.Models.ValidateNamespacePipelineResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ValidateNamespacePipelineResponse.g.cs index cabc058..210ec17 100644 --- a/src/libs/Instill/Generated/Instill.Models.ValidateNamespacePipelineResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ValidateNamespacePipelineResponse.g.cs @@ -84,5 +84,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::Instill.ValidateNamespacePipelineResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ValidateNamespacePipelineResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ValidateTokenResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.ValidateTokenResponse.g.cs index 2eb94eb..d64add2 100644 --- a/src/libs/Instill/Generated/Instill.Models.ValidateTokenResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ValidateTokenResponse.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::Instill.ValidateTokenResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ValidateTokenResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.ValidateTokenResponse2.g.cs b/src/libs/Instill/Generated/Instill.Models.ValidateTokenResponse2.g.cs index efb6b3f..4fdf59e 100644 --- a/src/libs/Instill/Generated/Instill.Models.ValidateTokenResponse2.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.ValidateTokenResponse2.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::Instill.ValidateTokenResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.ValidateTokenResponse2; + } + + /// + /// 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/Instill/Generated/Instill.Models.WatchNamespaceLatestModelResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.WatchNamespaceLatestModelResponse.g.cs index 3b7ed84..13754c3 100644 --- a/src/libs/Instill/Generated/Instill.Models.WatchNamespaceLatestModelResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.WatchNamespaceLatestModelResponse.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::Instill.WatchNamespaceLatestModelResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.WatchNamespaceLatestModelResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.WatchNamespaceModelResponse.g.cs b/src/libs/Instill/Generated/Instill.Models.WatchNamespaceModelResponse.g.cs index 287624b..a585eec 100644 --- a/src/libs/Instill/Generated/Instill.Models.WatchNamespaceModelResponse.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.WatchNamespaceModelResponse.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::Instill.WatchNamespaceModelResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.WatchNamespaceModelResponse; + } + + /// + /// 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/Instill/Generated/Instill.Models.WebhookEndpoint.g.cs b/src/libs/Instill/Generated/Instill.Models.WebhookEndpoint.g.cs index 552e627..03f96ae 100644 --- a/src/libs/Instill/Generated/Instill.Models.WebhookEndpoint.g.cs +++ b/src/libs/Instill/Generated/Instill.Models.WebhookEndpoint.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::Instill.WebhookEndpoint), + jsonSerializerContext).ConfigureAwait(false)) as global::Instill.WebhookEndpoint; + } + + /// + /// 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