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